8
0
Files
perl-PAR-Packer/perl-PAR-Packer.spec

106 lines
3.7 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-PAR-Packer
#
# Copyright (c) 2025 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 PAR-Packer
Name: perl-PAR-Packer
Version: 1.64.0
Release: 0
# 1.064 -> normalize -> 1.64.0
%define cpan_version 1.064
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: PAR Packager
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
2025-08-12 18:16:18 +02:00
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Archive::Zip) >= 1.20
BuildRequires: perl(Compress::Zlib) >= 1.30
BuildRequires: perl(Digest::SHA) >= 5.40
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
BuildRequires: perl(Getopt::ArgvFile) >= 1.70
BuildRequires: perl(IO::Compress::Gzip)
BuildRequires: perl(IPC::Run3) >= 0.48
BuildRequires: perl(Module::ScanDeps) >= 1.210
BuildRequires: perl(PAR) >= 1.20
BuildRequires: perl(PAR::Dist) >= 0.220
Requires: perl(Archive::Zip) >= 1.20
Requires: perl(Compress::Zlib) >= 1.30
Requires: perl(Digest::SHA) >= 5.40
Requires: perl(Getopt::ArgvFile) >= 1.70
Requires: perl(IO::Compress::Gzip)
Requires: perl(Module::ScanDeps) >= 1.210
Requires: perl(PAR) >= 1.20
Requires: perl(PAR::Dist) >= 0.220
Provides: perl(App::Packer::PAR) = 0.910.0
Provides: perl(PAR::Filter) = 0.30.0
Provides: perl(PAR::Filter::Bleach)
Provides: perl(PAR::Filter::Bytecode)
Provides: perl(PAR::Filter::Obfuscate)
Provides: perl(PAR::Filter::PatchContent)
Provides: perl(PAR::Filter::PodStrip)
Provides: perl(PAR::Packer) = %{version}
Provides: perl(PAR::StrippedPARL::Base) = 0.975.0
Provides: perl(pp) = 0.992.0
%undefine __perllib_provides
Recommends: perl(Module::Signature)
Recommends: perl(Tk)
Recommends: perl(Tk::ColoredButton)
Recommends: perl(Tk::EntryCheck)
Recommends: perl(Tk::Getopt)
%{perl_requires}
%description
This module implements the *App::Packer::Backend* interface, for generating
stand-alone executables, perl scripts and PAR files.
Currently, this module is used by the command line tool *pp* internally, as
well as by the contributed _contrib/gui_pp/gpp_ program.
Since version 0.97 of PAR, this module and its related tools such as 'pp'
have been stripped from the PAR distribution and are now distributed as the
'PAR-Packer' distribution so that PAR users need not necessarily have a C
compiler.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
# build system busted - only supporting serial build
%{__make} -j1
%check
export PERL_TEST_POD=1
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
Accepting request 403135 from home:netsroth:branches:devel:languages:perl - Update to 1.033: - Fix RT#114229: v1.32 still won't install on strawberry perl v5.22.2 - Drop the "re-exec myself" in myldr/internals.c - Really suppress generation of myldr/MYMETA.* and don't install man pages for myldr/{Dynamic,Static}.pm - Update to 1.032: - Unbreak PAR::Packer for Perl 5.23.9 and higher - Fix RT#114155: Makefile.PL error - not loading ExtUtils::MakeMaker - extract-embedded.pl: show starting offset of embedded files - Update to 1.031: - Fix RT#113618: Strange issue with not packing libperl.dylib - Implement namespace options for "-M" like ActiveState's perlapp - Fix RT#113463: Fix spelling error in manpage - Update to 1.030: - Fix RT#111455: unable to use -x and -u with pp - Fix RT#110480: Unpacking exe: File exists - Fix RT#111896: PAR Question Solaris 10 - file2c.pl: switch back from array of unsiged to (hex encoded) strings. - Skip a test if Archive::Unzip::Burst is detected (this messes up expected mtimes for extracted files). - Make a test work with early versions of Perl 5.8.x (x < 9) that have a bug with compiled regexes and the /m modifier. - Update to 1.029: - Add option "-u" ("--unicode") to pp to explicitly package Unicode support - Remove all references to http://par.perl.org/, doesn't exist anymore - Remove Internals::PAR::CLEARSTACK - Update to 1.028: - Fix RT#109123: v1.027 tests are not passed under windows - Update to 1.027: - Add option -M Foo::Bar:: to pp (note the trailing double colon) OBS-URL: https://build.opensuse.org/request/show/403135 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PAR-Packer?expand=0&rev=18
2016-06-21 09:41:25 +00:00
%doc AUTHORS Changes README
%license LICENSE
%changelog