1 Summary: This is the DENTS nameserver
6 Group: Networking/Daemons
7 Group(de): Netzwerkwesen/Server
8 Group(pl): Sieciowe/Serwery
9 Source0: http://ftp1.sourceforge.net/dents/%{name}-%{version}.tar.gz
10 URL: http://sourceforge.net/projects/dents/
11 BuildRequires: glib-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Dents. It's a name server that doesn't suck.
26 rm -rf $RPM_BUILD_ROOT
29 DESTDIR=$RPM_BUILD_ROOT
32 /sbin/chkconfig --add dents
33 if [ -f /var/lock/subsys/dents ]; then
34 /etc/rc.d/init.d/dents restart 1>&2
36 echo "Run \"/etc/rc.d/init.d/dents start\" to start dents DNS server."
41 /sbin/chkconfig --del dents
42 if [ "$1" = "0" ]; then
43 if [ -f /var/lock/subsys/dents ]; then
44 /etc/rc.d/init.d/dents stop 1>&2
46 /sbin/chkconfig --del dents
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_sbindir}/dents
56 %attr(755,root,root) %{_libdir}/dents/mod_*.so*