perl-Net-DNS/perl-Net-DNS.spec

106 lines
3.1 KiB
RPMSpec
Raw Normal View History

Name: perl-Net-DNS
Version: 0.49
Release: 2
Summary: DNS resolver modules for Perl
License: GPL or Artistic
Group: Development/Libraries
URL: http://www.net-dns.org/
Source0: http://www.cpan.org/authors/id/O/OL/OLAF/Net-DNS-%{version}.tar.gz
BuildRequires: perl >= 1:5.6.1, perl-Digest-HMAC
2004-10-11 21:31:14 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Net::DNS is a collection of Perl modules that act as a Domain Name
System (DNS) resolver. It allows the programmer to perform DNS queries
that are beyond the capabilities of gethostbyname and gethostbyaddr.
The programmer should be somewhat familiar with the format of a DNS
packet and its various sections. See RFC 1035 or DNS and BIND (Albitz
& Liu) for details.
%prep
%setup -q -n Net-DNS-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --no-online-tests
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
2004-10-11 21:31:14 +00:00
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README
%{perl_vendorarch}/Net/
%exclude %{perl_vendorarch}/Net/DNS/Resolver/Cygwin.pm
%exclude %{perl_vendorarch}/Net/DNS/Resolver/Win32.pm
%{perl_vendorarch}/auto/Net/
%{_mandir}/man3/Net::DNS*.3*
%exclude %{_mandir}/man3/Net::DNS::Resolver::Cygwin.3*
%exclude %{_mandir}/man3/Net::DNS::Resolver::Win32.3*
%changelog
* Sat Apr 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.49-2
- Explicitly disable tests requiring network access at build time.
- Exclude Win32 and Cygwin specific modules.
- More specfile cleanups.
- Honor $RPM_OPT_FLAGS.
* Sat Apr 02 2005 Robert Scheck <redhat@linuxnetz.de> 0.49-1
- upgrade to 0.49 and spec file cleanup (#153186)
2005-03-31 09:28:26 +00:00
2005-03-17 19:29:12 +00:00
* Thu Mar 17 2005 Warren Togami <wtogami@redhat.com> 0.48-3
- reinclude ia64, thanks jvdias
* Tue Mar 15 2005 Warren Togami <wtogami@redhat.com> 0.48-2
- exclude ia64 for now due to Bug #151127
2005-03-15 00:36:38 +00:00
2004-10-11 21:31:14 +00:00
* Mon Oct 11 2004 Warren Togami <wtogami@redhat.com> 0.48-1
- #119983 0.48 fixes bugs
2004-09-22 14:21:35 +00:00
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 0.45-4
- rebuild
* Thu Apr 29 2004 Chip Turner <cturner@redhat.com> 0.45-3
- fix bug 122039 -- add filter-depends.sh to remove Win32 deps
* Fri Apr 23 2004 Chip Turner <cturner@redhat.com> 0.45-1
- bump, no longer noarch
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 0.45-1
- update to 0.45
* Mon Oct 20 2003 Chip Turner <cturner@redhat.com> 0.31-3.2
- fix interactive build issue
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
- version bump and rebuild
* Tue Dec 10 2002 Chip Turner <cturner@redhat.com>
- update to latest version from CPAN
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
* Tue Aug 6 2002 Chip Turner <cturner@localhost.localdomain>
- update to 0.26
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
- description update
* Sat Jun 15 2002 cturner@redhat.com
- Specfile autogenerated