SPECS (LIBNL_PRE5): libnl.spec - add static lib

arekm arekm at pld-linux.org
Tue Feb 20 21:27:59 CET 2007


Author: arekm                        Date: Tue Feb 20 20:27:59 2007 GMT
Module: SPECS                         Tag: LIBNL_PRE5
---- Log message:
- add static lib

---- Files affected:
SPECS:
   libnl.spec (1.7 -> 1.7.2.1) 

---- Diffs:

================================================================
Index: SPECS/libnl.spec
diff -u SPECS/libnl.spec:1.7 SPECS/libnl.spec:1.7.2.1
--- SPECS/libnl.spec:1.7	Tue Oct 31 09:19:36 2006
+++ SPECS/libnl.spec	Tue Feb 20 21:27:54 2007
@@ -4,7 +4,7 @@
 Name:		libnl
 Version:	1.0
 %define pre pre5
-Release:	0.%{pre}.2
+Release:	0.%{pre}.3
 License:	LGPL v2.1
 Group:		Libraries
 Source0:	http://people.suug.ch/~tgr/libnl/files/%{name}-%{version}-%{pre}.tar.gz
@@ -12,6 +12,7 @@
 Source1:	%{name}-1.pc
 Patch0:		%{name}-no_root.patch
 Patch1:		%{name}-llh.patch
+Patch2:		%{name}-static.patch
 URL:		http://people.suug.ch/~tgr/libnl/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -56,6 +57,7 @@
 %setup -q -n %{name}-%{version}-%{pre}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__aclocal}
@@ -93,12 +95,19 @@
 %{_includedir}/netlink
 %{_pkgconfigdir}/*.pc
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7.2.1  2007/02/20 20:27:54  arekm
+- add static lib
+
 Revision 1.7  2006/10/31 08:19:36  pluto
 - install fixed.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libnl.spec?r1=1.7&r2=1.7.2.1&f=u



More information about the pld-cvs-commit mailing list