Blame SPECS/perl-URI.spec

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