Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > d316f95dbad8cb2c1cb68074334bdade > files > 2

dlint-1.4.0-1mdk.src.rpm

%define name dlint
%define version 1.4.0
%define release 1mdk

Summary: A DNS error checking utility
Name: %{name}
Version: %{version}
Release: %{release}
Source: http://www.domtools.com/pub/%{name}%{version}.tar.bz2
Patch0: %{name}-rrfilt.patch.bz2
License: GPL
URL: http://www.domtools.com/dns/dlint.shtml
Group: Networking/Other
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: bind-utils, perl

%description 
This program analyzes any DNS zone you specify, and reports any
problems it finds by displaying errors and warnings.  Then it descends
recursively to examine all zones below the given one (this can be
disabled with a command- line option).

%prep
%setup -q -n %{name}%{version}
%patch0 -p1 -b .rrfilt
%build

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir} \
	$RPM_BUILD_ROOT%{_mandir}/man1
install -m 755 dlint digparse $RPM_BUILD_ROOT%{_bindir}
install -m 644 dlint.1 $RPM_BUILD_ROOT%{_mandir}/man1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README COPYING CHANGES COPYRIGHT TESTCASES
%{_bindir}/*
%{_mandir}/*/*

%changelog
* Fri Jan 11 2002 Giuseppe Ghibò <ghibo@mandrakesoft.com> 1.4.0-1mdk
- initial release.