1
0
Files
perl-Compress-Raw-Zlib/perl-Compress-Raw-Zlib.spec

63 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-Compress-Raw-Zlib
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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 Compress-Raw-Zlib
Name: perl-Compress-Raw-Zlib
Version: 2.214
Release: 0
#Upstream: Artistic-1.0 or GPL-1.0-or-later
License: (Artistic-1.0 OR GPL-1.0-or-later) AND Zlib
Summary: Perl interface to zlib/zlib-ng compression libraries
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
2025-08-12 18:12:36 +02:00
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
The _Compress::Raw::Zlib_ module provides a Perl interface to the _zlib_ or
_zlib-ng_ compression libraries (see SEE ALSO for details about where to
get _zlib_ or _zlib-ng_).
In the text below all references to _zlib_ are also applicable to _zlib-ng_
unless otherwise stated.
%prep
%autosetup -n %{cpan_name}-%{version} -p1
Accepting request 1100920 from devel:languages:perl:autoupdate - new version format, see https://github.com/openSUSE/cpanspec/issues/47 - updated to 2.206 see /usr/share/doc/packages/perl-Compress-Raw-Zlib/Changes 2.206 25 July 2023 * 2.206 Tue, 25 Jul 2023 16:18:52 +0100 b74db6a4557769233f1504bc94fbc4bafb0efc8a * drop rt.cpan from SUPPORT section Tue, 18 Jul 2023 09:22:34 +0100 a2c231b7e3e178c150c614bad7dc4d8a91fa4b8a 2.205 16 July 2023 * 2.205 Sun, 16 Jul 2023 16:11:31 +0100 3effdb9dbaa9bedfff3cad44902e515409ffae78 * Test::More::isn't warns in perl 5.38 Sun, 9 Jul 2023 21:38:15 +0100 928bbc6ddc5178621fb477b38a1b4b4de38866cf * add zlib-ng 2.1.3 Thu, 29 Jun 2023 19:51:58 +0100 b1aa2583b4c114c2194890a0e015fdc439928c31 * add zlib-ng 2.1.2 Fri, 9 Jun 2023 14:51:17 +0100 0d505d9156ca7e9cac15e2d6e574099300f91a14 * Change storage of ZLIBNG_VER_STATUS from IV to PV https://github.com/pmqs/Compress-Raw-Zlib/issues/24 Fri, 9 Jun 2023 14:30:36 +0100 0a8fb7141a43b8e49609fb06f05fad5150a97c2a * Fix to allow building with C++17 register keyword not allowed in C++17 https://github.com/pmqs/Compress-Raw-Zlib/issues/23 Mon, 22 May 2023 12:42:51 +0100 a7c12acdd4ce7fdc070f50ac78e68e04c8699c81 * Change while loop for `LimitOutput` example https://github.com/pmqs/Compress-Raw-Zlib/issues/21 Sun, 21 May 2023 21:32:19 +0100 972f03b5b0bf06d44991bbee2d2c9216e4175154 * [doc] zlib.h: Remove duplicate "the" (#22) Mon, 1 May 2023 22:46:39 +0200 89b43e6978d8e9b16801f48881cadf822585be0d * Add zlib compat version for 2.0.7 Sat, 18 Mar 2023 08:42:59 +0000 e7d79cbd5924fbdcd3515fb3b0ad171c7720105c OBS-URL: https://build.opensuse.org/request/show/1100920 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Compress-Raw-Zlib?expand=0&rev=55
2023-07-28 07:40:00 +00:00
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 OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes examples README
%changelog