]> git.pld-linux.org Git - packages/pdnsd.git/blobdiff - pdnsd.spec
- cleaning
[packages/pdnsd.git] / pdnsd.spec
index 227f161040cde7636c5ff6d0871e82479e7001f1..3094e57058f5fd9a90af7e0bf1fea30073170ce3 100644 (file)
@@ -2,19 +2,23 @@ Summary:      A caching dns proxy for small networks or dialin accounts
 Summary(pl):   DNS proxy serwer dla ma³ej sieci lub jednostki z po³±czeniem dialup
 Name:          pdnsd
 Version:       1.1.7a
-Release:       3
+Release:       5
 License:       GPL
 Group:         Networking/Daemons
-Vendor:                Thomas Moestl
 Source0:       http://home.t-online.de/home/Moestl/%{name}-%{version}.tar.bz2
 Source1:       %{name}.init
+Patch0:                %{name}-threads_signals.patch
 URL:           http://home.t-online.de/home/Moestl/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: flex
 PreReq:                /sbin/chkconfig
 PreReq:                rc-scripts
+Provides:      caching-nameserver
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes:     bind
+Obsoletes:     maradns
+Obsoletes:     maradns-zoneserver
 
 %description
 pdnsd is a proxy DNS daemon with permanent (disk-)cache and the
@@ -30,12 +34,13 @@ dialup).
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 rm -f missing
-aclocal
-autoheader
+%{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
        --enable-ipv6
@@ -45,12 +50,10 @@ autoheader
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/pdnsd
-mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pdnsd.conf.sample \
-       $RPM_BUILD_ROOT%{_sysconfdir}/pdnsd.conf
+mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pdnsd.conf{.sample,}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.063984 seconds and 4 git commands to generate.