Name: ruby-hiera Version: 1.3.0 Release: 1mamba Summary: A pluggable data store for hierarcical data Group: System/Management Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://projects.puppetlabs.com/projects/hiera/ Source: https://rubygems.org/downloads/hiera-%{version}.gem License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A pluggable data store for hierarcical data. %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}" rm -rf %{buildroot}${gemdir}/cache %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/hiera %{_libdir}/ruby/gems/*/specifications/hiera-1.3.0.gemspec %dir %{_libdir}/ruby/gems/*/gems/hiera-%{version} %{_libdir}/ruby/gems/*/gems/hiera-%{version}/* %changelog * Wed Dec 11 2013 Silvan Calarco 1.3.0-1mamba - package created using the webbuild interface