1 Summary: Dynamic DNS Tools Server
2 Summary(pl): Serwer dynamicznego DNSu
7 Group: Networking/Daemons
8 Source0: http://download.sourceforge.net/ddt/%{name}-%{version}.tar.gz
9 Patch0: %{name}-am_ac.patch
10 URL: http://www.ddts.org/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: bind-devel >= 9.2.1-10
15 BuildRequires: cgilib-devel
16 BuildRequires: openssl-devel >= 0.9.7
17 BuildRequires: postgresql-devel < 7.3.0
18 BuildRequires: libgcrypt-devel
21 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 DDT stands for Dynamic Dns Tools. The goal of the project is to
25 provide an open and free (in the GPL-sense) set of tools that will
26 permit the deployment of secure and reliable dynamic DNS services.
29 DDT oznacza Dynamiczne Narzêdzia DNS. Celem projektu jest dostarczenie
30 otwartego i wolnego (w sensie GPL) zestawu narzêdzi pozwalaj±cych na
31 stworzenie bezpiecznego i niezawodnego systemu dynamicznego DNS.
34 Summary: Dynamic DNS Tools Client
35 Summary(pl): Klient Dynamicznego DNSu
36 Group: Applications/Networking
39 Dynamic DNS Tools Client.
41 %description clients -l pl
42 Klient Dynamicznego DNSu.
57 --with-pgsql-libdir=%{_libdir} \
58 --with-pgsql-incdir=%{_includedir}/postgresql
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
64 $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d}
66 install client/ddtcd.conf $RPM_BUILD_ROOT%{_sysconfdir}
67 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ddtcd
69 install client/{ddtc,ddtcd} $RPM_BUILD_ROOT%{_sbindir}
70 install client/{ddtc,ddtcd}.8 $RPM_BUILD_ROOT%{_mandir}/man8
73 rm -rf $RPM_BUILD_ROOT
76 /sbin/chkconfig --add ddtcd
77 if [ -f /var/lock/subsys/ddtcd ]; then
78 /etc/rc.d/init.d/ddtcd restart >&2
80 echo "Run \"/etc/rc.d/init.d/ddtcd start\" to start ddtcd daemon."
84 if [ "$1" = "0" ]; then
85 if [ -f /var/lock/subsys/ddtcd ]; then
86 /etc/rc.d/init.d/ddtcd stop >&2
88 /sbin/chkconfig --del ddtcd
92 %defattr(644,root,root,755)
93 %doc AUTHORS README INSTALL THANKS ddt.lsm
94 %attr(754,root,root) /etc/rc.d/init.d/ddtcd
95 %config(noreplace) %{_sysconfdir}/ddtcd.conf
96 %attr(755,root,root) %{_sbindir}/ddtc
97 %attr(755,root,root) %{_sbindir}/ddtcd
98 %{_mandir}/man8/ddtc.8*
99 %{_mandir}/man8/ddtcd.8*