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