]> git.pld-linux.org Git - packages/chef.git/blame - chef.spec
R: lsb-release to identify as pld
[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
2a1bbc08 5Version: 11.4.0
97e7edae 6Release: 0.5
e307965b
ER
7License: Apache v2.0
8Group: Development/Languages
e307965b 9Source0: http://rubygems.org/downloads/%{name}-%{version}.gem
2a1bbc08
ER
10# Source0-md5: 1ebabd6fdeae44a99d5cb199c38adc15
11URL: http://wiki.opscode.com/display/chef
303651f6
ER
12BuildRequires: rpm-rubyprov
13BuildRequires: rpmbuild(macros) >= 1.656
97e7edae 14Requires: lsb-release
e307965b 15Requires: ruby >= 1:1.8.7
bce16be1 16Requires: ruby-erubis
2a1bbc08
ER
17Requires: ruby-highline >= 1.6.9
18Requires: ruby-json <= 1.7.7
19Requires: ruby-json >= 1.4.4
20Requires: ruby-mixlib-authentication >= 1.3.0
21Requires: ruby-mixlib-cli >= 1.3.0
bce16be1
ER
22Requires: ruby-mixlib-config >= 1.1.2
23Requires: ruby-mixlib-log >= 1.3.0
2a1bbc08
ER
24Requires: ruby-mixlib-shellout
25Requires: ruby-net-ssh >= 2.6
26Requires: ruby-net-ssh-multi >= 1.1.0
27Requires: ruby-ohai >= 0.6.0
28Requires: ruby-rest-client < 1.7.0
29Requires: ruby-rest-client >= 1.0.4
bce16be1 30Requires: ruby-rubygems
2a1bbc08 31Requires: ruby-yajl >= 1.1
e307965b
ER
32BuildArch: noarch
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36A systems integration framework, built to bring the benefits of
37configuration management to your entire infrastructure.
38
39%prep
303651f6 40%setup -q
e307965b
ER
41
42%install
43rm -rf $RPM_BUILD_ROOT
44install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{_bindir}}
e307965b
ER
45cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
46cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
47
303651f6
ER
48install -d $RPM_BUILD_ROOT{%{_sysconfdir},/var}/%{name}
49
bce16be1
ER
50%clean
51rm -rf $RPM_BUILD_ROOT
52
e307965b
ER
53%files
54%defattr(644,root,root,755)
2a1bbc08 55%doc README.md CONTRIBUTING.md
303651f6 56%dir %{_sysconfdir}/%{name}
2a1bbc08 57%attr(755,root,root) %{_bindir}/chef-apply
e307965b 58%attr(755,root,root) %{_bindir}/chef-client
2a1bbc08 59%attr(755,root,root) %{_bindir}/chef-shell
e307965b
ER
60%attr(755,root,root) %{_bindir}/chef-solo
61%attr(755,root,root) %{_bindir}/knife
62%attr(755,root,root) %{_bindir}/shef
63%{ruby_rubylibdir}/chef.rb
64%{ruby_rubylibdir}/chef
303651f6
ER
65
66# FIXME: FHS
67%dir /var/%{name}
This page took 0.111652 seconds and 4 git commands to generate.