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 Patch1: %{name}-cgi-to-cgic.patch
11 URL: http://www.ddts.org/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: bind-devel >= 9.2.1-10
16 BuildRequires: cgilibc-devel
17 BuildRequires: openssl-devel >= 0.9.7
18 BuildRequires: postgresql-c++-devel
19 BuildRequires: libgcrypt-devel
20 BuildRequires: regexx-devel
23 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 DDT stands for Dynamic Dns Tools. The goal of the project is to
27 provide an open and free (in the GPL-sense) set of tools that will
28 permit the deployment of secure and reliable dynamic DNS services.
31 DDT oznacza Dynamiczne Narzêdzia DNS. Celem projektu jest dostarczenie
32 otwartego i wolnego (w sensie GPL) zestawu narzêdzi pozwalaj±cych na
33 stworzenie bezpiecznego i niezawodnego systemu dynamicznego DNS.
36 Summary: Dynamic DNS Tools Client
37 Summary(pl): Klient Dynamicznego DNSu
38 Group: Applications/Networking
41 Dynamic DNS Tools Client.
43 %description clients -l pl
44 Klient Dynamicznego DNSu.
56 CPPFLAGS="-I%{_includedir}/cgilibc"; export CPPFLAGS
61 --with-pgsql-libdir=%{_libdir} \
62 --with-pgsql-incdir=%{_includedir}
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
68 $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d}
70 install client/ddtcd.conf $RPM_BUILD_ROOT%{_sysconfdir}
71 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ddtcd
73 install client/{ddtc,ddtcd} $RPM_BUILD_ROOT%{_sbindir}
74 install client/{ddtc,ddtcd}.8 $RPM_BUILD_ROOT%{_mandir}/man8
77 rm -rf $RPM_BUILD_ROOT
80 /sbin/chkconfig --add ddtcd
81 if [ -f /var/lock/subsys/ddtcd ]; then
82 /etc/rc.d/init.d/ddtcd restart >&2
84 echo "Run \"/etc/rc.d/init.d/ddtcd start\" to start ddtcd daemon."
88 if [ "$1" = "0" ]; then
89 if [ -f /var/lock/subsys/ddtcd ]; then
90 /etc/rc.d/init.d/ddtcd stop >&2
92 /sbin/chkconfig --del ddtcd
96 %defattr(644,root,root,755)
97 %doc AUTHORS README INSTALL THANKS ddt.lsm
98 %attr(754,root,root) /etc/rc.d/init.d/ddtcd
99 %config(noreplace) %{_sysconfdir}/ddtcd.conf
100 %attr(755,root,root) %{_sbindir}/ddtc
101 %attr(755,root,root) %{_sbindir}/ddtcd
102 %{_mandir}/man8/ddtc.8*
103 %{_mandir}/man8/ddtcd.8*