2011-05-04 11:06:21 +00:00
|
|
|
#
|
2011-06-21 08:04:29 +00:00
|
|
|
# spec file for package perl-IO-Compress
|
2011-05-04 11:06:21 +00:00
|
|
|
#
|
2024-06-27 18:10:27 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-05-04 11:06:21 +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.
|
|
|
|
|
2019-01-03 11:03:54 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-05-04 11:06:21 +00:00
|
|
|
#
|
|
|
|
|
2011-06-21 08:04:29 +00:00
|
|
|
|
2021-02-25 12:19:52 +00:00
|
|
|
%define cpan_name IO-Compress
|
2011-05-04 11:06:21 +00:00
|
|
|
Name: perl-IO-Compress
|
2025-01-09 16:22:09 +00:00
|
|
|
Version: 2.213.0
|
2016-01-14 06:37:28 +00:00
|
|
|
Release: 0
|
2025-01-09 16:22:09 +00:00
|
|
|
# 2.213 -> normalize -> 2.213.0
|
|
|
|
%define cpan_version 2.213
|
2018-04-23 07:49:46 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-04-25 09:14:59 +00:00
|
|
|
Summary: IO Interface to compressed data files/buffers
|
2020-08-04 16:40:17 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2023-08-03 16:17:09 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/%{cpan_name}-%{cpan_version}.tar.gz
|
2016-01-14 06:37:28 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:14:48 +02:00
|
|
|
Source100: README.md
|
2011-05-04 11:06:21 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2025-01-09 16:22:09 +00:00
|
|
|
BuildRequires: perl(Compress::Raw::Bzip2) >= 2.213
|
|
|
|
BuildRequires: perl(Compress::Raw::Zlib) >= 2.213
|
|
|
|
Requires: perl(Compress::Raw::Bzip2) >= 2.213
|
|
|
|
Requires: perl(Compress::Raw::Zlib) >= 2.213
|
|
|
|
Provides: perl(Compress::Zlib) = 2.213
|
2023-08-03 16:17:09 +00:00
|
|
|
Provides: perl(File::GlobMapper) = 1.001
|
2025-01-09 16:22:09 +00:00
|
|
|
Provides: perl(IO::Compress) = %{version}
|
|
|
|
Provides: perl(IO::Compress::Adapter::Bzip2) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Adapter::Deflate) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Adapter::Identity) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Base) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Base::Common) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Bzip2) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Deflate) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Gzip) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Gzip::Constants) = 2.213
|
|
|
|
Provides: perl(IO::Compress::RawDeflate) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Zip) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Zip::Constants) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Zlib::Constants) = 2.213
|
|
|
|
Provides: perl(IO::Compress::Zlib::Extra) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::Adapter::Bunzip2) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::Adapter::Identity) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::Adapter::Inflate) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::AnyInflate) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::AnyUncompress) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::Base) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::Bunzip2) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::Gunzip) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::Inflate) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::RawInflate) = 2.213
|
|
|
|
Provides: perl(IO::Uncompress::Unzip) = 2.213
|
2023-08-03 16:17:09 +00:00
|
|
|
Provides: perl(U64)
|
|
|
|
Provides: perl(Zlib::OldDeflate)
|
|
|
|
Provides: perl(Zlib::OldInflate)
|
2024-06-27 18:10:27 +00:00
|
|
|
%undefine __perllib_provides
|
2011-05-04 11:06:21 +00:00
|
|
|
%{perl_requires}
|
2010-06-25 22:56:17 +00:00
|
|
|
|
|
|
|
%description
|
2025-01-09 16:22:09 +00:00
|
|
|
This is a stub module. It contains no code.
|
2010-06-25 22:56:17 +00:00
|
|
|
|
|
|
|
%prep
|
2023-08-03 16:17:09 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2023-02-20 14:05:29 +00:00
|
|
|
|
2023-08-03 16:17:09 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2010-06-25 22:56:17 +00:00
|
|
|
|
|
|
|
%build
|
2019-01-03 11:03:54 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-02-25 12:19:52 +00:00
|
|
|
%make_build
|
2010-06-25 22:56:17 +00:00
|
|
|
|
|
|
|
%check
|
2019-01-03 11:03:54 +00:00
|
|
|
make test
|
2011-05-04 11:06:21 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2021-01-22 15:54:02 +00:00
|
|
|
# MANUAL BEGIN
|
|
|
|
# Avoid file conflicts with perl core
|
|
|
|
mv %{buildroot}/usr/bin/streamzip %{buildroot}/usr/bin/streamzip-%{version}
|
|
|
|
mv %{buildroot}/usr/bin/zipdetails %{buildroot}/usr/bin/zipdetails-%{version}
|
|
|
|
mv %{buildroot}/usr/share/man/man1/streamzip.1 %{buildroot}/usr/share/man/man1/streamzip-%{version}.1
|
|
|
|
mv %{buildroot}/usr/share/man/man1/zipdetails.1 %{buildroot}/usr/share/man/man1/zipdetails-%{version}.1
|
|
|
|
# MANUAL END
|
2011-05-04 11:06:21 +00:00
|
|
|
%perl_gen_filelist
|
2010-06-25 22:56:17 +00:00
|
|
|
|
2011-05-04 11:06:21 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes examples README
|
2010-06-25 22:56:17 +00:00
|
|
|
|
|
|
|
%changelog
|