Files
perl-App-cpm/perl-App-cpm.spec
Dirk Stoecker ed47e2f37e Accepting request 1102978 from devel:languages:perl:autoupdate
- updated to 0.997013
   see /usr/share/doc/packages/perl-App-cpm/Changes
  0.997013  2023-08-05 09:06:41 JST
          - Set GIT_TERMINAL_PROMPT=0 when git cloning

OBS-URL: https://build.opensuse.org/request/show/1102978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-cpm?expand=0&rev=14
2023-08-08 17:33:55 +00:00

108 lines
3.8 KiB
RPMSpec

#
# spec file for package perl-App-cpm
#
# 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 App-cpm
Name: perl-App-cpm
Version: 0.997013
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Fast CPAN module installer
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SK/SKAJI/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::02Packages::Search) >= 0.100.0
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(ExtUtils::Install) >= 2.20
BuildRequires: perl(ExtUtils::InstallPaths) >= 0.002
BuildRequires: perl(File::Copy::Recursive)
BuildRequires: perl(File::pushd)
BuildRequires: perl(HTTP::Tinyish) >= 0.12
BuildRequires: perl(JSON::PP) >= 2.27300
BuildRequires: perl(Menlo::CLI::Compat) >= 1.9021
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(Module::CPANfile)
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Module::cpmfile) >= 0.001
BuildRequires: perl(Parallel::Pipes::App) >= 0.100
BuildRequires: perl(Parse::PMFile) >= 0.43
BuildRequires: perl(Proc::ForkSafe) >= 0.1.0
BuildRequires: perl(local::lib) >= 2.000018
BuildRequires: perl(parent)
BuildRequires: perl(version) >= 0.77
Requires: perl(CPAN::02Packages::Search) >= 0.100.0
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(ExtUtils::Install) >= 2.20
Requires: perl(ExtUtils::InstallPaths) >= 0.002
Requires: perl(File::Copy::Recursive)
Requires: perl(File::pushd)
Requires: perl(HTTP::Tinyish) >= 0.12
Requires: perl(JSON::PP) >= 2.27300
Requires: perl(Menlo::CLI::Compat) >= 1.9021
Requires: perl(Module::CPANfile)
Requires: perl(Module::Metadata)
Requires: perl(Module::cpmfile) >= 0.001
Requires: perl(Parallel::Pipes::App) >= 0.100
Requires: perl(Parse::PMFile) >= 0.43
Requires: perl(Proc::ForkSafe) >= 0.1.0
Requires: perl(local::lib) >= 2.000018
Requires: perl(parent)
Requires: perl(version) >= 0.77
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}-%{version}
%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