]>
Commit | Line | Data |
---|---|---|
e307965b ER |
1 | Summary: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure |
2 | Name: chef | |
3 | Version: 0.10.6 | |
4 | Release: 0.2 | |
5 | License: Apache v2.0 | |
6 | Group: Development/Languages | |
7 | URL: http://wiki.opscode.com/display/chef | |
8 | Source0: http://rubygems.org/downloads/%{name}-%{version}.gem | |
9 | # Source0-md5: ea8746476a2ec37e1f8265a9febba6b9 | |
10 | BuildRequires: rubygems | |
11 | Requires: ruby >= 1:1.8.7 | |
12 | BuildArch: noarch | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | A systems integration framework, built to bring the benefits of | |
17 | configuration management to your entire infrastructure. | |
18 | ||
19 | %prep | |
20 | %setup -qc | |
21 | %{__tar} xf %{SOURCE0} -O data.tar.gz | %{__tar} xz | |
22 | find -newer README.rdoc -o -print | xargs touch --reference %{SOURCE0} | |
23 | ||
24 | %build | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{_bindir}} | |
29 | ||
30 | cp -a bin/* $RPM_BUILD_ROOT%{_bindir} | |
31 | cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir} | |
32 | ||
33 | %files | |
34 | %defattr(644,root,root,755) | |
35 | %doc README.rdoc | |
36 | %attr(755,root,root) %{_bindir}/chef-client | |
37 | %attr(755,root,root) %{_bindir}/chef-solo | |
38 | %attr(755,root,root) %{_bindir}/knife | |
39 | %attr(755,root,root) %{_bindir}/shef | |
40 | %{ruby_rubylibdir}/chef.rb | |
41 | %{ruby_rubylibdir}/chef |