]> git.pld-linux.org Git - packages/dents.git/blame - dents.spec
- reverting last change: removing new macros from %p{re,ost}{,un}
[packages/dents.git] / dents.spec
CommitLineData
64189135 1Summary: This is the DENTS nameserver
2Name: dents
3Version: 0.3.1
4Release: 1
5License: GPL
6Group: Networking/Daemons
7Group(de): Netzwerkwesen/Server
8Group(pl): Sieciowe/Serwery
9Source0: http://ftp1.sourceforge.net/dents/%{name}-%{version}.tar.gz
10URL: http://sourceforge.net/projects/dents/
11BuildRequires: glib-devel
12Prereq: rc-scripts
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40ac9f84 14
15%description
40ac9f84 16Dents. It's a name server that doesn't suck.
17
18%prep
64189135 19%setup -q
20
40ac9f84 21%build
64189135 22%configure
23%{__make}
24
40ac9f84 25%install
64189135 26rm -rf $RPM_BUILD_ROOT
27
28%{__make} install \
29 DESTDIR=$RPM_BUILD_ROOT
30
31%post
ce45f0ed 32/sbin/chkconfig --add dents
33if [ -f /var/lock/subsys/dents ]; then
34 /etc/rc.d/init.d/dents restart 1>&2
35else
36 echo "Run \"/etc/rc.d/init.d/dents start\" to start dents DNS server."
37fi
38
64189135 39
40%preun
ce45f0ed 41/sbin/chkconfig --del dents
42if [ "$1" = "0" ]; then
43 if [ -f /var/lock/subsys/dents ]; then
44 /etc/rc.d/init.d/dents stop 1>&2
45 fi
46 /sbin/chkconfig --del dents
47fi
40ac9f84 48
40ac9f84 49%clean
50rm -rf $RPM_BUILD_ROOT
64189135 51
40ac9f84 52%files
64189135 53%defattr(644,root,root,755)
54%attr(755,root,root) %{_sbindir}/dents
55%dir %{_libdir}/dents
56%attr(755,root,root) %{_libdir}/dents/mod_*.so*
This page took 0.085795 seconds and 4 git commands to generate.