2009-06-19 12:36:03 +00:00
|
|
|
#
|
2011-06-21 08:08:06 +00:00
|
|
|
# spec file for package perl-Compress-Raw-Bzip2
|
2011-04-15 07:23:01 +00:00
|
|
|
#
|
2024-03-08 10:31:31 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2009-06-19 12:36:03 +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-02 11:00:55 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-06-19 12:36:03 +00:00
|
|
|
#
|
|
|
|
|
2011-06-21 08:08:06 +00:00
|
|
|
|
2021-01-08 21:13:15 +00:00
|
|
|
%define cpan_name Compress-Raw-Bzip2
|
2009-06-19 12:36:03 +00:00
|
|
|
Name: perl-Compress-Raw-Bzip2
|
2024-12-31 00:28:34 +00:00
|
|
|
Version: 2.213
|
2015-09-28 11:16:33 +00:00
|
|
|
Release: 0
|
2019-04-03 06:54:53 +00:00
|
|
|
#Upstream: Artistic-1.0 or GPL-1.0-or-later
|
2022-04-13 19:19:19 +00:00
|
|
|
License: (Artistic-1.0 OR GPL-1.0-or-later) AND BSD-3-Clause
|
2011-04-15 07:23:01 +00:00
|
|
|
Summary: Low-Level Interface to bzip2 compression library
|
2020-07-17 07:13:05 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-12-31 00:28:34 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/%{cpan_name}-%{version}.tar.gz
|
2015-09-28 11:16:33 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:12:36 +02:00
|
|
|
Source100: README.md
|
2009-06-19 12:36:03 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-04-15 07:23:01 +00:00
|
|
|
%{perl_requires}
|
2009-06-19 12:36:03 +00:00
|
|
|
|
|
|
|
%description
|
2011-04-15 07:23:01 +00:00
|
|
|
'Compress::Raw::Bzip2' provides an interface to the in-memory
|
|
|
|
compression/uncompression functions from the bzip2 compression library.
|
2009-06-19 12:36:03 +00:00
|
|
|
|
2011-04-15 07:23:01 +00:00
|
|
|
Although the primary purpose for the existence of 'Compress::Raw::Bzip2' is
|
|
|
|
for use by the 'IO::Compress::Bzip2' and 'IO::Compress::Bunzip2' modules,
|
|
|
|
it can be used on its own for simple compression/uncompression tasks.
|
2009-06-19 12:36:03 +00:00
|
|
|
|
|
|
|
%prep
|
2024-12-31 00:28:34 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2009-06-19 12:36:03 +00:00
|
|
|
|
|
|
|
%build
|
2019-01-02 11:00:55 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
2021-01-08 21:13:15 +00:00
|
|
|
%make_build
|
2009-06-19 12:36:03 +00:00
|
|
|
|
|
|
|
%check
|
2019-01-02 11:00:55 +00:00
|
|
|
make test
|
2009-06-19 12:36:03 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes README
|
|
|
|
|
|
|
|
%changelog
|