SPECS: libpaper.spec - env_update needs shell - more verbose files...

qboosh qboosh at pld-linux.org
Sat Jul 7 01:23:45 CEST 2007


Author: qboosh                       Date: Fri Jul  6 23:23:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- env_update needs shell
- more verbose files, man3 pages moved to -devel

---- Files affected:
SPECS:
   libpaper.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/libpaper.spec
diff -u SPECS/libpaper.spec:1.5 SPECS/libpaper.spec:1.6
--- SPECS/libpaper.spec:1.5	Thu Jul  5 10:00:41 2007
+++ SPECS/libpaper.spec	Sat Jul  7 01:23:40 2007
@@ -13,6 +13,7 @@
 BuildRequires:	automake
 BuildRequires:	libtool
 BuildRequires:	rpmbuild(macros) >= 1.316
+Requires(post,postun):	/sbin/ldconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -74,10 +75,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
+%post
+/sbin/ldconfig
 %env_update
 
-%postun	-p /sbin/ldconfig
+%postun
+/sbin/ldconfig
 %env_update
 
 %files
@@ -85,20 +88,23 @@
 %doc ChangeLog README
 %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
 %config(noreplace,missingok) %verify(not md5 mtime size) /etc/papersize
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_sbindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%{_mandir}/man[1358]/*
+%attr(755,root,root) %{_bindir}/paperconf
+%attr(755,root,root) %{_sbindir}/paperconfig
+%attr(755,root,root) %{_libdir}/libpaper.so.*.*.*
+%{_mandir}/man1/paperconf.1*
+%{_mandir}/man5/papersize.5*
+%{_mandir}/man8/paperconfig.8*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libpaper.so
+%{_libdir}/libpaper.la
 %{_includedir}/paper.h
+%{_mandir}/man3/*.3*
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libpaper.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -106,6 +112,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/07/06 23:23:40  qboosh
+- env_update needs shell
+- more verbose files, man3 pages moved to -devel
+
 Revision 1.5  2007/07/05 08:00:41  gotar
 - fixed env.d file
 
@@ -120,4 +130,3 @@
 
 Revision 1.1  2007/07/04 10:16:28  lisu
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libpaper.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list