|
|
|
Name: perl-Archive-Extract
|
|
|
|
# Epoch to compete with core module from perl.spec
|
|
|
|
Epoch: 1
|
|
|
|
Version: 0.74
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Generic archive extracting mechanism
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Archive-Extract/
|
|
|
|
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Archive-Extract-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
%if 0%(perl -e 'print $] > 5.017')
|
|
|
|
BuildRequires: perl(deprecate)
|
|
|
|
%endif
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.82
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
BuildRequires: perl(IPC::Cmd) >= 0.64
|
|
|
|
BuildRequires: perl(Locale::Maketext::Simple)
|
|
|
|
BuildRequires: perl(Module::Load::Conditional) >= 0.04
|
|
|
|
BuildRequires: perl(Params::Check) >= 0.07
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(File::Spec::Unix)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
# Do not require any decopressing module or executable by default. Let's user
|
|
|
|
# install what he needs.
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
%if 0%(perl -e 'print $] > 5.017')
|
|
|
|
Requires: perl(deprecate)
|
|
|
|
%endif
|
|
|
|
Requires: perl(File::Spec) >= 0.82
|
|
|
|
Requires: perl(IPC::Cmd) >= 0.64
|
|
|
|
Requires: perl(Module::Load::Conditional) >= 0.04
|
|
|
|
Requires: perl(Params::Check) >= 0.07
|
|
|
|
|
|
|
|
# Filter under-specified dependencies
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|IPC::Cmd|Module::Load::Conditional|Params::Check)\\)$
|
|
|
|
|
|
|
|
%description
|
|
|
|
Archive::Extract is a generic archive extraction mechanism. It allows you to
|
|
|
|
extract any archive file of the type .tar, .tar.gz, .gz, .Z, tar.bz2, .tbz,
|
|
|
|
.bz2, .zip, .xz,, .txz, .tar.xz, or .lzma without having to worry how it does
|
|
|
|
so, or use different interfaces for each type by using either perl modules, or
|
|
|
|
command-line tools on your system.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Archive-Extract-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc CHANGES README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Nov 21 2014 Petr Pisar <ppisar@redhat.com> - 1:0.74-1
|
|
|
|
- 0.74 bump
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.72-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.72-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 30 2014 Petr Pisar <ppisar@redhat.com> - 1:0.72-1
|
|
|
|
- 0.72 bump
|
|
|
|
|
|
|
|
* Mon Nov 18 2013 Petr Pisar <ppisar@redhat.com> - 1:0.70-1
|
|
|
|
- 0.70 bump
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.68-291
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:0.68-290
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:0.68-3
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
* Tue May 28 2013 Petr Pisar <ppisar@redhat.com> - 1:0.68-2
|
|
|
|
- Correct typo in dependencies
|
|
|
|
|
|
|
|
* Fri Mar 15 2013 Petr Pisar <ppisar@redhat.com> - 1:0.68-1
|
|
|
|
- 0.68 bump
|
|
|
|
|
|
|
|
* Mon Feb 11 2013 Petr Pisar <ppisar@redhat.com> 0.66-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|