perl-URI/perl-URI.spec
Warren Togami c32dd7f94d - Update to 1.35.
- Spec cleanup (#153205)
2005-04-02 22:15:42 +00:00

84 lines
2.2 KiB
RPMSpec

Name: perl-URI
Version: 1.35
Release: 1
Summary: A Perl module implementing URI parsing and manipulation
Group: Development/Libraries
License: Distributable
URL: http://search.cpan.org/dist/URI/
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/URI-%{version}.tar.gz
Source1: filter-requires-perl-URI.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(MIME::Base64)
#BuildRequires: perl(Business::ISBN)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%define __find_requires %{SOURCE1}
%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).
%prep
%setup -q -n URI-%{version}
chmod 644 uri-test
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README rfc2396.txt uri-test
%{perl_vendorlib}/URI*
%{_mandir}/man3/*.3*
%changelog
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.35-1
- Update to 1.35.
- Spec cleanup (#153205)
* Thu Sep 23 2004 Chip Turner <cturner@redhat.com> 1.30-3
- rebuild
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1.30-2
- rebuild
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1.30-1
- update to 1.30
* 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 1.21
* Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
- properly claim directories owned by package so they are removed when package is removed
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Fri Dec 7 2001 root <root@redhat.com>
- Spec file was autogenerated.