# Automatically generated by Net-DNSServer.spec.PL
%define perlmod Net-DNSServer
Summary:	%{perlmod} perl module
Name:		perl-%{perlmod}
Version:	0.11
Release:	1
License:	GPL
Group:		Development/Languages/Perl
Source0:	http://www.cpan.org./authors/id/B/BB/BBB/%{perlmod}-%{version}.tar.gz
Packager:	Rob Brown <bbb@cpan.org>
Prefix: 	/usr
BuildRequires:	perl, Net-DNS, Net-Bind, Net-Server, DBI
Requires:	perl, Net-DNS, Net-Bind, Net-Server
BuildRoot:	/var/tmp/%{name}-%{version}-root-%(id -u -n)
Provides:	%{perlmod} = %{version}

%description
%{perlmod} Perl Module

%prep
%setup -q -n %{perlmod}-%{version}

%build
perl Makefile.PL
make
make test

%install
rm -rf $RPM_BUILD_ROOT
make PREFIX=$RPM_BUILD_ROOT%{prefix} install
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
find $RPM_BUILD_ROOT%{prefix} -type f -print | perl -ne "print if s@^$RPM_BUILD_ROOT@@g && !/perllocal|packlist/" > %{name}-filelist

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}-filelist
%defattr(-,root,root)
%doc README INSTALL TODO BUGS Changes demo

%post

%changelog
* Sat Apr 06 2002 Rob Brown <bbb@cpan.org>
- initial creation