]> git.pld-linux.org Git - packages/dhcpv6.git/commitdiff
- commented not existed patches
authordarekr <darekr@pld-linux.org>
Sun, 18 Sep 2005 20:34:19 +0000 (20:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added -DESTDIR patch
- cosmetics, fix build
- rel. 0.1, NFY

Changed files:
    dhcpv6.spec -> 1.4

dhcpv6.spec

index 1e1f8c5be9fa1877c7db2f0e89b1da9bf030966d..b63075a59181b5e56d67481e36bebf905d39cd98 100644 (file)
@@ -2,19 +2,22 @@ Summary:      DHCPv6 - DHCP server and client for IPv6
 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 :
@@ -33,41 +36,47 @@ obs
 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
@@ -83,15 +92,12 @@ if [ "$1" -ge "1" ]; then
        /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
This page took 0.038816 seconds and 4 git commands to generate.