]> git.pld-linux.org Git - packages/pdnsd.git/blame - pdnsd.spec
- partialy rewrited byt NYF.
[packages/pdnsd.git] / pdnsd.spec
CommitLineData
4aa9b7eb 1Summary: A caching dns proxy for small networks or dialin accounts
2Name: pdnsd
3Version: 1.0.10
4Release: 1
5License: GPL
6Vendor: Thomas Moestl
7Group: Daemons
8Group(de): Server
9Group(pl): Serwery
10Source0: http://home.t-online.de/home/Moestl/%{name}-%{version}.tar.bz2
11URL: http://home.t-online.de/home/Moestl/
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
b294b2e1 14%description
4aa9b7eb 15pdnsd is a proxy DNS daemon with permanent (disk-)cache and the
16ability to serve local records. It is designed to detect network
17outages or hangups and to prevent DNS-dependent applications like
18Netscape Navigator from hanging.
19
b294b2e1 20%prep
4aa9b7eb 21%setup -q
22
b294b2e1 23%build
4aa9b7eb 24%configure \
25 --enable-ipv6
26%{__make}
b294b2e1 27
28%install
4aa9b7eb 29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
31
32%{__make} install \
33 DESTDIR=$RPM_BUILD_ROOT
b294b2e1 34
4aa9b7eb 35install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/pdnsd
b294b2e1 36
4aa9b7eb 37gzip -9nf AUTHORS ChangeLog NEWS README TODO
38
39%clean
40rm -rf $RPM_BUILD_ROOT
b294b2e1 41
4aa9b7eb 42%post
b294b2e1 43/sbin/chkconfig --add pdnsd
b294b2e1 44
4aa9b7eb 45%preun
46if [ "$1" = "0" ]; then
47 /sbin/chkconfig --del pdnsd
48fi
b294b2e1 49
50%files
4aa9b7eb 51%defattr(644,root,root,755)
52%doc *.gz doc/html/index.html doc/html/dl.html doc/html/doc.html doc/html/faq.html
b294b2e1 53%doc doc/txt/intro.txt doc/txt/manual.txt doc/txt/faq.txt
4aa9b7eb 54%config %{_sysconfdir}/pdnsd.conf
b294b2e1 55%dir /var/cache/pdnsd
56
4aa9b7eb 57%attr(755,root,root) %{_sbindir}/pdnsd
58%attr(754,root,root) /etc/rc.d/init.d/pdnsd
This page took 0.110285 seconds and 4 git commands to generate.