parent
0e36e88239
commit
c32dd7f94d
@ -1 +1,2 @@
|
|||||||
URI-1.30.tar.gz
|
URI-1.30.tar.gz
|
||||||
|
URI-1.35.tar.gz
|
||||||
|
@ -1,61 +1,62 @@
|
|||||||
%define _use_internal_dependency_generator 0
|
|
||||||
|
|
||||||
Summary: A Perl module implementing URI parsing and manipulation.
|
|
||||||
Name: perl-URI
|
Name: perl-URI
|
||||||
Version: 1.30
|
Version: 1.35
|
||||||
Release: 5
|
Release: 1
|
||||||
License: distributable
|
Summary: A Perl module implementing URI parsing and manipulation
|
||||||
Group: Applications/CPAN
|
|
||||||
Source0: URI-%{version}.tar.gz
|
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
|
Source1: filter-requires-perl-URI.sh
|
||||||
Url: http://search.cpan.org/search?query=URI
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRoot: %{_tmppath}/perl-URI-buildroot/
|
|
||||||
BuildRequires: perl >= 0:5.00503
|
|
||||||
BuildRequires: perl(MIME::Base64)
|
|
||||||
Requires: perl >= 0:5.00503
|
|
||||||
Provides: perl-URI
|
|
||||||
BuildArch: noarch
|
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
|
%description
|
||||||
This module implements the URI class. Objects of this class represent
|
This module implements the URI class. Objects of this class represent
|
||||||
"Uniform Resource Identifier references" as specified in RFC 2396 (and
|
"Uniform Resource Identifier references" as specified in RFC 2396 (and
|
||||||
updated by RFC 2732).
|
updated by RFC 2732).
|
||||||
|
|
||||||
%define __find_requires %{SOURCE1}
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n URI-%{version}
|
%setup -q -n URI-%{version}
|
||||||
|
chmod 644 uri-test
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
make test || /bin/true
|
|
||||||
|
%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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install
|
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes README rfc2396.txt uri-test
|
||||||
|
%{perl_vendorlib}/URI*
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
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
|
%changelog
|
||||||
* Wed Mar 30 2005 Warren Togami <wtogami@redhat.com>
|
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.35-1
|
||||||
- remove brp-compress
|
- Update to 1.35.
|
||||||
|
- Spec cleanup (#153205)
|
||||||
|
|
||||||
* Thu Sep 23 2004 Chip Turner <cturner@redhat.com> 1.30-3
|
* Thu Sep 23 2004 Chip Turner <cturner@redhat.com> 1.30-3
|
||||||
- rebuild
|
- rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user