ruby-hiera/ruby-hiera.spec

55 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: ruby-hiera
Version: 3.6.0
Release: 1mamba
Summary: A pluggable data store for hierarcical data
Group: System/Management
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://projects.puppetlabs.com/projects/hiera/
Source: https://rubygems.org/downloads/hiera-%{version}.gem
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: ruby >= 2.5.1
BuildRequires: ruby >= 2.5.1
%description
A pluggable data store for hierarcical data.
%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}"
rm -rf %{buildroot}${gemdir}/cache
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/hiera
%{_libdir}/ruby/gems/*/specifications/hiera-*.gemspec
%dir %{_libdir}/ruby/gems/*/gems/hiera-%{version}
%{_libdir}/ruby/gems/*/gems/hiera-%{version}/*
%dir %{_libdir}/ruby/gems/*/doc/hiera-%{version}
%{_libdir}/ruby/gems/*/doc/hiera-%{version}/*
%changelog
* Sat Mar 06 2021 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Tue Jul 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.3-1mamba
- update to 3.4.3
* Wed Dec 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- package created using the webbuild interface