SPECS: libnl.spec - build static library

patrys patrys at pld-linux.org
Fri Dec 14 03:03:34 CET 2007


Author: patrys                       Date: Fri Dec 14 02:03:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build static library

---- Files affected:
SPECS:
   libnl.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/libnl.spec
diff -u SPECS/libnl.spec:1.16 SPECS/libnl.spec:1.17
--- SPECS/libnl.spec:1.16	Fri Nov 23 11:28:52 2007
+++ SPECS/libnl.spec	Fri Dec 14 03:03:29 2007
@@ -11,6 +11,7 @@
 Source0:	http://people.suug.ch/~tgr/libnl/files/%{name}-%{version}-%{pre}.tar.gz
 # Source0-md5:	0f57cb7085dc27e054691bff858613c9
 Patch0:		%{name}-llh.patch
+Patch1:		%{name}-static.patch
 URL:		http://people.suug.ch/~tgr/libnl/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -54,6 +55,7 @@
 %prep
 %setup -q -n %{name}-%{version}-%{pre}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal}
@@ -88,12 +90,19 @@
 %{_includedir}/netlink
 %{_pkgconfigdir}/libnl-1.pc
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libnl.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.17  2007-12-14 02:03:29  patrys
+- build static library
+
 Revision 1.16  2007-11-23 10:28:52  patrys
 - rel 4 to satisfy builder
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libnl.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list