]> git.pld-linux.org Git - packages/dhcpv6.git/blame - dhcpv6.spec
- obsoleted by ISC dhcp version 4.1.0 and later
[packages/dhcpv6.git] / dhcpv6.spec
CommitLineData
3a492f21
JR
1# NEWS
2#
3# IMPORTANT! Tuesday, September 22, 2009: No new development will be happening on
4# this project. dhcpv6 has been obsoleted by ISC dhcp version 4.1.0 and later.
5# Previous stable versions will receive security and bug fixes and periodic new
6# releases may be made for older distributions, but as for new development, the
7# project is shut down.
8#
19c6526c 9Summary: DHCPv6 - DHCP server and client for IPv6
da19069e 10Summary(pl.UTF-8): DHCPv6 - serwer i klient DHCP dla IPv6
19c6526c 11Name: dhcpv6
cc92f0a4 12Version: 1.2.0
29210ac3 13Release: 0.2
8a684ebd 14Epoch: 1
f49b068f 15License: GPL v2+
19c6526c 16Group: Networking/Daemons
54524cf8 17Source0: https://fedorahosted.org/releases/d/h/dhcpv6/%{name}-%{version}.tar.gz
cc92f0a4 18# Source0-md5: d537416b33002f56912b7f27477d8d35
fb7020da 19Source1: dhcp6s.init
4c97a308 20Source2: dhcp6c.init
29210ac3 21BuildRequires: restore-compatability
0cc123ce 22URL: https://fedorahosted.org/dhcpv6/
f49b068f
JB
23BuildRequires: autoconf >= 2.61
24BuildRequires: automake
5cbfb15f
JB
25BuildRequires: bison
26BuildRequires: flex
cc92f0a4 27BuildRequires: libnl-devel >= 1.1
f49b068f 28BuildRequires: libtool
cc92f0a4 29BuildRequires: pkgconfig
b19f7c09 30BuildRequires: rpmbuild(macros) >= 1.268
5cbfb15f 31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19c6526c
AM
32
33%description
34Implements the Dynamic Host Configuration Protocol (DHCP) for Internet
c96a4f12 35Protocol version 6 (IPv6) networks in accordance with RFC 3315:
5f2e8ab6 36Dynamic Host Configuration Protocol for IPv6 (DHCPv6).
5cbfb15f 37
7fcf5cd8
JR
38%description -l pl.UTF-8
39Ten pakiet jest implementacją protokołu Dynamic Host Configuration
5cbfb15f 40Protocol (DHCP) dla sieci IPv6 zgodnie z RFC 3315: Dynamic Host
5f2e8ab6 41Configuration Protocol for IPv6 (DHCPv6).
19c6526c 42
5f2e8ab6 43%package client
a91e6378 44Summary: DHCPv6 client
da19069e 45Summary(pl.UTF-8): Klient DHCPv6
a91e6378 46Group: Applications/Networking
b19f7c09 47Requires(post,preun): /sbin/chkconfig
bd2e4492 48Requires: rc-scripts
2e4b2cdd 49
5f2e8ab6 50%description client
2e4b2cdd 51Provides the client for the DHCPv6 protocol (RFC 3315) to support
c96a4f12 52dynamic configuration of IPv6 addresses and parameters.
2e4b2cdd 53
5f2e8ab6 54%description client -l pl.UTF-8
7fcf5cd8 55Ten pakiet dostarcza klienta protokołu DHCPv6 (RFC 3315) do obsługi
c96a4f12 56dynamicznej konfiguracji adresów i parametrów sieci iPv6.
2e4b2cdd 57
5f2e8ab6
ER
58%package relay
59Summary: DHCPv6 relay agent
b4d033f1 60Summary(pl.UTF-8): Agent przekazujący DHCPv6
5f2e8ab6
ER
61Group: Applications/Networking
62Requires(post,preun): /sbin/chkconfig
63Requires: rc-scripts
64
65%description relay
66dhcp6r acts as DHCPv6 relay agent forwarding DHCPv6 messages from
67clients to servers and vice versa.
68
b4d033f1
JB
69%description relay -l pl.UTF-8
70dhcp6r służy jako agent przekazujący komunikaty DHCPv6 od klientów do
71serwerów i z powrotem.
72
5f2e8ab6
ER
73%package server
74Summary: DHCPv6 server daemon
b4d033f1 75Summary(pl.UTF-8): Demon serwera DHCPv6
5f2e8ab6
ER
76Group: Applications/Networking
77Requires(post,preun): /sbin/chkconfig
78Requires: rc-scripts
79
80%description server
81dhcp6s is an implementation of the DHCPv6 server.
82
b4d033f1
JB
83%description server -l pl.UTF-8
84dhcp6s to implementacja serwera DHCPv6.
85
19c6526c 86%prep
bd2e4492 87%setup -q
19c6526c
AM
88
89%build
bd2e4492
PZ
90%{__libtoolize}
91%{__aclocal} -I m4
47bbc57d 92%{__autoconf}
bd2e4492 93%{__automake}
d41581a0 94%configure
47bbc57d 95
19c6526c 96%{__make}
19c6526c
AM
97
98%install
99rm -rf $RPM_BUILD_ROOT
47bbc57d 100install -d $RPM_BUILD_ROOT{%{_localstatedir}/lib/dhcpv6,/etc/{rc.d/init.d,sysconfig}}
5cbfb15f
JB
101
102%{__make} install \
47bbc57d
AM
103 INSTALL_USER=$(id -u) \
104 INSTALL_GROUP=$(id -g) \
5cbfb15f 105 DESTDIR=$RPM_BUILD_ROOT
19c6526c 106
fb7020da 107install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcp6s
4c97a308 108install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcp6c
4cc522ce 109
cc92f0a4 110mkdir -p $RPM_BUILD_ROOT/var/run/dhcpv6
111
2e4b2cdd 112%clean
113rm -rf $RPM_BUILD_ROOT
19c6526c 114
5f2e8ab6
ER
115%post client
116/sbin/chkconfig --add dhcp6c
117%service dhcp6c restart
118
119%post relay
b19f7c09
ER
120/sbin/chkconfig --add dhcp6r
121%service dhcp6r restart
19c6526c 122
5f2e8ab6
ER
123%post server
124/sbin/chkconfig --add dhcp6s
125%service dhcp6s restart
126
127%preun client
128if [ "$1" = "0" ]; then
129 %service dhcp6c stop
130 /sbin/chkconfig --del dhcp6c
131fi
132
133%preun relay
5cbfb15f 134if [ "$1" = "0" ]; then
b19f7c09
ER
135 %service dhcp6r stop
136 /sbin/chkconfig --del dhcp6r
4f148875 137fi
19c6526c 138
5f2e8ab6 139%preun server
b19f7c09 140if [ "$1" = "0" ]; then
5f2e8ab6
ER
141 %service dhcp6s stop
142 /sbin/chkconfig --del dhcp6s
19c6526c
AM
143fi
144
5f2e8ab6
ER
145%files client
146%defattr(644,root,root,755)
147%attr(755,root,root) %{_sbindir}/dhcp6c
148%attr(754,root,root) /etc/rc.d/init.d/dhcp6c
149%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcp6c.conf
150%{_mandir}/man8/dhcp6c.8*
151%{_mandir}/man5/dhcp6c.conf.5*
152
153%files relay
19c6526c 154%defattr(644,root,root,755)
bd2e4492 155%attr(755,root,root) %{_sbindir}/dhcp6r
bd2e4492 156%attr(754,root,root) /etc/rc.d/init.d/dhcp6r
bd2e4492 157%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp6r
5f2e8ab6
ER
158%{_mandir}/man8/dhcp6r.8*
159
160%files server
161%defattr(644,root,root,755)
162%doc AUTHORS README TODO
163%attr(755,root,root) %{_sbindir}/dhcp6s
164%attr(754,root,root) /etc/rc.d/init.d/dhcp6s
2e4b2cdd 165%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp6s
b526a588 166%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcp6s.conf
5cbfb15f
JB
167%{_mandir}/man8/dhcp6s.8*
168%{_mandir}/man5/dhcp6s.conf.5*
5f2e8ab6 169%attr(750,root,root) %dir %{_localstatedir}/lib/dhcpv6
cc92f0a4 170%attr(755,root,root) %dir %{_localstatedir}/run/dhcpv6
This page took 0.105843 seconds and 4 git commands to generate.