Blame SPECS/perl-Archive-Extract.spec

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