SPECS: rudiments.spec - created -static, cosmetics and fixes

glen glen at pld-linux.org
Tue Sep 12 14:51:34 CEST 2006


Author: glen                         Date: Tue Sep 12 12:51:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- created -static, cosmetics and fixes

---- Files affected:
SPECS:
   rudiments.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/rudiments.spec
diff -u SPECS/rudiments.spec:1.2 SPECS/rudiments.spec:1.3
--- SPECS/rudiments.spec:1.2	Tue Sep 12 08:41:16 2006
+++ SPECS/rudiments.spec	Tue Sep 12 14:51:28 2006
@@ -1,10 +1,8 @@
 # $Revision$, $Date$
-# TODO
-# - -static
 Summary:	C++ class library for daemons, clients and servers
 Name:		rudiments
 Version:	0.29
-Release:	0.1
+Release:	0.4
 License:	LGPL
 Group:		Development/Libraries
 Source0:	http://dl.sourceforge.net/rudiments/%{name}-%{version}.tar.gz
@@ -21,11 +19,20 @@
 expressions, semaphores and signal handling.
 
 %package devel
-Summary:	Libraries and header files for developing with rudiments
+Summary:	Libraries and header files for developing rudiments
 Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
 
 %description devel
-Libraries and header files for developing with rudiments.
+Libraries and header files for developing rudiments.
+
+%package static
+Summary:	static librarires for developing rudiments
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+static libraries files for developing rudiments.
 
 %package doc
 Summary:	Documentation for rudiments
@@ -51,9 +58,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/librudiments-*.so.*
+%attr(755,root,root) %{_libdir}/librudiments-*.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
@@ -61,11 +71,14 @@
 %{_libdir}/*.so
 %attr(755,root,root) %{_bindir}/rudiments-config
 %{_pkgconfigdir}/rudiments.pc
+
+%files static
+%defattr(644,root,root,755)
 %{_libdir}/*.a
 
 %files doc
 %defattr(644,root,root,755)
-%{_docdir}/
+%{_docdir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -73,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/09/12 12:51:28  glen
+- created -static, cosmetics and fixes
+
 Revision 1.2  2006/09/12 06:41:16  glen
 - BR openssl, pcre
 
================================================================

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



More information about the pld-cvs-commit mailing list