[packages/chef] package manuals

glen glen at pld-linux.org
Tue Jun 25 08:44:46 CEST 2013


commit 958b507e751cfa2c758142a638e93bfad1438da7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jun 25 09:43:12 2013 +0300

    package manuals

 chef.spec | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)
---
diff --git a/chef.spec b/chef.spec
index 6bd830c..aef2791 100644
--- a/chef.spec
+++ b/chef.spec
@@ -74,10 +74,11 @@ rspec spec
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}} \
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir},%{_mandir}/man1} \
 	$RPM_BUILD_ROOT{%{_sysconfdir},/var/{cache,lib}}/%{name}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
 cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -a distro/common/man/* $RPM_BUILD_ROOT%{_mandir}
 
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/chef.rb
 
@@ -95,6 +96,30 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/chef-solo
 %attr(755,root,root) %{_bindir}/knife
 %attr(755,root,root) %{_bindir}/shef
+%{_mandir}/man1/chef-shell.1*
+%{_mandir}/man1/knife-bootstrap.1*
+%{_mandir}/man1/knife-client.1*
+%{_mandir}/man1/knife-configure.1*
+%{_mandir}/man1/knife-cookbook-site.1*
+%{_mandir}/man1/knife-cookbook.1*
+%{_mandir}/man1/knife-data-bag.1*
+%{_mandir}/man1/knife-environment.1*
+%{_mandir}/man1/knife-exec.1*
+%{_mandir}/man1/knife-index.1*
+%{_mandir}/man1/knife-node.1*
+%{_mandir}/man1/knife-role.1*
+%{_mandir}/man1/knife-search.1*
+%{_mandir}/man1/knife-ssh.1*
+%{_mandir}/man1/knife-status.1*
+%{_mandir}/man1/knife-tag.1*
+%{_mandir}/man1/knife.1*
+%{_mandir}/man8/chef-client.8*
+%{_mandir}/man8/chef-expander.8*
+%{_mandir}/man8/chef-expanderctl.8*
+%{_mandir}/man8/chef-server-webui.8*
+%{_mandir}/man8/chef-server.8*
+%{_mandir}/man8/chef-solo.8*
+%{_mandir}/man8/chef-solr.8*
 %{ruby_vendorlibdir}/chef.rb
 %{ruby_vendorlibdir}/chef
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chef.git/commitdiff/d261b5965ca89515f0a9f7b721d47d292e2f763f



More information about the pld-cvs-commit mailing list