perl-Archive-Tar/perl-Archive-Tar.spec

96 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:11:39 -04:00
%global perl_package_name Archive-Tar
Name: perl-Archive-Tar
2023-07-05 15:13:50 +08:00
Version: 3.02
Release: 1
2019-09-30 11:11:39 -04:00
Summary: A module for manipulations of tar archives
License: GPL+ or Artistic
2023-07-05 15:13:50 +08:00
URL: https://metacpan.org/pod/Archive::Tar
2019-09-30 11:11:39 -04:00
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{perl_package_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gcc make
2019-09-30 11:11:39 -04:00
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
2019-09-30 11:11:39 -04:00
%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
2023-07-05 15:13:50 +08:00
* Wed Jul 05 2023 leeffo <liweiganga@uniontech.com> - 3.02-1
- update to version 3.02
* Tue Oct 25 2022 renhongxun <renhongxun@h-partners.com> - 2.40-2
- Rebuild for next release
2021-11-19 17:15:50 +08:00
* Fri Nov 19 2021 shixuantong <shixuantong@huawei.com> - 2.40-1
- update version to 2.40
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.38-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
2020-07-25 11:03:15 +08:00
* Sat Jul 25 2020 shixuantong <shixuantong@huawei.com> - 2.38-1
- Type: NA
- ID: NA
- SUG: NA
- DESC: update to 2.38-1
2020-01-11 17:28:45 +08:00
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.30-421
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: remove unnecessary files
2019-09-30 11:11:39 -04:00
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 2.30-420
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:enable test
* Wed Aug 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.30-419
- Package Init