]> git.pld-linux.org Git - packages/dnsutl.git/blame - dnsutl.spec
- put programs to sbindir
[packages/dnsutl.git] / dnsutl.spec
CommitLineData
43155a4d
ER
1Summary: Collection of tools to make administering DNS easier
2Name: dnsutl
3Version: 1.8
4Release: 1
5License: GPL v2
6Group: Applications
7Source0: http://dl.sourceforge.net/dnsutl/%{name}-%{version}.tar.gz
8# Source0-md5: 10f47572221b7376a07449ac0ff62fdc
9URL: http://dnsutl.sourceforge.net/
10BuildRequires: bison
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
395c0674
ER
13%define _bindir %{_prefix}/sbin
14
43155a4d
ER
15%description
16The dnsutl package is a collection tools to make administering DNS
17easier.
18
19These include:
20- dns-rev: Take the forward DNS mapping and generate the reverse
21 mapping. This is useful for producing a self-consistent DNS
22 configuration.
23- dns-ethers: By using a bogus record type, you can keep the MAC
24 address with the IP address, and generate the /etc/ethers file.
25- dns-hosts: Take the forward DNS mapping and generate the /etc/hosts
26 file.
27- dns-bootp: Using the MAC and IP information, you can generate the
28 /etc/bootptab file.
29- dns-ng: Take the forward DNS mapping and generate the /etc/netgroup
30 file.
31- dns-bootparams: Using the MAC and IP information, you can generate
32 the Sun /etc/bootparams file.
33- dns-boot-check: Check your named(8) configuration for self-
34 consistency.
35- dns-hosts-import: Turn your /etc/hosts file into a DNS forward map,
36 as a first step to configuring your DNS server.
37- dns-dhcp: Using the MAC and IP information, you can generate the
38 /etc/dhcp.conf file.
39
40All of these programs are both faster than shell scripts, and more
41robust when faced with all the peculiar semantics of DNS resource
42files. They even understand the $include directive.
43
44%prep
45%setup -q
46
47%build
48%configure
49%{__make} -j1
50
51%install
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
54%{__make} install -j1 \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc README
63%attr(755,root,root) %{_bindir}/dns-boot-check
64%attr(755,root,root) %{_bindir}/dns-bootp
65%attr(755,root,root) %{_bindir}/dns-bootparams
66%attr(755,root,root) %{_bindir}/dns-dhcp
67%attr(755,root,root) %{_bindir}/dns-ethers
68%attr(755,root,root) %{_bindir}/dns-ethers-import
69%attr(755,root,root) %{_bindir}/dns-filter
70%attr(755,root,root) %{_bindir}/dns-hosts
71%attr(755,root,root) %{_bindir}/dns-hosts-import
72%attr(755,root,root) %{_bindir}/dns-ng
73%attr(755,root,root) %{_bindir}/dns-rev
74%{_mandir}/man1/dns-boot-check.1*
75%{_mandir}/man1/dns-bootp.1*
76%{_mandir}/man1/dns-bootparams.1*
77%{_mandir}/man1/dns-dhcp.1*
78%{_mandir}/man1/dns-ethers-import.1*
79%{_mandir}/man1/dns-ethers.1*
80%{_mandir}/man1/dns-filter.1*
81%{_mandir}/man1/dns-hosts-import.1*
82%{_mandir}/man1/dns-hosts.1*
83%{_mandir}/man1/dns-license.1*
84%{_mandir}/man1/dns-ng.1*
85%{_mandir}/man1/dns-rev.1*
This page took 0.064889 seconds and 4 git commands to generate.