Blame SPECS/perl-Archive-Tar.spec

80d4bd
%{?scl:%scl_package perl-Archive-Tar}
80d4bd
80d4bd
Name:           %{?scl_prefix}perl-Archive-Tar
80d4bd
Version:        2.10
80d4bd
Release:        1%{?dist}
80d4bd
Summary:        A module for Perl manipulation of .tar files
80d4bd
Group:          Development/Libraries
80d4bd
License:        GPL+ or Artistic
80d4bd
URL:            http://search.cpan.org/dist/Archive-Tar/
80d4bd
Source0:        http://www.cpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{version}.tar.gz
80d4bd
# Remove annoying sleep after warnings in the build script
80d4bd
Patch0:         Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch
80d4bd
BuildArch:      noarch
80d4bd
# Most of the BRS are needed only for tests, compression support at run-time
80d4bd
# is optional soft dependency.
80d4bd
BuildRequires:  findutils
80d4bd
BuildRequires:  make
80d4bd
BuildRequires:  %{?scl_prefix}perl
80d4bd
BuildRequires:  %{?scl_prefix}perl-generators
80d4bd
BuildRequires:  %{?scl_prefix}perl(Config)
80d4bd
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
80d4bd
# File::Copy not used
80d4bd
BuildRequires:  %{?scl_prefix}perl(Getopt::Std)
80d4bd
BuildRequires:  %{?scl_prefix}perl(strict)
80d4bd
# Run-time:
80d4bd
BuildRequires:  %{?scl_prefix}perl(Carp)
80d4bd
BuildRequires:  %{?scl_prefix}perl(constant)
80d4bd
BuildRequires:  %{?scl_prefix}perl(Cwd)
80d4bd
BuildRequires:  %{?scl_prefix}perl(Data::Dumper)
80d4bd
BuildRequires:  %{?scl_prefix}perl(Exporter)
80d4bd
BuildRequires:  %{?scl_prefix}perl(File::Basename)
80d4bd
BuildRequires:  %{?scl_prefix}perl(File::Find)
80d4bd
BuildRequires:  %{?scl_prefix}perl(File::Path)
80d4bd
BuildRequires:  %{?scl_prefix}perl(File::Spec) >= 0.82
80d4bd
BuildRequires:  %{?scl_prefix}perl(File::Spec::Unix)
80d4bd
BuildRequires:  %{?scl_prefix}perl(Getopt::Long)
80d4bd
BuildRequires:  %{?scl_prefix}perl(IO::File)
80d4bd
BuildRequires:  %{?scl_prefix}perl(IO::Handle)
80d4bd
BuildRequires:  %{?scl_prefix}perl(IO::Zlib) >= 1.01
80d4bd
BuildRequires:  %{?scl_prefix}perl(Pod::Usage)
80d4bd
# Time::Local not used on Linux
80d4bd
BuildRequires:  %{?scl_prefix}perl(vars)
80d4bd
BuildRequires:  %{?scl_prefix}perl(warnings)
80d4bd
# Optional run-time:
80d4bd
BuildRequires:  %{?scl_prefix}perl(IO::Compress::Bzip2) >= 2.015
80d4bd
# IO::String not used if perl supports useperlio which is true
80d4bd
# Use Compress::Zlib's version for IO::Uncompress::Bunzip2
80d4bd
BuildRequires:  %{?scl_prefix}perl(IO::Uncompress::Bunzip2) >= 2.015
80d4bd
%if !%{defined perl_bootstrap}
80d4bd
BuildRequires:  %{?scl_prefix}perl(Text::Diff)
80d4bd
%endif
80d4bd
# Tests:
80d4bd
BuildRequires:  %{?scl_prefix}perl(File::Copy)
80d4bd
BuildRequires:  %{?scl_prefix}perl(File::Temp)
80d4bd
BuildRequires:  %{?scl_prefix}perl(FindBin)
80d4bd
BuildRequires:  %{?scl_prefix}perl(lib)
80d4bd
BuildRequires:  %{?scl_prefix}perl(Test::Harness) >= 2.26
80d4bd
BuildRequires:  %{?scl_prefix}perl(Test::More)
80d4bd
# Optional tests:
80d4bd
%if !%{defined perl_bootstrap} && !%{defined perl_small}
80d4bd
BuildRequires:  %{?scl_prefix}perl(Test::Pod) >= 0.95
80d4bd
%endif
80d4bd
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
80d4bd
Requires:       %{?scl_prefix}perl(IO::Zlib) >= 1.01
80d4bd
# Optional run-time:
80d4bd
Requires:       %{?scl_prefix}perl(IO::Compress::Bzip2) >= 2.015
80d4bd
# IO::String not used if perl supports useperlio which is true
80d4bd
# Use Compress::Zlib's version for IO::Uncompress::Bunzip2
80d4bd
Requires:       %{?scl_prefix}perl(IO::Uncompress::Bunzip2) >= 2.015
80d4bd
%if !%{defined perl_bootstrap}
80d4bd
Requires:       %{?scl_prefix}perl(Text::Diff)
80d4bd
%endif
80d4bd
80d4bd
# Remove under-specified dependencies
80d4bd
%if 0%{?rhel} < 7
80d4bd
# RPM 4.8 style
80d4bd
%{?filter_setup:
80d4bd
%filter_from_requires /^%{?scl_prefix}perl(IO::Zlib)$/d
80d4bd
%?perl_default_filter
80d4bd
}
80d4bd
%else
80d4bd
# RPM 4.9 style
80d4bd
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(IO::Zlib\\)$
80d4bd
%endif
80d4bd
80d4bd
%description
80d4bd
Archive::Tar provides an object oriented mechanism for handling tar
80d4bd
files.  It provides class methods for quick and easy files handling
80d4bd
while also allowing for the creation of tar file objects for custom
80d4bd
manipulation.  If you have the IO::Zlib module installed, Archive::Tar
80d4bd
will also support compressed or gzipped tar files.
80d4bd
80d4bd
%prep
80d4bd
%setup -q -n Archive-Tar-%{version}
80d4bd
%patch0 -p1
80d4bd
80d4bd
%build
80d4bd
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
80d4bd
80d4bd
%install
80d4bd
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
80d4bd
find %{buildroot} -type f -name .packlist -delete
80d4bd
%{_fixperms} %{buildroot}/*
80d4bd
80d4bd
%check
80d4bd
%{?scl:scl enable %{scl} '}make test%{?scl:'}
80d4bd
80d4bd
%files
80d4bd
%doc CHANGES README
80d4bd
%{_bindir}/*
80d4bd
%{perl_vendorlib}/Archive/
80d4bd
%{_mandir}/man3/*.3*
80d4bd
%{_mandir}/man1/*.1*
80d4bd
80d4bd
80d4bd
%changelog
80d4bd
* Fri Jul 29 2016 Petr Pisar <ppisar@redhat.com> - 2.10-1
80d4bd
- 2.10 bump
80d4bd
80d4bd
* Sun Jul 24 2016 Petr Pisar <ppisar@redhat.com> - 2.08-5
80d4bd
- Rebuild without bootstrap
80d4bd
80d4bd
* Mon Jul 11 2016 Petr Pisar <ppisar@redhat.com> - 2.08-4
80d4bd
- SCL
80d4bd
80d4bd
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.08-3
80d4bd
- Perl 5.24 re-rebuild of bootstrapped packages
80d4bd
80d4bd
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.08-2
80d4bd
- Perl 5.24 rebuild
80d4bd
80d4bd
* Thu May 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.08-1
80d4bd
- 2.08 bump
80d4bd
80d4bd
* Tue Apr 26 2016 Petr Pisar <ppisar@redhat.com> - 2.06-1
80d4bd
- 2.06 bump
80d4bd
80d4bd
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.04-348
80d4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
80d4bd
80d4bd
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.04-347
80d4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
80d4bd
80d4bd
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-346
80d4bd
- Perl 5.22 re-rebuild of bootstrapped packages
80d4bd
80d4bd
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-345
80d4bd
- Increase release to favour standalone package
80d4bd
80d4bd
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-2
80d4bd
- Perl 5.22 rebuild
80d4bd
80d4bd
* Tue Dec 16 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-1
80d4bd
- 2.04 bump
80d4bd
80d4bd
* Wed Dec 10 2014 Petr Pisar <ppisar@redhat.com> - 2.02-2
80d4bd
- Remove unneeded dependencies
80d4bd
- Remove annoying sleep after warnings in the build script
80d4bd
80d4bd
* Thu Sep 18 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-1
80d4bd
- 2.02 bump
80d4bd
80d4bd
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.00-3
80d4bd
- Perl 5.20 re-rebuild of bootstrapped packages
80d4bd
80d4bd
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.00-2
80d4bd
- Perl 5.20 rebuild
80d4bd
80d4bd
* Mon Jun 23 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.00-1
80d4bd
- 2.00 bump
80d4bd
80d4bd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.96-2
80d4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
80d4bd
80d4bd
* Fri Oct 25 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.96-1
80d4bd
- 1.96 bump
80d4bd
80d4bd
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-4
80d4bd
- Perl 5.18 re-rebuild of bootstrapped packages
80d4bd
80d4bd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.92-3
80d4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
80d4bd
80d4bd
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.92-2
80d4bd
- Perl 5.18 rebuild
80d4bd
80d4bd
* Thu Jun 20 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-1
80d4bd
- 1.92 bump
80d4bd
- Use DESTDIR rather than PERL_INSTALL_ROOT
80d4bd
- Update dependencies
80d4bd
80d4bd
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.90-3
80d4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
80d4bd
80d4bd
* Tue Sep 18 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.90-2
80d4bd
- Add BRs perl(lib), perl(IO::File)
80d4bd
80d4bd
* Thu Sep 13 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.90-1
80d4bd
- 1.90 bump
80d4bd
80d4bd
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.88-5
80d4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
80d4bd
80d4bd
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.88-4
80d4bd
- Perl 5.16 re-rebuild of bootstrapped packages
80d4bd
80d4bd
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.88-3
80d4bd
- Perl 5.16 rebuild
80d4bd
80d4bd
* Mon Jun 04 2012 Petr Šabata <contyk@redhat.com> - 1.88-2
80d4bd
- 1.88 bump
80d4bd
- Drop command macros
80d4bd
80d4bd
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 1.84-2
80d4bd
- Omit optional Test::Pod tests on bootstrap
80d4bd
80d4bd
* Wed Mar 14 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.84-1
80d4bd
- 1.84 bump #802981 
80d4bd
80d4bd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.82-2
80d4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
80d4bd
80d4bd
* Tue Nov 22 2011 Petr Šabata <contyk@redhat.com> - 1.82-1
80d4bd
- 1.82 bump
80d4bd
80d4bd
* Fri Oct 14 2011 Petr Sabata <contyk@redhat.com> - 1.80-1
80d4bd
- 1.80 bump
80d4bd
80d4bd
* Fri Sep 09 2011 Petr Pisar <ppisar@redhat.com> - 1.78-1
80d4bd
- 1.78 bump
80d4bd
- Remove BuildRoot and defattr code from spec
80d4bd
80d4bd
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.76-3
80d4bd
- Perl mass rebuild
80d4bd
80d4bd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.76-2
80d4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
80d4bd
80d4bd
* Mon Jan 10 2011 Petr Pisar <ppisar@redhat.com> - 1.76-1
80d4bd
- 1.76 bump
80d4bd
80d4bd
* Mon Jan 03 2011 Petr Sabata <psabata@redhat.com> - 1.74-1
80d4bd
- 1.74 bump
80d4bd
80d4bd
* Fri Nov 19 2010 Petr Pisar <ppisar@redhat.com> - 1.72-1
80d4bd
- 1.72 bump
80d4bd
80d4bd
* Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> - 1.68-1
80d4bd
- 1.68 bump
80d4bd
80d4bd
* Tue Jul 13 2010 Petr Pisar <ppisar@redhat.com> - 1.64-1
80d4bd
- 1.64 bump
80d4bd
80d4bd
* Tue Jul 13 2010 Petr Pisar <ppisar@redhat.com> - 1.62-1
80d4bd
- 1.62 bump (bug #607687)
80d4bd
80d4bd
* Thu Aug 23 2007 Robin Norwood <rnorwood@redhat.com> - 1.34-1
80d4bd
- Upgrade to latest upstream version: 1.34
80d4bd
- Fix license tag
80d4bd
- Fix BuildRequires for ExtUtils::MakeMaker and Test::Pod
80d4bd
80d4bd
* Mon Jun 04 2007 Robin Norwood <rnorwood@redhat.com> - 1.32-1
80d4bd
- Upgrade to latest upstream version: 1.32
80d4bd
80d4bd
* Mon Mar 05 2007 Robin Norwood <rnorwood@redhat.com> - 1.30-4
80d4bd
- Fix changelog
80d4bd
80d4bd
* Mon Feb 19 2007 Robin Norwood <rnorwood@redhat.com> - 1.30-3
80d4bd
- Incorporate specfile improvements from Jose Oliveira.
80d4bd
80d4bd
* Fri Feb 16 2007 Robin Norwood <rnorwood@redhat.com> - 1.30-2
80d4bd
- Resolves: rhbz#226239 - Remove tabs from spec file for package review
80d4bd
80d4bd
* Tue Sep 19 2006 Robin Norwood <rnorwood@redhat.com> - 1.30-1
80d4bd
- Bump to 1.30
80d4bd
80d4bd
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.29-1.1
80d4bd
- rebuild
80d4bd
80d4bd
* Wed Mar 08 2006 Jason Vas Dias <jvdias@redhat.com> - 1.29-1
80d4bd
- Upgrade to upstream version 1.29
80d4bd
80d4bd
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.28-1
80d4bd
- Upgrade to upstream version 1.28
80d4bd
- Rebuild for perl-5.8.8
80d4bd
80d4bd
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
80d4bd
- rebuilt for new gcc
80d4bd
80d4bd
* Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
80d4bd
- 1.26
80d4bd
80d4bd
* Mon Apr 25 2005 Warren Togami <wtogami@redhat.com> - 1.23-4
80d4bd
- remove beehive workaround
80d4bd
80d4bd
* Sun Apr 03 2005 Jose Pedro Oliveira <jpo@di.uminho.pt> - 1.23-1
80d4bd
- Update to 1.23.
80d4bd
- Bring up to date with current Fedora.Extras perl spec template.
80d4bd
80d4bd
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1.08-3
80d4bd
- rebuild
80d4bd
80d4bd
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1.08-1
80d4bd
- update to upstream 1.08
80d4bd
80d4bd
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
80d4bd
- rebuilt
80d4bd
80d4bd
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
80d4bd
- automated release bump and build
80d4bd
80d4bd
* Fri Feb 08 2002 cturner@redhat.com
80d4bd
- Specfile autogenerated
80d4bd