3 Summary: This is the DENTS nameserver
4 Summary(pl): Serwer nazw DENTS
9 Group: Networking/Daemons
10 Source0: http://dl.sourceforge.net/dents/%{name}-%{version}.tar.gz
11 # Source0-md5: b7ffc0305143731b70934240acd426b6
12 URL: http://sourceforge.net/projects/dents/
13 BuildRequires: glib-devel
15 Requires(post,preun): /sbin/chkconfig
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Dents. It's a name server that doesn't suck.
22 Dents. Jest to serwer nazw, który nie obsysa.
32 rm -rf $RPM_BUILD_ROOT
35 DESTDIR=$RPM_BUILD_ROOT
38 rm -rf $RPM_BUILD_ROOT
41 /sbin/chkconfig --add dents
42 if [ -f /var/lock/subsys/dents ]; then
43 /etc/rc.d/init.d/dents restart 1>&2
45 echo "Run \"/etc/rc.d/init.d/dents start\" to start dents DNS server."
49 if [ "$1" = "0" ]; then
50 if [ -f /var/lock/subsys/dents ]; then
51 /etc/rc.d/init.d/dents stop 1>&2
53 /sbin/chkconfig --del dents
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_sbindir}/dents
60 %attr(755,root,root) %{_libdir}/dents/mod_*.so*