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