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