2005-03-16 05:04:15 +00:00
|
|
|
ExcludeArch: ia64
|
|
|
|
|
2004-09-09 10:13:52 +00:00
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
|
2004-09-09 10:13:39 +00:00
|
|
|
Name: perl-Net-DNS
|
2004-10-11 21:31:14 +00:00
|
|
|
Version: 0.48
|
2005-03-15 00:36:38 +00:00
|
|
|
Release: 2
|
2004-09-09 10:13:39 +00:00
|
|
|
Summary: Net-DNS Perl module
|
2004-10-11 21:31:14 +00:00
|
|
|
License: Distributable
|
2004-09-09 10:13:39 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/search?mode=module&query=Net%3a%3aDNS
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
BuildRequires: perl >= 0:5.00503
|
2004-09-09 10:13:42 +00:00
|
|
|
Source0: Net-DNS-%{version}.tar.gz
|
2004-09-09 10:15:50 +00:00
|
|
|
Source1: filter-depends.sh
|
2004-09-09 10:13:39 +00:00
|
|
|
BuildRequires: perl-Digest-HMAC
|
2004-10-11 21:31:14 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2004-09-09 10:13:39 +00:00
|
|
|
|
2004-09-09 10:15:50 +00:00
|
|
|
%define __find_requires %{SOURCE1}
|
|
|
|
|
2004-09-09 10:13:39 +00:00
|
|
|
%description
|
2004-09-09 10:13:42 +00:00
|
|
|
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.
|
|
|
|
|
2004-09-09 10:13:39 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n Net-DNS-%{version}
|
|
|
|
|
|
|
|
%build
|
2004-09-09 10:14:46 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor < /dev/null
|
2004-09-09 10:13:39 +00:00
|
|
|
make
|
2004-09-09 10:15:50 +00:00
|
|
|
make test || :
|
2004-09-09 10:13:39 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-10-11 21:31:14 +00:00
|
|
|
%install
|
2004-09-09 10:13:39 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
eval `perl '-V:installarchlib'`
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/$installarchlib
|
|
|
|
make install
|
|
|
|
|
|
|
|
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
|
|
|
|
|
2004-09-09 10:13:52 +00:00
|
|
|
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
|
|
|
|
|
2004-09-09 10:13:39 +00:00
|
|
|
find $RPM_BUILD_ROOT/usr -type f -print | \
|
|
|
|
sed "s@^$RPM_BUILD_ROOT@@g" | \
|
|
|
|
grep -v perllocal.pod | \
|
2004-09-09 10:13:42 +00:00
|
|
|
grep -v "\.packlist" > Net-DNS-%{version}-filelist
|
|
|
|
if [ "$(cat Net-DNS-%{version}-filelist)X" = "X" ] ; then
|
2004-09-09 10:13:39 +00:00
|
|
|
echo "ERROR: EMPTY FILE LIST"
|
|
|
|
exit -1
|
|
|
|
fi
|
|
|
|
|
2004-09-09 10:13:42 +00:00
|
|
|
%files -f Net-DNS-%{version}-filelist
|
2004-09-09 10:13:39 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2005-03-16 05:04:15 +00:00
|
|
|
* 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
|
|
|
|
|
2004-09-09 10:15:50 +00:00
|
|
|
* 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
|
|
|
|
|
2004-09-09 10:14:46 +00:00
|
|
|
* Mon Oct 20 2003 Chip Turner <cturner@redhat.com> 0.31-3.2
|
|
|
|
- fix interactive build issue
|
|
|
|
|
2004-09-09 10:13:52 +00:00
|
|
|
* 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
|
|
|
|
|
2004-09-09 10:13:42 +00:00
|
|
|
* 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
|
|
|
|
|
2004-09-09 10:13:39 +00:00
|
|
|
* Sat Jun 15 2002 cturner@redhat.com
|
|
|
|
- Specfile autogenerated
|
|
|
|
|