SPECS: libnl.spec - add pkgconfig file

aredridel aredridel at pld-linux.org
Mon Apr 3 21:01:26 CEST 2006


Author: aredridel                    Date: Mon Apr  3 19:01:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add pkgconfig file

---- Files affected:
SPECS:
   libnl.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/libnl.spec
diff -u SPECS/libnl.spec:1.3 SPECS/libnl.spec:1.4
--- SPECS/libnl.spec:1.3	Mon Apr  3 20:47:40 2006
+++ SPECS/libnl.spec	Mon Apr  3 21:01:20 2006
@@ -9,6 +9,7 @@
 Group:		Libraries
 Source0:	http://people.suug.ch/~tgr/libnl/files/%{name}-%{version}-%{pre}.tar.gz
 # Source0-md5:	2cece8968bb36b4cc34b907b6e3c2178
+Source1:	%{name}-1.pc
 Patch0:		%{name}-if_ether.patch
 Patch1:		%{name}-no_root.patch
 URL:		http://people.suug.ch/~tgr/libnl/
@@ -65,10 +66,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_pkgconfigdir}/
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -84,6 +88,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_includedir}/netlink
+%{_pkgconfigdir}/*.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -91,6 +96,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/04/03 19:01:20  aredridel
+- add pkgconfig file
+
 Revision 1.3  2006/04/03 18:47:40  aredridel
 - up to 1.0-pre5
 
================================================================

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



More information about the pld-cvs-commit mailing list