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

105 lines
2.8 KiB
RPMSpec
Raw Normal View History

%define _use_internal_dependency_generator 0
Name: perl-Net-DNS
2004-10-11 21:31:14 +00:00
Version: 0.48
2005-03-31 09:28:26 +00:00
Release: 4
Summary: Net-DNS Perl module
2004-10-11 21:31:14 +00:00
License: Distributable
Group: Development/Libraries
URL: http://search.cpan.org/search?mode=module&query=Net%3a%3aDNS
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: perl >= 0:5.00503
Source0: Net-DNS-%{version}.tar.gz
Source1: filter-depends.sh
BuildRequires: perl-Digest-HMAC
2004-10-11 21:31:14 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%define __find_requires %{SOURCE1}
%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
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor < /dev/null
make
make test || :
%clean
rm -rf $RPM_BUILD_ROOT
2004-10-11 21:31:14 +00:00
%install
rm -rf $RPM_BUILD_ROOT
eval `perl '-V:installarchlib'`
mkdir -p $RPM_BUILD_ROOT/$installarchlib
make install
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
find $RPM_BUILD_ROOT/usr -type f -print | \
sed "s@^$RPM_BUILD_ROOT@@g" | \
grep -v perllocal.pod | \
grep -v "\.packlist" > Net-DNS-%{version}-filelist
if [ "$(cat Net-DNS-%{version}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
fi
%files -f Net-DNS-%{version}-filelist
%defattr(-,root,root)
%changelog
2005-03-31 09:28:26 +00:00
* Wed Mar 30 2005 Warren Togami <wtogami@redhat.com>
- remove brp-compress
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