From: Arkadiusz Miśkiewicz Date: Fri, 20 Sep 2002 16:04:18 +0000 (+0000) Subject: - not ready at all X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=f9d687b7c1edd24ffc4a4a3953dc0ad0f4f52b48;p=packages%2Fddt.git - not ready at all Changed files: ddt.spec -> 1.1 --- f9d687b7c1edd24ffc4a4a3953dc0ad0f4f52b48 diff --git a/ddt.spec b/ddt.spec new file mode 100644 index 0000000..e94c38e --- /dev/null +++ b/ddt.spec @@ -0,0 +1,90 @@ +Summary: Dynamic DNS Tools Server +Summary(pl): Serwer dynamicznego DNSu +Name: ddt +Version: 0.5 +Release: 1 +Group: Networking/Daemons +License: GPL +URL: http://www.ddt.org/ +Source0: http://download.sourceforge.net/ddt/ddt-0.5.tar.gz +Patch0: %{name}-am_ac.patch +Source1: %{name}.init +BuildRequires: opt +BuildRequires: openssl-devel +BuildRequires: bind-devel >= 9.2.1-10 +BuildRequires: cgilib-devel +BuildRequires: autoconf +BuildRequires: automake +Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +DDT stands for Dynamic Dns Tools. The goal of the project is to +provide an open and free (in the GPL-sense) set of tools that will +permit the deployment of secure and reliable dynamic DNS services. + +%description -l pl +DDT oznacza Dynamiczne Narzêdzia DNS. Celem projektu jest dostarczenie +otwartego i wolnego (w sensie GPL) zestawu narzêdzi pozwalaj±cych +na stworzenie bezpiecznego i niezawodnego systemu dynamicznego DNS. + +%package clients +Summary: Dynamic DNS Tools Client +Summary(pl): Klient Dynamicznego DNSu +Group: Applications/Networking + +%description clients +Dynamic DNS Tools Client. + +%description -l pl clients +Klient Dynamicznego DNSu. + +%prep +%setup -q +%patch0 -p1 + +%build +%{__aclocal} +%{__autoconf} +%{__automake} +%configure \ + --enable-docs \ + --enable-server \ + --enable-admin \ + --with-pgsql-lib=%{_libdir} \ + --with-pgsql-include=%{_includedir}/postgresql/server +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d ${RPM_BUILD_ROOT}%{_sbindir} +install -d ${RPM_BUILD_ROOT}%{_mandir}/man8 +install -d ${RPM_BUILD_ROOT}%{_sysconfdir} +install -d ${RPM_BUILD_ROOT}/etc/rc.d/init.d +install -m640 client/ddtcd.conf $RPM_BUILD_ROOT/%{_sysconfdir} +install -m755 $RPM_SOURCE_DIR/ddtcd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ddtcd +install -m755 client/ddtc $RPM_BUILD_ROOT/%{_sbindir} +install -m755 client/ddtcd $RPM_BUILD_ROOT/%{_sbindir} +gzip client/ddtc.8 +gzip client/ddtcd.8 +install -m755 client/ddtc*[.]8.gz $RPM_BUILD_ROOT/%{_mandir}/man8 + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/chkconfig --add ddtcd + +%preun +if [ $1 = 0 ]; then + /sbin/chkconfig --del ddtcd +fi + +%files +%defattr(644,root,root,755) +%config %{_sysconfdir}/ddtcd.conf +%doc AUTHORS README INSTALL COPYING THANKS ddt.lsm +%{_mandir}/man8/ddtc.8* +%{_mandir}/man8/ddtcd.8* +%attr(755,root,root) %{_sbindir}/ddtc +%attr(755,root,root) %{_sbindir}/ddtcd +/etc/rc.d/init.d/ddtcd