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