Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > c63d88cc74a6c8ba2a071dedad738d8c > files > 3

dnswalk-2.0.2-1mdk.src.rpm

%define name dnswalk
%define version	2.0.2
%define release	1mdk

Summary: The dnswalk DNS database debugger
Name: %{name}
Version: %{version}
Release: %{release}
Group: Networking/Other
URL: http://www.cis.ohio-state.edu/~barr/dnswalk/
License: Artistic
Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-perlpath.patch.bz2
Requires: perl-Net-DNS
Requires: perl >= 5.004
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Buildarch: noarch

%description
dnswalk is a DNS debugger. It performs zone transfers of specified
domains, and checks the database in numerous ways for internal
consistency, as well as accuracy. 

%prep
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%setup -q -c -a0
%patch0 -p1

%build

# fix attr
chmod 644 *

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

install -d %{buildroot}%{_sbindir}
install -d %{buildroot}%{_mandir}/man1
install -m755 %{name} %{buildroot}%{_sbindir}/
install -m755 %{name}.1 %{buildroot}%{_mandir}/man1/

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGES README TODO makereports sendreports rfc1912.txt do-dnswalk
%attr(0755,root,root) %{_sbindir}/%{name}
%{_mandir}/man1/%{name}.1*

%changelog
* Sat Jun 29 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.2-1mdk
- initial cooker contrib