75 lines
2.4 KiB
RPMSpec
75 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package perl-Archive-Tar
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name Archive-Tar
|
|
Name: perl-Archive-Tar
|
|
Version: 3.04
|
|
Release: 0
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Manipulates TAR archives
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Compress::Zlib) >= 2.015
|
|
BuildRequires: perl(IO::Compress::Base) >= 2.015
|
|
BuildRequires: perl(IO::Compress::Bzip2) >= 2.015
|
|
BuildRequires: perl(IO::Compress::Gzip) >= 2.015
|
|
BuildRequires: perl(IO::Zlib) >= 1.01
|
|
Requires: perl(Compress::Zlib) >= 2.015
|
|
Requires: perl(IO::Compress::Base) >= 2.015
|
|
Requires: perl(IO::Compress::Bzip2) >= 2.015
|
|
Requires: perl(IO::Compress::Gzip) >= 2.015
|
|
Requires: perl(IO::Zlib) >= 1.01
|
|
Recommends: perl(IO::Compress::Xz)
|
|
Recommends: perl(IO::Uncompress::UnXz)
|
|
%{perl_requires}
|
|
|
|
%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.
|
|
|
|
An object of class Archive::Tar represents a .tar(.gz) archive full of
|
|
files and things.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{version} -p1
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc CHANGES README
|
|
|
|
%changelog
|