%global perl_package_name Archive-Tar Name: perl-Archive-Tar Version: 2.40 Release: 2 Summary: A module for manipulations of tar archives License: GPL+ or Artistic URL: https://metacpan.org/pod/release/BINGOS/Archive-Tar-2.30/lib/Archive/Tar.pm Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{perl_package_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: gcc make BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) >= 6.76 perl(Config) BuildRequires: perl(Getopt::Std) perl(strict) BuildRequires: perl(Carp) perl(constant) perl(Cwd) perl(Data::Dumper) perl(Exporter) perl(File::Basename) BuildRequires: perl(File::Find) perl(File::Path) perl(File::Spec) >= 0.82 perl(File::Spec::Unix) BuildRequires: perl(Getopt::Long) perl(IO::File) perl(IO::Handle) perl(IO::Zlib) >= 1.01 BuildRequires: perl(Pod::Usage) perl(vars) perl(warnings) perl(IO::Compress::Bzip2) >= 2.015 BuildRequires: perl(IO::Uncompress::Bunzip2) >= 2.015 perl(Text::Diff) BuildRequires: perl(File::Copy) perl(File::Temp) perl(FindBin) perl(lib) perl(Test::Harness) >= 2.26 perl(Test::More) Requires: perl(IO::Compress::Bzip2) >= 2.015 Requires: perl(:MODULE_COMPAT_%(perl -V:version | tr -d "[a-z=';]")) Requires: perl(IO::Zlib) >= 1.01 Requires: perl(IO::Uncompress::Bunzip2) >= 2.015 Requires: perl(Text::Diff) %description archive::Tar provides an object oriented mechanism for handling tar files. It provides class methods for quick and easy files handling while also allowing for the creation of tar file objects for custom manipulation. If you have the IO::Zlib module installed, Archive::Tar will also support compressed or gzipped tar files. %package help Summary: help document Requires: perl-%{perl_package_name} = %{version}-%{release} BuildArch: noarch %description help This package provides help document for perl-Archive-Tar. %prep %autosetup -n %{perl_package_name}-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 UNINST=0 %make_build %install make install DESTDIR=%{buildroot} %{_fixperms} -c %{buildroot}/* %check make test %files %{perl_vendorlib}/Archive/ %{_bindir}/* %files help %doc README CHANGES %{_mandir}/man{1/*,3/*} %changelog * Tue Oct 25 2022 renhongxun - 2.40-2 - Rebuild for next release * Fri Nov 19 2021 shixuantong - 2.40-1 - update version to 2.40 * Mon Aug 02 2021 chenyanpanHW - 2.38-2 - DESC: delete -S git from %autosetup, and delete BuildRequires git * Sat Jul 25 2020 shixuantong - 2.38-1 - Type: NA - ID: NA - SUG: NA - DESC: update to 2.38-1 * Sat Jan 11 2020 openEuler Buildteam - 2.30-421 - Type: enhancement - ID: NA - SUG: NA - DESC: remove unnecessary files * Fri Sep 27 2019 shenyangyang - 2.30-420 - Type:enhancement - ID:NA - SUG:NA - DESC:enable test * Wed Aug 28 2019 openEuler Buildteam - 2.30-419 - Package Init