3 %bcond_without autodeps # don't BR packages needed only for resolving deps
5 %include /usr/lib/rpm/macros.perl
6 Summary: The dnswalk DNS database debugger
11 Group: Applications/Networking
12 Source0: http://www.visi.com/~barr/dnswalk/%{name}-%{version}.tar.gz
13 # Source0-md5: 62b9302822353fad71d51aefdae1cad1
14 Patch0: %{name}-perlpath.patch
15 Patch1: %{name}-delete-filterout.patch
16 URL: http://www.visi.com/~barr/dnswalk/
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: perl-Net-DNS
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 dnswalk is a DNS debugger. It performs zone transfers of specified
26 domains, and checks the database in numerous ways for internal
27 consistency, as well as accuracy.
35 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
38 install %{name} $RPM_BUILD_ROOT%{_sbindir}
39 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc CHANGES README TODO makereports sendreports rfc1912.txt do-dnswalk
47 %attr(755,root,root) %{_sbindir}/%{name}
48 %{_mandir}/man1/%{name}.1*