Blame SPECS/perl-URI.spec

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