Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl
perl-Catalyst-Plugin-Compress
perl-Catalyst-Plugin-Compress.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Catalyst-Plugin-Compress.spec of Package perl-Catalyst-Plugin-Compress
# # spec file for package perl-Catalyst-Plugin-Compress # # Copyright (c) 2015 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-Catalyst-Plugin-Compress Version: 0.006 Release: 0 %define cpan_name Catalyst-Plugin-Compress Summary: Compress response License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Catalyst-Plugin-Compress/ Source: http://www.cpan.org/authors/id/J/JJ/JJNAPIORK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Catalyst::Runtime) >= 5.80001 BuildRequires: perl(Compress::Zlib) BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(MRO::Compat) BuildRequires: perl(Module::Install) Requires: perl(Catalyst::Runtime) >= 5.80001 Requires: perl(Compress::Zlib) Requires: perl(MRO::Compat) Recommends: perl(Compress::Bzip2) >= 2 %{perl_requires} %description This module combines the Catalyst::Plugin::Deflate manpage the Catalyst::Plugin::Gzip manpage the Catalyst::Plugin::Zlib manpage into one. It compress response to [gzip bzip2 zlib deflate] if client supports it. In other works the client should send the Accept-Encoding HTTP header with a supported compression like 'gzip'. *NOTE*: If you are using an older version of the Catalyst manpage that requires the Unicode plugin and if you want to use this module with the Catalyst::Plugin::Unicode manpage, You *MUST* load this plugin *AFTER* the Catalyst::Plugin::Unicode manpage. use Catalyst qw/ Unicode Compress /; If you don't, You'll get error which is like: [error] Caught exception in engine "Wide character in subroutine entry at /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line xxx." If you upgrade to any version of the Catalyst manpage 5.90080+ the unicode support has been integrated into core code and this plugin is designed to work with that. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__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 Changes %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