diff --git a/.cvsignore b/.cvsignore index db0692f..5a369d2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -libwww-perl-5.64.tar.gz +libwww-perl-5.65.tar.gz diff --git a/perl-libwww-perl.spec b/perl-libwww-perl.spec new file mode 100644 index 0000000..a7d9694 --- /dev/null +++ b/perl-libwww-perl.spec @@ -0,0 +1,83 @@ +Summary: A Perl interface to the World-Wide Web. +Name: perl-libwww-perl +Version: 5.65 +Release: 2 +License: distributable +Group: Applications/CPAN +Source0: libwww-perl-%{version}.tar.gz +Source10: filter-depends.sh +Url: http://www.cpan.org +BuildRoot: %{_tmppath}/perl-libwww-perl-buildroot/ +BuildRequires: perl >= 0:5.00503 +Requires: perl >= 0:5.00503 +Requires: perl(URI) perl(Digest::MD5) +Requires: perl(HTML::Parser) +Requires: perl(HTML::Entities) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(HTML::Entities) +BuildArch: noarch + +%description +The libwww-perl collection is a set of Perl modules which provides a +simple and consistent application programming interface to the +World-Wide Web. The main focus of the library is to provide classes +and functions that allow you to write WWW clients. The library also +contain modules that are of more general use and even classes that +help you implement simple HTTP servers. + + +# Provide perl-specific find-{provides,requires}. +%define __find_provides /usr/lib/rpm/find-provides.perl +%define __find_requires %{SOURCE10} + +%prep +%setup -q -n libwww-perl-%{version} + +%build +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INST_EXE=$RPM_BUILD_ROOT/usr/bin PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor < /dev/null +make + +%clean +rm -rf $RPM_BUILD_ROOT + +%install +rm -rf $RPM_BUILD_ROOT +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" > libwww-perl-%{version}-filelist +if [ "$(cat libwww-perl-%{version}-filelist)X" = "X" ] ; then + echo "ERROR: EMPTY FILE LIST" + exit -1 +fi + +%files -f libwww-perl-%{version}-filelist +%defattr(-,root,root) +%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/LWP +%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/Net +%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/WWW +%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/WWW/RobotRules +%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/File +%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/HTML +%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/HTTP + + +%changelog +* Tue Aug 6 2002 Chip Turner +- automated release bump and build + +* Tue Jul 16 2002 Chip Turner +- added missing Requires on perl(HTML::Entities) + +* Fri Mar 29 2002 Chip Turner +- added Requires: for perl-URI and perl-Digest-MD5 + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Fri Dec 7 2001 root +- Spec file was autogenerated. diff --git a/sources b/sources index c8ddd75..a1948a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3959ddea83d2345ba7c6d64da94e042b libwww-perl-5.64.tar.gz +3908e80b96f7995042012061c57a9b73 libwww-perl-5.65.tar.gz