SPECS: dhcpv6.spec - BR: am, lt - use ldconfig - Group fix, GPL ver...

qboosh qboosh at pld-linux.org
Fri Dec 14 18:37:34 CET 2007


Author: qboosh                       Date: Fri Dec 14 17:37:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: am,lt
- use ldconfig
- Group fix, GPL version

---- Files affected:
SPECS:
   dhcpv6.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/dhcpv6.spec
diff -u SPECS/dhcpv6.spec:1.26 SPECS/dhcpv6.spec:1.27
--- SPECS/dhcpv6.spec:1.26	Fri Dec 14 01:40:39 2007
+++ SPECS/dhcpv6.spec	Fri Dec 14 18:37:29 2007
@@ -9,7 +9,7 @@
 Version:	1.0.3
 Release:	0.9
 Epoch:		1
-License:	GPL
+License:	GPL v2+
 Group:		Networking/Daemons
 Source0:	http://dcantrel.fedorapeople.org/dhcpv6/%{name}-%{version}.tar.gz
 # Source0-md5:	7af9760efa2cb2796f75e9911c569054
@@ -17,9 +17,11 @@
 Source2:	dhcp6c.init
 Patch0:		%{name}-configure.patch
 URL:		http://dhcpv6.sourceforge.net/
-BuildRequires:	autoconf
+BuildRequires:	autoconf >= 2.61
+BuildRequires:	automake
 BuildRequires:	bison
 BuildRequires:	flex
+BuildRequires:	libtool
 Requires(post,preun):	/sbin/chkconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -62,7 +64,7 @@
 %package -n libdhcp6client
 Summary:	The DHCPv6 client in a library for invocation by other programs
 Summary(pl.UTF-8):	Klient DHCPv6 w postaci biblioteki do wykorzystania w innych programach
-Group:		Development/Libraries
+Group:		Libraries
 
 %description -n libdhcp6client
 Provides the client for the DHCPv6 protocol (RFC 3315) to support
@@ -141,6 +143,9 @@
 	/etc/rc.d/init.d/dhcp6s restart >/dev/null 2>&1
 fi
 
+%post	-n libdhcp6client -p /sbin/ldconfig
+%postun	-n libdhcp6client -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS README TODO docs/*
@@ -158,7 +163,7 @@
 
 %files -n dhcpv6-client
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_sbindir}/dhcp6c
+%attr(755,root,root) %{_sbindir}/dhcp6c
 %attr(754,root,root) /etc/rc.d/init.d/dhcp6c
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcp6c.conf
 %{_mandir}/man8/dhcp6c.8*
@@ -166,13 +171,14 @@
 
 %files -n libdhcp6client
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libdhcp6client-*.so.*
+%attr(755,root,root) %{_libdir}/libdhcp6client-*.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdhcp6client-*.so.2
 
 %files -n libdhcp6client-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libdhcp6client.so
 %{_libdir}/libdhcp6client.la
-%{_includedir}/*
+%{_includedir}/dhcp6client
 %{_pkgconfigdir}/libdhcp6client.pc
 
 %files -n libdhcp6client-static
@@ -185,6 +191,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2007-12-14 17:37:29  qboosh
+- BR: am,lt
+- use ldconfig
+- Group fix, GPL version
+
 Revision 1.26  2007-12-14 00:40:39  patrys
 - up to 1.0.3
 - still lots to do (check autotool deps, rc-scripts)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dhcpv6.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list