40642e
# Utilize Business::ISBN that needs gd library
40642e
%bcond_without perl_URI_enables_Business_ISBN
40642e
40642e
Name:           perl-URI
40642e
Version:        1.71
03a161
Release:        7%{?dist}
40642e
Summary:        A Perl module implementing URI parsing and manipulation
40642e
Group:          Development/Libraries
40642e
License:        GPL+ or Artistic
40642e
URL:            http://search.cpan.org/dist/URI/
40642e
Source0:        http://www.cpan.org/authors/id/E/ET/ETHER/URI-%{version}.tar.gz
40642e
BuildArch:      noarch
40642e
# Module Build
40642e
BuildRequires:  coreutils
40642e
BuildRequires:  findutils
40642e
BuildRequires:  make
40642e
BuildRequires:  perl
40642e
BuildRequires:  perl-generators
40642e
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
40642e
BuildRequires:  perl(utf8)
40642e
# Module Runtime
40642e
BuildRequires:  perl(Carp)
40642e
BuildRequires:  perl(constant)
40642e
BuildRequires:  perl(Cwd)
40642e
BuildRequires:  perl(Data::Dumper)
40642e
BuildRequires:  perl(Encode)
40642e
BuildRequires:  perl(Exporter) >= 5.57
40642e
BuildRequires:  perl(integer)
40642e
BuildRequires:  perl(MIME::Base64) >= 2
40642e
BuildRequires:  perl(Net::Domain)
40642e
BuildRequires:  perl(overload)
40642e
BuildRequires:  perl(parent)
40642e
BuildRequires:  perl(Scalar::Util)
40642e
BuildRequires:  perl(strict)
40642e
BuildRequires:  perl(warnings)
40642e
# Test Suite
40642e
BuildRequires:  perl(Config)
40642e
BuildRequires:  perl(File::Spec::Functions)
40642e
BuildRequires:  perl(File::Temp)
40642e
BuildRequires:  perl(Storable)
40642e
BuildRequires:  perl(Test)
40642e
BuildRequires:  perl(Test::More) >= 0.96
40642e
# Runtime
40642e
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
40642e
Requires:       perl(Cwd)
40642e
Requires:       perl(Data::Dumper)
40642e
Requires:       perl(Encode)
40642e
Requires:       perl(MIME::Base64) >= 2
40642e
Requires:       perl(Net::Domain)
40642e
40642e
# Optional Functionality
40642e
%if %{with perl_URI_enables_Business_ISBN}
40642e
# Business::ISBN pulls in gd and X libraries for barcode support, hence this soft dependency (#1380152)
40642e
# Business::ISBN → Test::Pod → Pod::Simple → HTML::Entities (HTML::Parser) → URI
40642e
%if 0%{!?perl_bootstrap:1}
40642e
BuildRequires:  perl(Business::ISBN)
40642e
%endif
40642e
Suggests:       perl(Business::ISBN)
40642e
%endif
40642e
40642e
%description
40642e
This module implements the URI class. Objects of this class represent
40642e
"Uniform Resource Identifier references" as specified in RFC 2396 (and
40642e
updated by RFC 2732).
40642e
40642e
%prep
40642e
%setup -q -n URI-%{version}
40642e
chmod -c 644 uri-test
40642e
40642e
%build
40642e
perl Makefile.PL INSTALLDIRS=perl NO_PACKLIST=true
40642e
make %{?_smp_mflags}
40642e
40642e
%install
40642e
make pure_install DESTDIR=%{buildroot}
40642e
%{_fixperms} %{buildroot}
40642e
40642e
%check
40642e
make test
40642e
40642e
%files
40642e
%license LICENSE
40642e
%doc Changes README uri-test
40642e
%{perl_privlib}/URI.pm
40642e
%{perl_privlib}/URI/
40642e
%{_mandir}/man3/URI.3*
40642e
%{_mandir}/man3/URI::Escape.3*
40642e
%{_mandir}/man3/URI::Heuristic.3*
40642e
%{_mandir}/man3/URI::QueryParam.3*
40642e
%{_mandir}/man3/URI::Split.3*
40642e
%{_mandir}/man3/URI::URL.3*
40642e
%{_mandir}/man3/URI::WithBase.3*
40642e
%{_mandir}/man3/URI::_punycode.3*
40642e
%{_mandir}/man3/URI::data.3*
40642e
%{_mandir}/man3/URI::file.3*
40642e
%{_mandir}/man3/URI::ldap.3*
40642e
40642e
%changelog
03a161
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-7
03a161
- Rebuild with enable hardening (bug #1636329)
03a161
40642e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-6
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
40642e
40642e
* Fri Oct  7 2016 Paul Howarth <paul@city-fan.org> - 1.71-5
40642e
- Soften Business::ISBN dependency from Requires: to Suggests: to avoid
40642e
  pulling in gd and X libraries (#1380152)
40642e
40642e
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-4
40642e
- Perl 5.24 re-rebuild of bootstrapped packages
40642e
40642e
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-3
40642e
- Perl 5.24 rebuild
40642e
40642e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-2
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
40642e
40642e
* Fri Jan  8 2016 Paul Howarth <paul@city-fan.org> - 1.71-1
40642e
- 1.71 bump
40642e
40642e
* Wed Oct 14 2015 Paul Howarth <paul@city-fan.org> - 1.69-2
40642e
- BR: perl(Test)
40642e
40642e
* Sat Jul 25 2015 Paul Howarth <paul@city-fan.org> - 1.69-1
40642e
- 1.69 bump
40642e
40642e
* Fri Jun 26 2015 Paul Howarth <paul@city-fan.org> - 1.68-1
40642e
- 1.68 bump
40642e
40642e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.67-4
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
40642e
40642e
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.67-3
40642e
- Perl 5.22 re-rebuild of bootstrapped packages
40642e
40642e
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.67-2
40642e
- Perl 5.22 rebuild
40642e
40642e
* Wed Feb 25 2015 Paul Howarth <paul@city-fan.org> - 1.67-1
40642e
- 1.67 bump
40642e
40642e
* Fri Nov  7 2014 Paul Howarth <paul@city-fan.org> - 1.65-1
40642e
- 1.65 bump
40642e
40642e
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.64-3
40642e
- Perl 5.20 re-rebuild of bootstrapped packages
40642e
40642e
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.64-2
40642e
- Perl 5.20 rebuild
40642e
40642e
* Thu Jul 17 2014 Petr Šabata <contyk@redhat.com> - 1.64-1
40642e
- 1.64 bump
40642e
40642e
* Mon Jul 07 2014 Petr Pisar <ppisar@redhat.com> - 1.61-1
40642e
- 1.61 bump
40642e
40642e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.60-12
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
40642e
40642e
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-11
40642e
- Perl 5.18 re-rebuild of bootstrapped packages
40642e
40642e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.60-10
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
40642e
40642e
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.60-9
40642e
- Perl 5.18 rebuild
40642e
40642e
* Wed Feb 27 2013 Paul Howarth <paul@city-fan.org> - 1.60-8
40642e
- Retain runtime dependency of perl(Business::ISBN) when bootstrapping; a
40642e
  better fix for the build dependency cycle was to drop LWP::Simple as a
40642e
  buildreq of perl-Business-ISBN (needed only for optional tests) when
40642e
  bootstrapping
40642e
40642e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.60-7
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
40642e
40642e
* Fri Nov 23 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-6
40642e
- Update dependencies
40642e
40642e
* Tue Aug 28 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-5
40642e
- Specify all dependencies
40642e
40642e
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.60-4
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
40642e
40642e
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.60-3
40642e
- Perl 5.16 re-rebuild of bootstrapped packages
40642e
40642e
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.60-2
40642e
- Perl 5.16 rebuild
40642e
40642e
* Mon Mar 26 2012 Paul Howarth <paul@city-fan.org> - 1.60-1
40642e
- Update to 1.60
40642e
  - Do not reverse the order of new parameters
40642e
  - Avoid test failure if the local hostname is 'foo' (CPAN RT#75519)
40642e
  - Work around a stupid join bug in 5.8.[12] (CPAN RT#59274)
40642e
  - Updated repository URL
40642e
- Don't need to remove empty directories from buildroot
40642e
- BR: perl(constant)
40642e
40642e
* Fri Jan 20 2012 Paul Howarth <paul@city-fan.org> - 1.59-3
40642e
- Break build dependency loop by only using perl(Business::ISBN) if we're not
40642e
  bootstrapping
40642e
- BR: perl(Carp) and perl(Exporter)
40642e
- Make %%files list more explicit
40642e
- Use DESTDIR rather than PERL_INSTALL_ROOT
40642e
- Use %%{_fixperms} macro rather than our own chmod incantation
40642e
- Don't use macros for commands
40642e
40642e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.59-2
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
40642e
40642e
* Sun Oct  2 2011 Tom Callaway <spot@fedoraproject.org> - 1.59-1
40642e
- update to 1.59
40642e
40642e
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.58-2
40642e
- Perl mass rebuild
40642e
40642e
* Wed Mar 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.58-1
40642e
- update to 1.58
40642e
40642e
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.56-2
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
40642e
40642e
* Mon Oct 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.56-1
40642e
- update
40642e
40642e
* Mon Oct 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.55-1
40642e
- update
40642e
40642e
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.54-2
40642e
- Mass rebuild with perl-5.12.0
40642e
40642e
* Mon Apr 19 2010 Petr Pisar <ppisar@redhat.com> - 1.54-1
40642e
- version bump
40642e
- Changes is in UTF-8 already
40642e
- rfc2396.txt removed by upstream
40642e
40642e
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.40-2
40642e
- rebuild against perl 5.10.1
40642e
40642e
* Tue Oct  6 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.40-1
40642e
- update to new upstream release
40642e
40642e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-3
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
40642e
40642e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-2
40642e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
40642e
40642e
* Fri Feb 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.37-1
40642e
- Upstream update.
40642e
- Add BR: perl(Test::More), perl(Business::ISBN).
40642e
- Remove requires-filter.
40642e
40642e
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.35-8
40642e
- Rebuild for perl 5.10 (again)
40642e
40642e
* Wed Feb 13 2008 Robin Norwood <rnorwood@redhat.com> - 1.35-7
40642e
- rebuild again for new perl
40642e
40642e
* Wed Feb 13 2008 Robin Norwood <rnorwood@redhat.com> - 1.35-6
40642e
- Last update for package review
40642e
40642e
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.35-5
40642e
- rebuild for new perl
40642e
40642e
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 1.35-4
40642e
- Fix various package review issues:
40642e
- Remove redundant BR: perl
40642e
- remove "|| :" from %%check
40642e
- move requires filter into spec file
40642e
- remove tabs and fix spacing
40642e
40642e
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.35-3.1
40642e
- correct license tag
40642e
- add BR: perl(ExtUtils::MakeMaker)
40642e
40642e
* Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.35-3
40642e
- fix License: tag
40642e
40642e
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.35-2.2
40642e
- rebuild for new perl-5.8.8
40642e
40642e
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
40642e
- rebuilt for new gcc
40642e
40642e
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
40642e
- rebuilt for new gcj
40642e
40642e
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.35-2
40642e
- Update to 1.35.
40642e
- Spec cleanup (#153205)
40642e
40642e
* Thu Sep 23 2004 Chip Turner <cturner@redhat.com> 1.30-3
40642e
- rebuild
40642e
40642e
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1.30-2
40642e
- rebuild
40642e
40642e
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1.30-1
40642e
- update to 1.30
40642e
40642e
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
40642e
- automated release bump and build
40642e
40642e
* Tue Aug  6 2002 Chip Turner <cturner@localhost.localdomain>
40642e
- update to 1.21
40642e
40642e
* Tue Jun  4 2002 Chip Turner <cturner@redhat.com>
40642e
- properly claim directories owned by package so they are removed when package is removed
40642e
40642e
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
40642e
- automated rebuild
40642e
40642e
* Fri Dec 7 2001 root <root@redhat.com>
40642e
- Spec file was autogenerated.