Summary: DHCPv6 - DHCP server and client for IPv6 Summary(pl): DHCPv6 - serwer i klient DHCP dla IPv6 Name: dhcpv6 Version: 0.10 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}-DESTDIR.patch URL: http://dhcpv6.sourceforge.net/ 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 : Dynamic Host Configuration Protocol for IPv6 (DHCPv6). Consists of dhcp6s(8), the server DHCP daemon. Install this if you want to support dynamic configuration of IPv6 addresses and parameters on your IPv6 network. See man dhcp6s(8), dhcp6s.conf(5), and the documentation in /usr/share/doc/dhcpv6* . %description -l pl Ten pakiet jest implementacją protokołu Dynamic Host Configuration Protocol (DHCP) dla sieci IPv6 zgodnie z RFC 3315: Dynamic Host Configuration Protocol for IPv6 (DHCPv6). Zawiera demona serwera DHCP - dhcp6s(8). Należy zainstalować ten pakiet, jeśli potrzebujemy obsługi dynamicznej konfiguracji adresów i parametrów sieci IPv6. 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 %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 dhcp6s.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/dhcp6s %clean rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add dhcp6s %preun if [ "$1" = "0" ]; then /etc/rc.d/init.d/dhcp6s stop >/dev/null 2>&1 /sbin/chkconfig --del dhcp6s fi %postun if [ "$1" -ge "1" ]; then /etc/rc.d/init.d/dhcp6s condrestart >/dev/null 2>&1 fi %files %defattr(644,root,root,755) %doc ReadMe docs/* dhcp6s.conf %attr(754,root,root) %{_sbindir}/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 %files -n dhcpv6_client %defattr(644,root,root,755) %doc ReadMe dhcp6c.conf %attr(750,root,root) /sbin/dhcp6c %{_mandir}/man8/dhcp6c.8* %{_mandir}/man5/dhcp6c.conf.5* %attr(750,root,root) %dir %{_localstatedir}/lib/dhcpv6