/[packages]/cauldron/ruby-pkg-config/current/SPECS/ruby-pkg-config.spec
ViewVC logotype

Contents of /cauldron/ruby-pkg-config/current/SPECS/ruby-pkg-config.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48926 - (show annotations) (download)
Tue Feb 8 08:23:30 2011 UTC (11 years, 9 months ago) by shikamaru
File size: 1254 byte(s)
imported package ruby-pkg-config
1 %define oname pkg-config
2
3 Name: ruby-%{oname}
4 Version: 1.0.8
5 Release: %mkrel 1
6 Summary: A pkg-config implementation by Ruby
7 Group: Development/Ruby
8 License: LGPLv2.1
9 URL: http://github.com/rcairo/pkg-config
10 Source0: http://rubygems.org/gems/%{oname}-%{version}.gem
11 BuildRequires: rubygems
12 BuildRequires: rubygem(hoe) >= 2.6.1
13 BuildRequires: rubygem(rubyforge)
14 Requires: ruby(abi) = 1.8
15 BuildArch: noarch
16
17 %description
18 A pkg-config implementation by Ruby
19
20 %files
21 %defattr(-, root, root, -)
22 %dir %{ruby_gemdir}/gems/%{oname}-%{version}/
23 %{ruby_gemdir}/gems/%{oname}-%{version}/lib
24 %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec
25
26 #-------------------------------------------------------------------------------
27 %package doc
28 Summary: Documentation for %{name}
29 Group: Development/Ruby
30 Requires: %{name} = %{version}-%{release}
31
32 %description doc
33 Documents, Rdoc & RI documentation for %{name}.
34 %files doc
35 %defattr(-,root,root,-)
36 %doc %{ruby_gemdir}/doc/%{oname}-%{version}
37 #-------------------------------------------------------------------------------
38
39 %prep
40 %setup -q
41 tar xmf data.tar.gz
42
43 %build
44 %gem_build
45
46 %install
47 rm -rf %{buildroot}
48 %gem_install
49
50 %clean
51 rm -rf %{buildroot}
52

  ViewVC Help
Powered by ViewVC 1.1.28