Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-P
perl-Perl-Strip
perl-Perl-Strip.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Perl-Strip.spec of Package perl-Perl-Strip
# # spec file for package perl-Perl-Strip # # Copyright (c) 2023 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 Perl-Strip Name: perl-Perl-Strip Version: 1.2 Release: 0 License: CHECK(Artistic-1.0 or GPL-1.0-or-later) Summary: Reduce file size by stripping whitespace, comments, pod etc URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(PPI) >= 1.213 BuildRequires: perl(common::sense) >= 3.3 Requires: perl(PPI) >= 1.213 Requires: perl(common::sense) >= 3.3 %{perl_requires} %description This module transforms perl sources into a more compact format. It does this by removing most whitespace, comments, pod, and by some other means. The resulting code looks obfuscated, but perl (and the deparser) don't have any problems with that. Depending on the source file you can expect about 30-60% "compression". The main target for this module is low-diskspace environments, such as App::Staticperl, boot floppy/CDs/flash environments and so on. See also the commandline utility perlstrip. %prep %autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README %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