From: Elan Ruusamäe Date: Wed, 3 Apr 2013 19:57:31 +0000 (+0300) Subject: new, version 0.10.6 X-Git-Tag: auto/th/chef-11.4.4-1~9 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fchef.git;a=commitdiff_plain;h=e307965bfd8e1e3b17ef61f032978422465b13a4 new, version 0.10.6 --- e307965bfd8e1e3b17ef61f032978422465b13a4 diff --git a/chef.spec b/chef.spec new file mode 100644 index 0000000..a93db92 --- /dev/null +++ b/chef.spec @@ -0,0 +1,41 @@ +Summary: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure +Name: chef +Version: 0.10.6 +Release: 0.2 +License: Apache v2.0 +Group: Development/Languages +URL: http://wiki.opscode.com/display/chef +Source0: http://rubygems.org/downloads/%{name}-%{version}.gem +# Source0-md5: ea8746476a2ec37e1f8265a9febba6b9 +BuildRequires: rubygems +Requires: ruby >= 1:1.8.7 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +A systems integration framework, built to bring the benefits of +configuration management to your entire infrastructure. + +%prep +%setup -qc +%{__tar} xf %{SOURCE0} -O data.tar.gz | %{__tar} xz +find -newer README.rdoc -o -print | xargs touch --reference %{SOURCE0} + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{_bindir}} + +cp -a bin/* $RPM_BUILD_ROOT%{_bindir} +cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir} + +%files +%defattr(644,root,root,755) +%doc README.rdoc +%attr(755,root,root) %{_bindir}/chef-client +%attr(755,root,root) %{_bindir}/chef-solo +%attr(755,root,root) %{_bindir}/knife +%attr(755,root,root) %{_bindir}/shef +%{ruby_rubylibdir}/chef.rb +%{ruby_rubylibdir}/chef