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