]> git.pld-linux.org Git - packages/libnl.git/commitdiff
- add pkgconfig file
authoraredridel <aredridel@pld-linux.org>
Mon, 3 Apr 2006 19:01:20 +0000 (19:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libnl.spec -> 1.4

libnl.spec

index 47603e1ad79d117a1bf3b8149fdf5bdeb8824cdc..064888adf97ab91cf46d5cab01583067ac315db1 100644 (file)
@@ -8,6 +8,7 @@ License:        LGPL v2.1
 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/
@@ -64,10 +65,13 @@ Statyczna biblioteka libnl.
 
 %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
 
@@ -83,3 +87,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_includedir}/netlink
+%{_pkgconfigdir}/*.pc
This page took 0.142258 seconds and 4 git commands to generate.