]> git.pld-linux.org Git - packages/ddt.git/blobdiff - ddt.spec
- dropped pre-cvs changelog
[packages/ddt.git] / ddt.spec
index d9dcd1166da877358382f08dea631576bf87cd52..52ef6ecbe3db7e33b6d0f87f66a3aca2ab68126f 100644 (file)
--- a/ddt.spec
+++ b/ddt.spec
@@ -1,11 +1,13 @@
+# TODO
+#  - postgres deps and headers not working. (i failed to solve it)
 Summary:       Dynamic DNS Tools server
-Summary(pl):   Serwer dynamicznego DNS-u
+Summary(pl.UTF-8):     Serwer dynamicznego DNS-u
 Name:          ddt
 Version:       0.5.9
-Release:       2
+Release:       3
 License:       GPL
 Group:         Networking/Daemons
-Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/ddt/%{name}-%{version}.tar.gz
 # Source0-md5: 30bb784bde3eef1e1a6eb61ab77f4b90
 Source1:       %{name}-client.init
 Source2:       %{name}-server.init
@@ -14,56 +16,57 @@ Patch1:             %{name}-cgi-to-cgic.patch
 Patch2:                %{name}-bind-includes-hack.patch
 Patch3:                %{name}-nobody.patch
 Patch4:                %{name}-postgresql.patch
-URL:           http://www.ddts.org/
+URL:           http://sourceforge.net/projects/ddt/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bind-devel >= 9.2.1-10
 BuildRequires: cgilibc-devel
+BuildRequires: fhs-compliance
 BuildRequires: libgcrypt-devel
+BuildRequires: libpqxx-devel
 BuildRequires: macrosystem-devel
-BuildRequires: openssl-devel >= 0.9.7
+BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: opt
-BuildRequires: postgresql-c++-devel
 BuildRequires: regexx-devel
 BuildRequires: sgml-tools
-PreReq:                rc-scripts
 Requires(post,preun):  /sbin/chkconfig
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Requires:      rc-scripts
+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-u. Celem projektu jest
-dostarczenie otwartego i wolnego (w sensie GPL) zestawu narzêdzi
-pozwalaj±cych na stworzenie bezpiecznego i niezawodnego systemu
+%description -l pl.UTF-8
+DDT oznacza Dynamiczne Narzędzia DNS-u. Celem projektu jest
+dostarczenie otwartego i wolnego (w sensie GPL) zestawu narzędzi
+pozwalających na stworzenie bezpiecznego i niezawodnego systemu
 dynamicznego DNS-u.
 
 %package clients
 Summary:       Dynamic DNS Tools client
-Summary(pl):   Klient dynamicznego DNS-u
+Summary(pl.UTF-8):     Klient dynamicznego DNS-u
 Group:         Applications/Networking
-PreReq:                rc-scripts
 Requires(post,preun):  /sbin/chkconfig
+Requires:      rc-scripts
 
 %description clients
 Dynamic DNS Tools client.
 
-%description clients -l pl
+%description clients -l pl.UTF-8
 Klient dynamicznego DNS-u.
 
 %package cgi
 Summary:       CGI scripts for Dynamic DNS Tools server
-Summary(pl):   Skrypty CGI do serwera dynamicznego DNS-u
+Summary(pl.UTF-8):     Skrypty CGI do serwera dynamicznego DNS-u
 Group:         Applications/Networking
 Requires:      webserver
 
 %description cgi
 CGI scripts for Dynamic DNS Tools server.
 
-%description cgi -l pl
+%description cgi -l pl.UTF-8
 Skrypty CGI do serwera dynamicznego DNS-u.
 
 %prep
@@ -75,7 +78,6 @@ Skrypty CGI do serwera dynamicznego DNS-u.
 %patch4 -p1
 
 %build
-rm -f missing
 %{__aclocal}
 %{__autoconf}
 %{__automake}
@@ -96,7 +98,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
        $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d} \
        $RPM_BUILD_ROOT{/etc/logrotate.d,/var/{lib/ddt-client,run/ddt}} \
-       $RPM_BUILD_ROOT/home/services/httpd/{cgi-bin,html/%{name}}
+       $RPM_BUILD_ROOT/srv/httpd/{cgi-bin,html/%{name}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -106,8 +108,8 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-server
 install debian/ddt-client.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-client
 install debian/ddt-server.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-server
 
-install admin/templates/* $RPM_BUILD_ROOT/home/services/httpd/html/%{name}
-install admin/*.{conf,cgi} $RPM_BUILD_ROOT/home/services/httpd/cgi-bin
+install admin/templates/* $RPM_BUILD_ROOT/srv/httpd/html/%{name}
+install admin/*.{conf,cgi} $RPM_BUILD_ROOT/srv/httpd/cgi-bin
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -152,10 +154,10 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/%{name}-server
 %attr(755,root,root) %{_sbindir}/ddtd
 %{_mandir}/man8/ddtd.8*
-%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ddtd.conf
-%attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/%{name}-server
-%attr(644,root,root) %dir /var/lib/ddt-client
-%attr(644,root,root) %dir /var/run/ddt
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ddtd.conf
+%config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-server
+%dir /var/lib/ddt-client
+%dir /var/run/ddt
 
 %files clients
 %defattr(644,root,root,755)
@@ -163,13 +165,13 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/%{name}-client
 %attr(755,root,root) %{_sbindir}/ddtc
 %attr(755,root,root) %{_sbindir}/ddtcd
-%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ddtcd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ddtcd.conf
 %{_mandir}/man8/ddtc.8*
 %{_mandir}/man8/ddtcd.8*
-%attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/%{name}-client
+%config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-client
 
 %files cgi
 %defattr(644,root,root,755)
-%attr(755,root,root) /home/services/httpd/cgi-bin/*.cgi
-%attr(644,root,root) /home/services/httpd/cgi-bin/*.conf
-%attr(755,root,root) /home/services/httpd/html/%{name}
+%attr(755,root,root) /srv/httpd/cgi-bin/*.cgi
+/srv/httpd/cgi-bin/*.conf
+%attr(755,root,root) /srv/httpd/html/%{name}
This page took 0.04572 seconds and 4 git commands to generate.