Summary: This is the DENTS nameserver
+Summary(pl): Serwer nazw DENTS
Name: dents
Version: 0.3.1
Release: 1
URL: http://sourceforge.net/projects/dents/
BuildRequires: glib-devel
Prereq: rc-scripts
+Prereq: /sbin/chkconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Dents. It's a name server that doesn't suck.
+%description -l pl
+Dents. Jest to serwer nazw, który nie obsysa.
+
%prep
%setup -q
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%clean
+rm -rf $RPM_BUILD_ROOT
+
%post
/sbin/chkconfig --add dents
if [ -f /var/lock/subsys/dents ]; then
echo "Run \"/etc/rc.d/init.d/dents start\" to start dents DNS server."
fi
-
%preun
/sbin/chkconfig --del dents
if [ "$1" = "0" ]; then
/sbin/chkconfig --del dents
fi
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/dents