2011-04-14 07:44:38 +00:00
|
|
|
#
|
2015-04-17 09:43:01 +00:00
|
|
|
# spec file for package perl-Archive-Tar-Wrapper
|
2011-04-14 07:44:38 +00:00
|
|
|
#
|
2018-03-22 12:54:33 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-04-14 07:44:38 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2018-09-20 07:19:25 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-04-14 07:44:38 +00:00
|
|
|
#
|
|
|
|
|
|
2015-04-17 09:43:01 +00:00
|
|
|
|
2011-04-14 07:44:38 +00:00
|
|
|
Name: perl-Archive-Tar-Wrapper
|
2018-09-20 07:19:25 +00:00
|
|
|
Version: 0.33
|
2015-04-17 09:43:01 +00:00
|
|
|
Release: 0
|
2018-09-20 07:19:25 +00:00
|
|
|
#Upstream: GPL-1.0+
|
2011-04-14 07:44:38 +00:00
|
|
|
%define cpan_name Archive-Tar-Wrapper
|
|
|
|
|
Summary: API wrapper around the 'tar' utility
|
2018-06-18 08:07:56 +00:00
|
|
|
License: GPL-3.0-or-later
|
2011-04-14 07:44:38 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2015-04-17 09:43:01 +00:00
|
|
|
Url: http://search.cpan.org/dist/Archive-Tar-Wrapper/
|
2018-06-18 08:05:48 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AR/ARFREITAS/%{cpan_name}-%{version}.tar.gz
|
2015-04-17 09:43:01 +00:00
|
|
|
Source1: cpanspec.yml
|
2011-04-14 07:44:38 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
2018-09-20 07:19:25 +00:00
|
|
|
BuildRequires: perl(Dumbbench) >= 0.111
|
2015-04-17 09:43:01 +00:00
|
|
|
BuildRequires: perl(File::Which)
|
2011-04-14 07:44:38 +00:00
|
|
|
BuildRequires: perl(IPC::Run)
|
|
|
|
|
BuildRequires: perl(Log::Log4perl)
|
2018-06-19 16:35:55 +00:00
|
|
|
BuildRequires: perl(Test::Simple) >= 1.302073
|
2015-04-17 09:43:01 +00:00
|
|
|
Requires: perl(File::Which)
|
2011-04-14 07:44:38 +00:00
|
|
|
Requires: perl(IPC::Run)
|
|
|
|
|
Requires: perl(Log::Log4perl)
|
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Archive::Tar::Wrapper is an API wrapper around the 'tar' command line
|
2018-09-20 07:19:25 +00:00
|
|
|
program. It never stores anything in memory, but works on temporary
|
2011-04-14 07:44:38 +00:00
|
|
|
directory structures on disk instead. It provides a mapping between the
|
|
|
|
|
logical paths in the tarball and the 'real' files in the temporary
|
|
|
|
|
directory on disk.
|
|
|
|
|
|
|
|
|
|
It differs from Archive::Tar in two ways:
|
|
|
|
|
|
2018-03-22 12:54:33 +00:00
|
|
|
* Archive::Tar::Wrapper doesn't hold anything in memory. Everything is stored
|
|
|
|
|
on disk.
|
2011-04-14 07:44:38 +00:00
|
|
|
|
2018-09-20 07:19:25 +00:00
|
|
|
* Archive::Tar::Wrapper is 100% compliant with the platform's 'tar' utility
|
2018-03-22 12:54:33 +00:00
|
|
|
because it uses it internally.
|
2011-04-14 07:44:38 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2018-03-22 12:54:33 +00:00
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
2011-04-14 07:44:38 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%perl_make_install
|
|
|
|
|
%perl_process_packlist
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root,755)
|
2018-09-20 07:19:25 +00:00
|
|
|
%doc Changes README.md
|
2018-06-18 08:05:48 +00:00
|
|
|
%license LICENSE
|
2011-04-14 07:44:38 +00:00
|
|
|
|
|
|
|
|
%changelog
|