packages: ruby-mustache/ruby-mustache.spec - install manpages

pawelz pawelz at pld-linux.org
Thu Jun 24 17:06:23 CEST 2010


Author: pawelz                       Date: Thu Jun 24 15:06:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- install manpages

---- Files affected:
packages/ruby-mustache:
   ruby-mustache.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/ruby-mustache/ruby-mustache.spec
diff -u packages/ruby-mustache/ruby-mustache.spec:1.2 packages/ruby-mustache/ruby-mustache.spec:1.3
--- packages/ruby-mustache/ruby-mustache.spec:1.2	Thu Jun 24 16:59:13 2010
+++ packages/ruby-mustache/ruby-mustache.spec	Thu Jun 24 17:06:15 2010
@@ -102,6 +102,13 @@
 ruby setup.rb install \
     --prefix=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5}
+mv $RPM_BUILD_ROOT%{_mandir}/{,man1/}%{pkgname}.1
+mv $RPM_BUILD_ROOT%{_mandir}/{,man5/}%{pkgname}.5
+
+# Remove HTML and source markdown files
+rm $RPM_BUILD_ROOT%{_mandir}/*.*.*
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -114,6 +121,8 @@
 %files -n mustache
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mustache
+%{_mandir}/man1/%{pkgname}.1*
+%{_mandir}/man5/%{pkgname}.5*
 
 %files rdoc
 %defattr(644,root,root,755)
@@ -130,6 +139,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/06/24 15:06:15  pawelz
+- install manpages
+
 Revision 1.2  2010/06/24 14:59:13  pawelz
 - well, C code works a bit better when it is compiled.
 - install /usr/bin/mustache
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ruby-mustache/ruby-mustache.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list