package created using the webbuild interface [release 1.7.3-1mamba;Wed Dec 11 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 17:32:52 +01:00
parent 358f56fdc8
commit 783e47b37f
3 changed files with 47 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# ruby-facter
A library for collecting facts about your system.

BIN
facter-1.7.3.gem Normal file

Binary file not shown.

45
ruby-facter.spec Normal file
View File

@ -0,0 +1,45 @@
Name: ruby-facter
Version: 1.7.3
Release: 1mamba
Summary: A library for collecting facts about your system
Group: System/Managament
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://puppetlabs.com/
Source: https://rubygems.org/downloads/facter-%{version}.gem
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: ruby-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A library for collecting facts about your system.
%prep
%setup -q -c %{name}-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies -i "%{buildroot}$gemdir" \
--no-ri --no-rdoc -n "%{buildroot}/usr/bin" "%{SOURCE0}"
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/facter
%{_libdir}/ruby/gems/*/cache/facter-%{version}.gem
%dir %{_libdir}/ruby/gems/*/gems/facter-%{version}
%{_libdir}/ruby/gems/*/gems/facter-%{version}/*
%{_libdir}/ruby/gems/*/specifications/facter-%{version}.gemspec
%changelog
* Wed Dec 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.3-1mamba
- package created using the webbuild interface