diff --git a/README.md b/README.md index 7b030f1..d3b9210 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ruby-hiera +A pluggable data store for hierarcical data. + diff --git a/hiera-1.3.0.gem b/hiera-1.3.0.gem new file mode 100644 index 0000000..28c5f4c Binary files /dev/null and b/hiera-1.3.0.gem differ diff --git a/ruby-hiera.spec b/ruby-hiera.spec new file mode 100644 index 0000000..42a2ec5 --- /dev/null +++ b/ruby-hiera.spec @@ -0,0 +1,45 @@ +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