SPECS: dhcpv6.spec - commented not existed patches - added -DESTDI...
darekr
darekr at pld-linux.org
Sun Sep 18 22:34:24 CEST 2005
Author: darekr Date: Sun Sep 18 20:34:24 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- commented not existed patches
- added -DESTDIR patch
- cosmetics, fix build
- rel. 0.1, NFY
---- Files affected:
SPECS:
dhcpv6.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/dhcpv6.spec
diff -u SPECS/dhcpv6.spec:1.3 SPECS/dhcpv6.spec:1.4
--- SPECS/dhcpv6.spec:1.3 Thu Oct 7 16:31:04 2004
+++ SPECS/dhcpv6.spec Sun Sep 18 22:34:19 2005
@@ -3,19 +3,22 @@
Summary(pl): DHCPv6 - serwer i klient DHCP dla IPv6
Name: dhcpv6
Version: 0.10
-Release: 1
+Release: 0.1
License: GPL
Group: Networking/Daemons
Source0: http://dl.sourceforge.net/dhcpv6/dhcp-%{version}.tgz
# Source0-md5: 72b802d6c89e15e5cf6b0aecf46613f2
-Patch0: %{name}-0.10-initscripts.patch
-Patch1: %{name}-0.10-change_resolv_conf.patch
+#Patch0: %{name}-0.10-initscripts.patch
+#Patch1: %{name}-0.10-change_resolv_conf.patch
+Patch0: %{name}-DESTDIR.patch
URL: http://dhcpv6.sourceforge.net/
-Requires(post,preun): /sbin/chkconfig
BuildRequires: bison
BuildRequires: flex
+Requires(post,preun): /sbin/chkconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sbindir /sbin
+
%description
Implements the Dynamic Host Configuration Protocol (DHCP) for Internet
Protocol version 6 (IPv6) networks in accordance with RFC 3315 :
@@ -34,41 +37,47 @@
Więcej znajduje się w manualach dhcp6s(8), dhcp6s.conf(5) oraz
dokumentacji w /usr/share/doc/dhcpv6* .
+%package -n dhcpv6_client
+Summary: DHCPv6 client
+Summary(pl): Klient DHCPv6
+Group: Applications/Networking
+Requires: initscripts >= 7.73
+
+%description -n dhcpv6_client
+Provides the client for the DHCPv6 protocol (RFC 3315) to support
+dynamic configuration of IPv6 addresses and parameters. See man
+dhcp6c(8), dhcp6c.conf(5), and the documentation in
+/usr/share/doc/dhcpv6_client* .
+
+%description -n dhcpv6_client -l pl
+Ten pakiet dostarcza klienta protokołu DHCPv6 (RFC 3315) do obsługi
+dynamicznej konfiguracji adresów i parametrów sieci iPv6. Więcej
+znajduje się w manualu dhcp6c(8), dhcp6c.conf(5) oraz dokumentacji w
+/usr/share/doc/dhcpv6_client*
+
%prep
%setup -q -n dhcp-%{version}
%patch0 -p1
-%patch1 -p1
+#%patch1 -p1
%build
%configure \
--prefix= \
--mandir=%{_mandir}
+
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/sysconfig,%{_localstatedir}/lib/dhcpv6}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/dhcpv6
-%package -n dhcpv6_client
-Summary: DHCPv6 client
-Summary(pl): Klient DHCPv6
-Group: Applications/Networking
-Requires: initscripts >= 7.73
+install dhcp6s.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/dhcp6s
-%description -n dhcpv6_client
-Provides the client for the DHCPv6 protocol (RFC 3315) to support
-dynamic configuration of IPv6 addresses and parameters. See man
-dhcp6c(8), dhcp6c.conf(5), and the documentation in
-/usr/share/doc/dhcpv6_client* .
-
-%description -n dhcpv6_client -l pl
-Ten pakiet dostarcza klienta protokołu DHCPv6 (RFC 3315) do obsługi
-dynamicznej konfiguracji adresów i parametrów sieci iPv6. Więcej
-znajduje się w manualu dhcp6c(8), dhcp6c.conf(5) oraz dokumentacji w
-/usr/share/doc/dhcpv6_client*
+%clean
+rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add dhcp6s
@@ -84,15 +93,12 @@
/etc/rc.d/init.d/dhcp6s condrestart >/dev/null 2>&1
fi
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
%doc ReadMe docs/* dhcp6s.conf
%attr(754,root,root) %{_sbindir}/dhcp6s
-%attr(755,root,root) %config /etc/rc.d/init.d/dhcp6s
-%config(noreplace) /etc/sysconfig/dhcp6s
+#%attr(754,root,root) /etc/rc.d/init.d/dhcp6s
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp6s
%{_mandir}/man8/dhcp6s.8*
%{_mandir}/man5/dhcp6s.conf.5*
%attr(754,root,root) %dir %{_localstatedir}/lib/dhcpv6
@@ -111,6 +117,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2005/09/18 20:34:19 darekr
+- commented not existed patches
+- added -DESTDIR patch
+- cosmetics, fix build
+- rel. 0.1, NFY
+
Revision 1.3 2004/10/07 14:31:04 ankry
- fixed src URL, rfc moved to rfc-basic, md5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dhcpv6.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list