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