SPECS: libconfuse.spec - packaged manpages, examples, documentation

maciek2w maciek2w at pld-linux.org
Sat Mar 11 00:23:06 CET 2006


Author: maciek2w                     Date: Fri Mar 10 23:23:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- packaged manpages, examples, documentation

---- Files affected:
SPECS:
   libconfuse.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libconfuse.spec
diff -u SPECS/libconfuse.spec:1.1 SPECS/libconfuse.spec:1.2
--- SPECS/libconfuse.spec:1.1	Fri Mar 10 23:53:40 2006
+++ SPECS/libconfuse.spec	Sat Mar 11 00:22:59 2006
@@ -99,6 +99,16 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_mandir}/man3
+install doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
+
+rm -rf examples/{ftpconf,reread,simple,*.o}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+
+install -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
+cp -a doc/{html,tutorial-html} $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
+
 %find_lang %{_name}
 
 %clean
@@ -117,6 +127,9 @@
 %{_libdir}/*.la
 %{_includedir}/*.h
 %{_pkgconfigdir}/*
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}
+%{_defaultdocdir}/%{name}
 
 %if %{with static_libs}
 %files static
@@ -130,6 +143,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/03/10 23:22:59  maciek2w
+- packaged manpages, examples, documentation
+
 Revision 1.1  2006/03/10 22:53:40  maciek2w
 - initial release
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libconfuse.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list