ruby-facter/ruby-facter.spec

78 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: ruby-facter
Version: 4.2.4
Release: 1mamba
Summary: A library for collecting facts about your system
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://puppet.com/
Source: https://rubygems.org/downloads/facter-%{version}.gem
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: ruby-devel >= 2.5.1
Requires: ruby >= 2.5.1
%description
A library for collecting facts about your system.
%prep
%setup -q -c %{name}-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies -i "%{buildroot}$gemdir" \
-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
%dir %{_libdir}/ruby/gems/*/doc/facter-%{version}
%{_libdir}/ruby/gems/*/doc/facter-%{version}/*
%changelog
* Fri Sep 17 2021 Automatic Build System <autodist@mambasoft.it> 4.2.4-1mamba
- automatic version update by autodist
* Fri Aug 20 2021 Automatic Build System <autodist@mambasoft.it> 4.2.3-1mamba
- automatic version update by autodist
* Thu Jul 08 2021 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
- automatic version update by autodist
* Thu Jun 10 2021 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
- automatic version update by autodist
* Wed Jun 02 2021 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
- automatic version update by autodist
* Fri Apr 23 2021 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
- automatic version update by autodist
* Wed Apr 14 2021 Automatic Build System <autodist@mambasoft.it> 4.1.0-1mamba
- automatic version update by autodist
* Wed Mar 17 2021 Automatic Build System <autodist@mambasoft.it> 4.0.52-1mamba
- automatic version update by autodist
* Sat Mar 06 2021 Automatic Build System <autodist@mambasoft.it> 4.0.51-1mamba
- automatic version update by autodist
* Tue Jul 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.1-1mamba
- update to 2.5.1
* Wed Dec 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.3-1mamba
- package created using the webbuild interface