]> git.pld-linux.org Git - packages/ruby-facter.git/blame - ruby-facter.spec
- renamed to ruby-facter, desc/summary from fedora
[packages/ruby-facter.git] / ruby-facter.spec
CommitLineData
7c741336
ER
1%define pkgname facter
2%define subver rc5
3%define rel 1
4Summary: Ruby module for collecting simple facts about a host operating system
5Name: ruby-%{pkgname}
6Version: 1.5.9
7Release: 0.%{subver}.%{rel}
879f7798
BZ
8License: GPL v2+
9Group: Networking/Admin
7c741336 10Source0: http://puppetlabs.com/downloads/facter/%{pkgname}-%{version}%{subver}.tar.gz
9a2e33d6 11# Source0-md5: 9fe23f971d2659122df387804bdff77a
9a2e33d6 12URL: http://www.puppetlabs.com/puppet/related-projects/facter/
879f7798 13BuildRequires: docutils
7c741336
ER
14BuildRequires: rpmbuild(macros) >= 1.484
15BuildRequires: ruby >= 1:1.8.6
16BuildRequires: ruby-modules
17Obsoletes: facter
18%{?ruby_mod_ver_requires_eq}
879f7798
BZ
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
7c741336
ER
21# nothing to be placed there. we're not noarch only because of ruby packaging
22%define _enable_debug_packages 0
879f7798 23
7c741336
ER
24%description
25Ruby module for collecting simple facts about a host Operating system.
26Some of the facts are preconfigured, such as the hostname and the
27operating system. Additional facts can be added through simple Ruby
28scripts
879f7798
BZ
29
30%prep
7c741336 31%setup -q -n %{pkgname}-%{version}%{subver}
879f7798
BZ
32
33%build
34
35%install
36rm -rf $RPM_BUILD_ROOT
37install -d $RPM_BUILD_ROOT%{ruby_sitelibdir}
7c741336
ER
38%{__ruby} install.rb \
39 --quick \
879f7798 40 --no-man \
7c741336 41 --no-rdoc \
879f7798
BZ
42 --destdir=$RPM_BUILD_ROOT
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
49%doc README TODO etc/facter.conf
50%attr(755,root,root) %{_bindir}/facter
51%{ruby_sitelibdir}/facter
52%{ruby_sitelibdir}/facter.rb
This page took 0.069318 seconds and 4 git commands to generate.