packages: libnl/libnl.spec, libnl/libnl-ULONG_MAX.patch (REMOVED), libnl/li...

qboosh qboosh at pld-linux.org
Thu Mar 24 20:50:19 CET 2011


Author: qboosh                       Date: Thu Mar 24 19:50:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 3.0 (note: new libnl soname; more libs introduced)
- removed obsolete patches

---- Files affected:
packages/libnl:
   libnl.spec (1.29 -> 1.30) , libnl-ULONG_MAX.patch (1.1 -> NONE)  (REMOVED), libnl-gcc44.patch (1.1 -> NONE)  (REMOVED), libnl-static.patch (1.2 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/libnl/libnl.spec
diff -u packages/libnl/libnl.spec:1.29 packages/libnl/libnl.spec:1.30
--- packages/libnl/libnl.spec:1.29	Thu Mar 25 09:00:23 2010
+++ packages/libnl/libnl.spec	Thu Mar 24 20:50:14 2011
@@ -6,19 +6,14 @@
 Summary:	Netlink sockets library
 Summary(pl.UTF-8):	Biblioteka do obsługi gniazd netlink
 Name:		libnl
-Version:	1.1
-Release:	4
+Version:	3.0
+Release:	1
 Epoch:		1
 License:	LGPL v2.1
 Group:		Libraries
 Source0:	http://www.infradead.org/~tgr/libnl/files/%{name}-%{version}.tar.gz
-# Source0-md5:	ae970ccd9144e132b68664f98e7ceeb1
-Patch0:		%{name}-static.patch
-Patch1:		%{name}-ULONG_MAX.patch
-Patch2:		%{name}-gcc44.patch
+# Source0-md5:	00740414d4d6f173a7dd2aa19432da62
 URL:		http://www.infradead.org/~tgr/libnl/
-BuildRequires:	autoconf
-BuildRequires:	automake
 %{?with_apidocs:BuildRequires:	doxygen}
 %{?with_apidocs:BuildRequires:	graphviz}
 BuildRequires:	linux-libc-headers >= 6:2.6.23
@@ -76,16 +71,10 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
-%{__aclocal}
-%{__autoconf}
-
 %configure \
-	--enable-verbose-errors
+	--disable-silent-rules
 
 %{__make}
 %{?with_apidocs:%{__make} -C doc gendoc}
@@ -96,8 +85,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# for autodeps to work
-chmod +x $RPM_BUILD_ROOT%{_libdir}/libnl.so.*.*
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libnl/cli/*/*.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -108,18 +96,58 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog
-%attr(755,root,root) %{_libdir}/libnl.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libnl.so.1
+%dir %{_sysconfdir}/libnl
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libnl/classid
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libnl/pktloc
+%attr(755,root,root) %{_sbindir}/nl-class-*
+%attr(755,root,root) %{_sbindir}/nl-classid-lookup
+%attr(755,root,root) %{_sbindir}/nl-cls-*
+%attr(755,root,root) %{_sbindir}/nl-link-list
+%attr(755,root,root) %{_sbindir}/nl-pktloc-lookup
+%attr(755,root,root) %{_sbindir}/nl-qdisc-*
+%attr(755,root,root) %{_libdir}/libnl.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnl.so.3
+%attr(755,root,root) %{_libdir}/libnl-cli.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnl-cli.so.3
+%attr(755,root,root) %{_libdir}/libnl-genl.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnl-genl.so.3
+%attr(755,root,root) %{_libdir}/libnl-nf.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnl-nf.so.3
+%attr(755,root,root) %{_libdir}/libnl-route.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnl-route.so.3
+%dir %{_libdir}/libnl
+%dir %{_libdir}/libnl/cli
+%dir %{_libdir}/libnl/cli/cls
+%attr(755,root,root) %{_libdir}/libnl/cli/cls/*.so*
+%dir %{_libdir}/libnl/cli/qdisc
+%attr(755,root,root) %{_libdir}/libnl/cli/qdisc/*.so*
+%{_mandir}/man8/nl-classid-lookup.8*
+%{_mandir}/man8/nl-pktloc-lookup.8*
+%{_mandir}/man8/nl-qdisc-*.8*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libnl.so
+%attr(755,root,root) %{_libdir}/libnl-cli.so
+%attr(755,root,root) %{_libdir}/libnl-genl.so
+%attr(755,root,root) %{_libdir}/libnl-nf.so
+%attr(755,root,root) %{_libdir}/libnl-route.so
+# keep *.la: pkgconfig support is incomplete
+%{_libdir}/libnl.la
+%{_libdir}/libnl-cli.la
+%{_libdir}/libnl-genl.la
+%{_libdir}/libnl-nf.la
+%{_libdir}/libnl-route.la
 %{_includedir}/netlink
-%{_pkgconfigdir}/libnl-1.pc
+%{_pkgconfigdir}/libnl-3.0.pc
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libnl.a
+%{_libdir}/libnl-cli.a
+%{_libdir}/libnl-genl.a
+%{_libdir}/libnl-nf.a
+%{_libdir}/libnl-route.a
 
 %if %{with apidocs}
 %files apidocs
@@ -133,6 +161,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2011/03/24 19:50:14  qboosh
+- updated to 3.0 (note: new libnl soname; more libs introduced)
+- removed obsolete patches
+
 Revision 1.29  2010/03/25 08:00:23  qboosh
 - updated Source0 URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libnl/libnl.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list