auto-import changelog data from perl-Net-DNS-0.23-4.src.rpm
Sat Jun 15 2002 cturner@redhat.com - Specfile autogenerated
This commit is contained in:
parent
bd10fdcdb3
commit
a6761a426e
@ -0,0 +1 @@
|
||||
Net-DNS-0.23.tar.gz
|
51
perl-Net-DNS.spec
Normal file
51
perl-Net-DNS.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: perl-Net-DNS
|
||||
Version: 0.23
|
||||
Release: 4
|
||||
Packager: cturner@redhat.com
|
||||
Summary: Net-DNS Perl module
|
||||
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-0.23.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-Digest-HMAC
|
||||
|
||||
%description
|
||||
Net-DNS Perl module
|
||||
%prep
|
||||
%setup -q -n Net-DNS-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
|
||||
make
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%install
|
||||
|
||||
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
|
||||
|
||||
find $RPM_BUILD_ROOT/usr -type f -print | \
|
||||
sed "s@^$RPM_BUILD_ROOT@@g" | \
|
||||
grep -v perllocal.pod | \
|
||||
grep -v "\.packlist" > Net-DNS-0.23-filelist
|
||||
if [ "$(cat Net-DNS-0.23-filelist)X" = "X" ] ; then
|
||||
echo "ERROR: EMPTY FILE LIST"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
%files -f Net-DNS-0.23-filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Sat Jun 15 2002 cturner@redhat.com
|
||||
- Specfile autogenerated
|
||||
|
Loading…
Reference in New Issue
Block a user