Files
perl-App-cpm/perl-App-cpm.spec

143 lines
5.3 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-App-cpm
#
# 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 App-cpm
Name: perl-App-cpm
Version: 0.997.24
Release: 0
# 0.997024 -> normalize -> 0.997.24
%define cpan_version 0.997024
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Fast CPAN module installer
Accepting request 843051 from devel:languages:perl:autoupdate - updated to 0.993 see /usr/share/doc/packages/perl-App-cpm/Changes 0.993 2020-05-13 19:35:28 JST - Now cpm exits successfully for empty list via pipe (abraxxa #165) 0.992 2020-05-09 01:28:57 JST - Fatpack ExtUtils-PL2Bat (atoomic #173) 0.991 2020-04-12 12:59:53 JST - [EXPERIMANTAL] Allow users to specify arbitrary resolvers (#168) 0.990 2020-03-27 09:49:10 JST - Add --with-all to install all listed deps in a cpanfile (atoomic #166) 0.989 2019-11-08 07:34:11 JST - Support custom metadb resolver (Sadrak #159) 0.988 2019-11-01 00:24:15 JST - Do not use "tar --force-local" for bsdtar in Win32 (#158) 0.987 2019-10-31 19:55:03 JST - Emit unpack errors if any 0.986 2019-10-14 01:50:48 JST - Call tar with -o flag; Use the user and group of the user running the program rather than those specified in the archive (autarch #156) 0.985 2019-09-29 11:50:59 JST - Introduce --show-build-log-on-failure option (#155) - Document that cpm can read modules from STDIN 0.984 2019-09-27 20:23:38 JST - Document that multiple --mirror options are ignored (willsheppard #150, #154) 0.983 2019-08-08 10:45:36 EEST [Internal Refactor] - Save requirements per phase (#151) 0.982 2019-07-20 19:19:11 JST [Internal Refactor] - Use own Unpacker class (#149) 0.981 2019-07-20 09:24:23 JST [Internal Refactor] - Use plain string mirror and uri 0.980 2019-04-26 09:28:47 BST - Improve compatibility between `cpm install -L` and `cpanm -L`; check if dependencies in core INC are actually core (reported by jberger #143, #147) OBS-URL: https://build.opensuse.org/request/show/843051 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-cpm?expand=0&rev=2
2020-10-21 05:50:16 +00:00
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SK/SKAJI/%{cpan_name}-%{cpan_version}.tar.gz
Accepting request 843051 from devel:languages:perl:autoupdate - updated to 0.993 see /usr/share/doc/packages/perl-App-cpm/Changes 0.993 2020-05-13 19:35:28 JST - Now cpm exits successfully for empty list via pipe (abraxxa #165) 0.992 2020-05-09 01:28:57 JST - Fatpack ExtUtils-PL2Bat (atoomic #173) 0.991 2020-04-12 12:59:53 JST - [EXPERIMANTAL] Allow users to specify arbitrary resolvers (#168) 0.990 2020-03-27 09:49:10 JST - Add --with-all to install all listed deps in a cpanfile (atoomic #166) 0.989 2019-11-08 07:34:11 JST - Support custom metadb resolver (Sadrak #159) 0.988 2019-11-01 00:24:15 JST - Do not use "tar --force-local" for bsdtar in Win32 (#158) 0.987 2019-10-31 19:55:03 JST - Emit unpack errors if any 0.986 2019-10-14 01:50:48 JST - Call tar with -o flag; Use the user and group of the user running the program rather than those specified in the archive (autarch #156) 0.985 2019-09-29 11:50:59 JST - Introduce --show-build-log-on-failure option (#155) - Document that cpm can read modules from STDIN 0.984 2019-09-27 20:23:38 JST - Document that multiple --mirror options are ignored (willsheppard #150, #154) 0.983 2019-08-08 10:45:36 EEST [Internal Refactor] - Save requirements per phase (#151) 0.982 2019-07-20 19:19:11 JST [Internal Refactor] - Use own Unpacker class (#149) 0.981 2019-07-20 09:24:23 JST [Internal Refactor] - Use plain string mirror and uri 0.980 2019-04-26 09:28:47 BST - Improve compatibility between `cpm install -L` and `cpanm -L`; check if dependencies in core INC are actually core (reported by jberger #143, #147) OBS-URL: https://build.opensuse.org/request/show/843051 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-cpm?expand=0&rev=2
2020-10-21 05:50:16 +00:00
Source1: cpanspec.yml
2025-08-12 18:11:45 +02:00
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::02Packages::Search) >= 0.100
BuildRequires: perl(CPAN::DistnameInfo)
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.130
BuildRequires: perl(CPAN::Meta::YAML)
BuildRequires: perl(Command::Runner) >= 0.100
BuildRequires: perl(Darwin::InitObjC)
BuildRequires: perl(ExtUtils::Install) >= 2.20
BuildRequires: perl(ExtUtils::InstallPaths) >= 0.2
BuildRequires: perl(File::Copy::Recursive)
BuildRequires: perl(File::pushd)
BuildRequires: perl(HTTP::Tinyish) >= 0.120
BuildRequires: perl(JSON::PP) >= 2.27
BuildRequires: perl(Menlo::CLI::Compat) >= 1.902.100
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.51
BuildRequires: perl(Module::CPANfile)
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Module::cpmfile) >= 0.1
BuildRequires: perl(Parallel::Pipes::App) >= 0.100
BuildRequires: perl(Parse::PMFile) >= 0.430
BuildRequires: perl(Proc::ForkSafe) >= 0.1
BuildRequires: perl(local::lib) >= 2.0.18
BuildRequires: perl(parent)
BuildRequires: perl(version) >= 0.77
Requires: perl(CPAN::02Packages::Search) >= 0.100
Requires: perl(CPAN::DistnameInfo)
Requires: perl(CPAN::Meta)
Requires: perl(CPAN::Meta::Requirements) >= 2.130
Requires: perl(CPAN::Meta::YAML)
Requires: perl(Command::Runner) >= 0.100
Requires: perl(Darwin::InitObjC)
Requires: perl(ExtUtils::Install) >= 2.20
Requires: perl(ExtUtils::InstallPaths) >= 0.2
Requires: perl(File::Copy::Recursive)
Requires: perl(File::pushd)
Requires: perl(HTTP::Tinyish) >= 0.120
Requires: perl(JSON::PP) >= 2.27
Requires: perl(Menlo::CLI::Compat) >= 1.902.100
Requires: perl(Module::CPANfile)
Requires: perl(Module::Metadata)
Requires: perl(Module::cpmfile) >= 0.1
Requires: perl(Parallel::Pipes::App) >= 0.100
Requires: perl(Parse::PMFile) >= 0.430
Requires: perl(Proc::ForkSafe) >= 0.1
Requires: perl(local::lib) >= 2.0.18
Requires: perl(parent)
Requires: perl(version) >= 0.77
Provides: perl(App::cpm) = %{version}
Provides: perl(App::cpm::CLI)
Provides: perl(App::cpm::CircularDependency)
Provides: perl(App::cpm::DistNotation)
Provides: perl(App::cpm::Distribution)
Provides: perl(App::cpm::HTTP)
Provides: perl(App::cpm::Installer::Unpacker)
Provides: perl(App::cpm::Logger)
Provides: perl(App::cpm::Logger::File)
Provides: perl(App::cpm::Master)
Provides: perl(App::cpm::Requirement)
Provides: perl(App::cpm::Resolver)
Provides: perl(App::cpm::Resolver::02Packages)
Provides: perl(App::cpm::Resolver::Cascade)
Provides: perl(App::cpm::Resolver::Custom)
Provides: perl(App::cpm::Resolver::Fixed)
Provides: perl(App::cpm::Resolver::MetaCPAN)
Provides: perl(App::cpm::Resolver::MetaDB)
Provides: perl(App::cpm::Resolver::Snapshot)
Provides: perl(App::cpm::Task)
Provides: perl(App::cpm::Tutorial)
Provides: perl(App::cpm::Util)
Provides: perl(App::cpm::Worker)
Provides: perl(App::cpm::Worker::Installer)
Provides: perl(App::cpm::Worker::Installer::Menlo)
Provides: perl(App::cpm::Worker::Installer::Prebuilt)
Provides: perl(App::cpm::Worker::Resolver)
Provides: perl(App::cpm::version)
%undefine __perllib_provides
Recommends: perl(Carton)
%{perl_requires}
%description
cpm is a fast CPAN module installer, which uses Menlo in parallel.
Moreover cpm keeps the each builds of distributions in your home directory,
and reuses them later. That is, if prebuilts are available, cpm never
builds distributions again, just copies the prebuilts into an appropriate
directory. This is (of course!) inspired by Carmel.
For tutorial, check out App::cpm::Tutorial.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%doc Changes
%license LICENSE
%changelog