Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
perl-Compress-Bzip2
perl-Compress-Bzip2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Compress-Bzip2.spec of Package perl-Compress-Bzip2
# # spec file for package perl-Compress-Bzip2 # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: perl-Compress-Bzip2 Version: 2.26 Release: 0 %define cpan_name Compress-Bzip2 Summary: Interface to Bzip2 compression library License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Compress-Bzip2/ Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros Recommends: perl(Compress::Raw::Bzip2) >= 2.060 Recommends: perl(Compress::Zlib) >= 1.19 Recommends: perl(IO::Compress::Bzip2) >= 2.060 %{perl_requires} # MANUAL BEGIN BuildRequires: libbz2-devel Requires: bzip2 # MANUAL END %description The _Compress::Bzip2_ module provides a Perl interface to the *bzip2* compression library (see AUTHOR for details about where to get _Bzip2_). A relevant subset of the functionality provided by _bzip2_ is available in _Compress::Bzip2_. All string parameters can either be a scalar or a scalar reference. The module can be split into two general areas of functionality, namely in-memory compression/decompression and read/write access to _bzip2_ files. Each of these areas will be discussed separately below. *NOTE* _Compress::Bzip2_ is just a simple _bzip2_ binding, comparable to the old Compress::Zlib library. It is not well integrated into PerlIO, use the preferred IO::Compress::Bzip2 instead. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc ANNOUNCE Changes NEWS README.md %license COPYING %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor