]> git.pld-linux.org Git - packages/dents.git/blob - dents.spec
- removed all Group fields translations (oure rpm now can handle translating
[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 URL:            http://sourceforge.net/projects/dents/
10 BuildRequires:  glib-devel
11 Prereq:         rc-scripts
12 Prereq:         /sbin/chkconfig
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Dents. It's a name server that doesn't suck.
17
18 %description -l pl
19 Dents. Jest to serwer nazw, który nie obsysa.
20
21 %prep
22 %setup -q
23
24 %build
25 %configure2_13
26 %{__make}
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 %{__make} install \
32         DESTDIR=$RPM_BUILD_ROOT
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %post
38 /sbin/chkconfig --add dents
39 if [ -f /var/lock/subsys/dents ]; then
40         /etc/rc.d/init.d/dents restart 1>&2
41 else
42         echo "Run \"/etc/rc.d/init.d/dents start\" to start dents DNS server."
43 fi
44
45 %preun
46 if [ "$1" = "0" ]; then
47         if [ -f /var/lock/subsys/dents ]; then
48                 /etc/rc.d/init.d/dents stop 1>&2
49         fi
50         /sbin/chkconfig --del dents
51 fi
52
53 %files
54 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_sbindir}/dents
56 %dir %{_libdir}/dents
57 %attr(755,root,root) %{_libdir}/dents/mod_*.so*
This page took 0.063133 seconds and 4 git commands to generate.