]> git.pld-linux.org Git - packages/chef.git/blame - chef.spec
update packaging
[packages/chef.git] / chef.spec
CommitLineData
bce16be1
ER
1# TODO
2# - try not to use /var/chef
e307965b
ER
3Summary: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure
4Name: chef
5Version: 0.10.6
303651f6 6Release: 0.4
e307965b
ER
7License: Apache v2.0
8Group: Development/Languages
9URL: http://wiki.opscode.com/display/chef
10Source0: http://rubygems.org/downloads/%{name}-%{version}.gem
11# Source0-md5: ea8746476a2ec37e1f8265a9febba6b9
303651f6
ER
12BuildRequires: rpm-rubyprov
13BuildRequires: rpmbuild(macros) >= 1.656
e307965b 14Requires: ruby >= 1:1.8.7
bce16be1
ER
15Requires: ruby-bunny >= 0.6.0
16Requires: ruby-erubis
17Requires: ruby-mixlib-authentication >= 1.1.0
18Requires: ruby-mixlib-config >= 1.1.2
19Requires: ruby-mixlib-log >= 1.3.0
20Requires: ruby-moneta
21Requires: ruby-ohai >= 0.6
22Requires: ruby-rubygems
23Requires: ruby-uuidtools
e307965b
ER
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28A systems integration framework, built to bring the benefits of
29configuration management to your entire infrastructure.
30
31%prep
303651f6 32%setup -q
e307965b
ER
33
34%install
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{_bindir}}
37
38cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
39cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
40
303651f6
ER
41install -d $RPM_BUILD_ROOT{%{_sysconfdir},/var}/%{name}
42
bce16be1
ER
43%clean
44rm -rf $RPM_BUILD_ROOT
45
e307965b
ER
46%files
47%defattr(644,root,root,755)
48%doc README.rdoc
303651f6 49%dir %{_sysconfdir}/%{name}
e307965b
ER
50%attr(755,root,root) %{_bindir}/chef-client
51%attr(755,root,root) %{_bindir}/chef-solo
52%attr(755,root,root) %{_bindir}/knife
53%attr(755,root,root) %{_bindir}/shef
54%{ruby_rubylibdir}/chef.rb
55%{ruby_rubylibdir}/chef
303651f6
ER
56
57# FIXME: FHS
58%dir /var/%{name}
This page took 0.063652 seconds and 4 git commands to generate.