2008-12-21 11:09:18 +00:00
|
|
|
#
|
2009-06-19 12:36:23 +00:00
|
|
|
# spec file for package perl-Compress-Raw-Zlib
|
2008-12-21 11:09:18 +00:00
|
|
|
#
|
2019-01-15 06:50:16 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-06-21 08:05:02 +00:00
|
|
|
#
|
2009-06-19 12:36:23 +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:48 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-12-21 11:09:18 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Compress-Raw-Zlib
|
2019-01-15 06:50:16 +00:00
|
|
|
Version: 2.084
|
2017-01-16 12:52:44 +00:00
|
|
|
Release: 0
|
|
|
|
|
#Upstream: Artistic-1.0 or GPL-1.0+
|
2012-06-25 09:53:05 +00:00
|
|
|
%define cpan_name Compress-Raw-Zlib
|
2017-01-16 12:52:44 +00:00
|
|
|
Summary: Low-Level Interface to zlib compression library
|
2018-04-10 05:25:20 +00:00
|
|
|
License: Zlib AND (GPL-1.0-or-later OR Artistic-1.0)
|
2012-02-20 12:26:39 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2019-01-02 11:00:48 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
2017-02-13 18:40:44 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/%{cpan_name}-%{version}.tar.gz
|
2015-10-06 11:33:37 +00:00
|
|
|
Source1: cpanspec.yml
|
2012-06-25 09:53:05 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-06-19 12:36:23 +00:00
|
|
|
BuildRequires: perl
|
2012-02-20 12:26:39 +00:00
|
|
|
BuildRequires: perl-macros
|
2011-10-31 08:25:45 +00:00
|
|
|
%{perl_requires}
|
2011-06-21 08:05:02 +00:00
|
|
|
|
2008-12-21 11:09:18 +00:00
|
|
|
%description
|
2012-06-25 09:53:05 +00:00
|
|
|
The _Compress::Raw::Zlib_ module provides a Perl interface to the _zlib_
|
2017-01-16 12:52:44 +00:00
|
|
|
compression library (see AUTHOR for details about where to get _zlib_).
|
2008-12-21 11:09:18 +00:00
|
|
|
|
|
|
|
|
%prep
|
2009-06-19 12:36:23 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2017-01-16 12:52:44 +00:00
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
2008-12-21 11:09:18 +00:00
|
|
|
|
|
|
|
|
%build
|
2019-01-02 11:00:48 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
|
make %{?_smp_mflags}
|
2011-06-21 08:05:02 +00:00
|
|
|
|
2009-06-19 12:36:23 +00:00
|
|
|
%check
|
2019-01-02 11:00:48 +00:00
|
|
|
make test
|
2011-06-21 08:05:02 +00:00
|
|
|
|
2008-12-21 11:09:18 +00:00
|
|
|
%install
|
2009-06-19 12:36:23 +00:00
|
|
|
%perl_make_install
|
2008-12-21 11:09:18 +00:00
|
|
|
%perl_process_packlist
|
2009-06-19 12:36:23 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
2012-06-25 09:53:05 +00:00
|
|
|
%files -f %{name}.files
|
2017-01-16 12:52:44 +00:00
|
|
|
%defattr(-,root,root,755)
|
|
|
|
|
%doc Changes examples README
|
2012-06-25 09:53:05 +00:00
|
|
|
|
2008-12-21 11:09:18 +00:00
|
|
|
%changelog
|