7
0
Files
perl-IO-Compress/perl-IO-Compress.spec

103 lines
4.0 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-IO-Compress
#
# Copyright (c) 2024 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 IO-Compress
Name: perl-IO-Compress
Version: 2.213.0
Release: 0
# 2.213 -> normalize -> 2.213.0
%define cpan_version 2.213
License: Artistic-1.0 OR GPL-1.0-or-later
Accepting request 970512 from devel:languages:perl:autoupdate - updated to 2.106 see /usr/share/doc/packages/perl-IO-Compress/Changes 2.105 9 April 2022 * remove WeakDecrypt 95892a68780426909b75b4f3d465ff02e630834e 5b41f06a271267ef984a971047987b65ba197dd4 2.104 9 April 2022 * Sync zipdetails 2.100 from https://github.com/pmqs/zipdetails 95c19c89b72441b76294ce93f4acf7c5cea63565 * Update date in README 6b40bd67ee3c295085380cb6c321abf230b481df * WeakDecrypt should not be listed in MANIFEST https://github.com/pmqs/IO-Compress/issues/39 9e85a8bff391481d1005547cb51c11e02e4a5768 * Update versions to 2.104 cec4bcd8c3e8bef5708f7b5064e5048a02e8179f cec4bcd8c3e8bef5708f7b5064e5048a02e8179f 2.103 3 April 2022 * Update version to 2.103 97f1893892eccac69b3a8033378b0b44d7c4f3ab * Fix for inflateSyncs retrurn code change 4843e22285bf8e52c9b5b913d167a1545995c793 * Add constant for ZIP_CM_AES 91be04dd8dc2848e3c25b87ec498cf8ccc34187a * Point links to rfcs to ietf.org https://github.com/pmqs/IO-Compress/pull/37 a8f28b36cf4d77df1cfa0516867012425920a62f * Rename test file to fix manifest warning https://github.com/pmqs/IO-Compress/pull/36 955244f9ac0654d7e8d54115162da53c85d7178c * Add perl 5.34 06f41883f62ed1b88b03c246b16e0b5ef72503bc * Fix for Calling nextStream on an IO::Uncompress::Zip object in Transparent mode dies when input is uncompressed https://github.com/pmqs/IO-Compress/issues/34 b0f93fe62f84b7d4d4bb8d2ea8e6d5432887103f * IO::Compress: Generalize for EBCDIC https://github.com/pmqs/IO-Compress/pull/32 90b51dbbd785e2c824cb0a93feef3b3dd5d075f2 * IO::Compress: Fix misspelling in 112utf8-zip.t c22216b5d3202dce01ef17a271252f82520a6ab9 * Revert "Always have full zip64 entry in central directory" 7df4c9bc98667bc1afd1b4bc5a27d20f94e3cd9c * Always have full zip64 entry in central directory 333648ee1dece6eb220060c7ec09806f6ebb9866 * update cpanm path on MacOS 33079902934885c515768a08d72e89243a5d01a9 OBS-URL: https://build.opensuse.org/request/show/970512 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Compress?expand=0&rev=32
2022-04-25 09:14:59 +00:00
Summary: IO Interface to compressed data files/buffers
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
2025-08-12 18:14:48 +02:00
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
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
Provides: perl(File::GlobMapper) = 1.001
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
Provides: perl(U64)
Provides: perl(Zlib::OldDeflate)
Provides: perl(Zlib::OldInflate)
%undefine __perllib_provides
%{perl_requires}
%description
This is a stub module. It contains no code.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
# 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
%perl_gen_filelist
%files -f %{name}.files
%doc Changes examples README
%changelog