# # spec file for package perl-Compress-LZO # # 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 Compress-LZO Name: perl-Compress-LZO Version: 1.90.0 Release: 0 # 1.09 -> normalize -> 1.90.0 %define cpan_version 1.09 License: GPL-1.0-or-later Summary: Interface to the LZO compression library URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PE/PEPL/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Devel::CheckLib) >= 0.9 BuildRequires: perl(Test::More) >= 0.94 Provides: perl(Compress::LZO) = %{version} %undefine __perllib_provides %{perl_requires} # MANUAL BEGIN BuildRequires: lzo-devel # MANUAL END %description The _Compress::LZO_ module provides a Perl interface to the _LZO_ compression library (see AUTHOR for details about where to get _LZO_). A relevant subset of the functionality provided by _LZO_ is available in _Compress::LZO_. All string parameters can either be a scalar or a scalar reference. %prep %autosetup -n %{cpan_name}-%{cpan_version} %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 README README.md %license COPYING LICENSE %changelog