forked from pool/perl-App-perlbrew
- updated to 0.94 see /usr/share/doc/packages/perl-App-perlbrew/Changes 0.94 - Released at 2021-12-05T08:39:16+0900 - Let `self-upgrade` print version numbers when doing upgrades. Github issue #678. 0.93 - Released at 2021-11-22T23:09:25+0900 - Let `clone-modules` takes just one arguments and mean 'cloning modules from that perl'. - Let `list-modules` and `clone-modules` map certain output to their representative module name. Github issue #722 - `exec` command now takes aliases explicitly specified in `--with` args and run commands with those aliases -- even if that would run the same thing twice. Github issue #725 OBS-URL: https://build.opensuse.org/request/show/936017 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-perlbrew?expand=0&rev=69
105 lines
3.6 KiB
RPMSpec
105 lines
3.6 KiB
RPMSpec
#
|
|
# spec file for package perl-App-perlbrew
|
|
#
|
|
# Copyright (c) 2021 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-perlbrew
|
|
Name: perl-App-perlbrew
|
|
Version: 0.94
|
|
Release: 0
|
|
Summary: Manage perl installations in your C<$HOME>
|
|
License: MIT
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GU/GUGOD/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(CPAN::Perl::Releases) >= 5.20210620
|
|
BuildRequires: perl(Capture::Tiny) >= 0.48
|
|
BuildRequires: perl(Devel::PatchPerl) >= 2.08
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.22
|
|
BuildRequires: perl(File::Temp) >= 0.2304
|
|
BuildRequires: perl(File::Which) >= 1.21
|
|
BuildRequires: perl(IO::All) >= 0.51
|
|
BuildRequires: perl(JSON::PP)
|
|
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
|
BuildRequires: perl(Path::Class) >= 0.33
|
|
BuildRequires: perl(Pod::Parser) >= 1.63
|
|
BuildRequires: perl(Pod::Usage) >= 1.68
|
|
BuildRequires: perl(Test::Exception) >= 0.320000
|
|
BuildRequires: perl(Test::More) >= 1.001002
|
|
BuildRequires: perl(Test::NoWarnings) >= 1.04
|
|
BuildRequires: perl(Test::Output) >= 1.03
|
|
BuildRequires: perl(Test::Simple) >= 1.001002
|
|
BuildRequires: perl(Test::Spec) >= 0.49
|
|
BuildRequires: perl(Test::TempDir::Tiny) >= 0.016
|
|
BuildRequires: perl(local::lib) >= 2.000014
|
|
Requires: perl(CPAN::Perl::Releases) >= 5.20210620
|
|
Requires: perl(Capture::Tiny) >= 0.48
|
|
Requires: perl(Devel::PatchPerl) >= 2.08
|
|
Requires: perl(ExtUtils::MakeMaker) >= 7.22
|
|
Requires: perl(File::Temp) >= 0.2304
|
|
Requires: perl(JSON::PP)
|
|
Requires: perl(Pod::Parser) >= 1.63
|
|
Requires: perl(Pod::Usage) >= 1.68
|
|
Requires: perl(local::lib) >= 2.000014
|
|
%{perl_requires}
|
|
# MANUAL BEGIN
|
|
BuildRequires: curl
|
|
BuildRequires: groff
|
|
BuildRequires: wget
|
|
# MANUAL END
|
|
|
|
%description
|
|
perlbrew is a program to automate the building and installation of perl in
|
|
an easy way. It provides multiple isolated perl environments, and a
|
|
mechanism for you to switch between them.
|
|
|
|
Everything are installed unter '~/perl5/perlbrew'. You then need to include
|
|
a bashrc/cshrc provided by perlbrew to tweak the PATH for you. You then can
|
|
benefit from not having to run 'sudo' commands to install cpan modules
|
|
because those are installed inside your 'HOME' too.
|
|
|
|
For the documentation of perlbrew usage see perlbrew command on at
|
|
https://metacpan.org/, or by running 'perlbrew help', or by visiting at
|
|
https://perlbrew.pl/. The following documentation features the API of
|
|
'App::perlbrew' module, and may not be remotely close to what your want to
|
|
read.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
# MANUAL BEGIN
|
|
chmod a+x t/fake-bin/curl
|
|
# MANUAL END
|
|
|
|
%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 CONTRIBUTING.md README
|
|
%license LICENSE
|
|
|
|
%changelog
|