Name: perl-Archive-Libarchive-Extract %global debug_package %{nil} Version: 0.03 Release: 1%{?dist} Summary: Archive extracting mechanism (using libarchive) License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Archive-Libarchive-Extract/ Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/Archive-Libarchive-Extract-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:v5.20.0 BuildRequires: perl(Archive::Libarchive) >= 0.04 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::chdir) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Ref::Util) BuildRequires: perl(Test2::V0) >= 0.000121 BuildRequires: perl(Test::Script) >= 1.09 BuildRequires: perl-generators Requires: perl(Archive::Libarchive) >= 0.04 Requires: perl(File::chdir) Requires: perl(Path::Tiny) Requires: perl(Ref::Util) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl(Archive::Libarchive::Extract) %description This class provides a simple interface for extracting archives using libarchive. Although it provides similar functionality to Archive::Extract and Archive::Extract::Libarchive it intentionally does not provide a compatible interface. In particular it tends to throw exceptions instead tracking errors as a property. It also supports some unique features of the various classes that use the "Extract" style interface: %prep %setup -q -n Archive-Libarchive-Extract-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE META.json README author.yml corpus dist.ini examples maint perlcriticrc %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Apr 29 2024 rpm 0.03-1 - Specfile autogenerated by cpanspec 1.78.