%define _use_internal_dependency_generator 0 Summary: A Perl module implementing URI parsing and manipulation. Name: perl-URI Version: 1.30 Release: 4 License: distributable Group: Applications/CPAN Source0: URI-%{version}.tar.gz Source1: filter-requires-perl-URI.sh Url: http://search.cpan.org/search?query=URI BuildRoot: %{_tmppath}/perl-URI-buildroot/ BuildRequires: perl >= 0:5.00503 BuildRequires: perl(MIME::Base64) Requires: perl >= 0:5.00503 Provides: perl-URI BuildArch: noarch %description This module implements the URI class. Objects of this class represent "Uniform Resource Identifier references" as specified in RFC 2396 (and updated by RFC 2732). %define __find_requires %{SOURCE1} %prep %setup -q -n URI-%{version} %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor make make test || /bin/true %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 \( -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" > URI-%{version}-filelist if [ "$(cat URI-%{version}-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi %files -f URI-%{version}-filelist %defattr(-,root,root) %dir /usr/lib/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/URI %changelog * Thu Sep 23 2004 Chip Turner 1.30-3 - rebuild * Wed Sep 22 2004 Chip Turner 1.30-2 - rebuild * Fri Feb 13 2004 Chip Turner 1.30-1 - update to 1.30 * Tue Aug 6 2002 Chip Turner - automated release bump and build * Tue Aug 6 2002 Chip Turner - update to 1.21 * Tue Jun 4 2002 Chip Turner - properly claim directories owned by package so they are removed when package is removed * Wed Jan 09 2002 Tim Powers - automated rebuild * Fri Dec 7 2001 root - Spec file was autogenerated.