2011-01-14 11:29:09 +00:00
|
|
|
#
|
2011-09-30 07:23:31 +00:00
|
|
|
# spec file for package perl-App-perlbrew
|
2011-01-14 11:29:09 +00:00
|
|
|
#
|
2025-06-12 18:49:00 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2011-01-14 11:29:09 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-12-17 17:07:47 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-01-14 11:29:09 +00:00
|
|
|
#
|
|
|
|
|
2011-09-30 07:23:31 +00:00
|
|
|
|
2021-02-03 10:42:46 +00:00
|
|
|
%define cpan_name App-perlbrew
|
2011-01-14 11:29:09 +00:00
|
|
|
Name: perl-App-perlbrew
|
2025-06-25 08:36:52 +00:00
|
|
|
Version: 1.10.0
|
2012-02-21 09:08:50 +00:00
|
|
|
Release: 0
|
2025-06-25 08:36:52 +00:00
|
|
|
# 1.01 -> normalize -> 1.10.0
|
|
|
|
%define cpan_version 1.01
|
2012-02-21 09:08:50 +00:00
|
|
|
License: MIT
|
2023-06-01 15:21:47 +00:00
|
|
|
Summary: Manage perl installations in your $HOME
|
2020-10-20 15:12:44 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2023-09-12 15:02:22 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GU/GUGOD/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-17 08:47:30 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:11:47 +02:00
|
|
|
Source100: README.md
|
2013-08-06 18:07:36 +00:00
|
|
|
BuildArch: noarch
|
2011-01-14 11:29:09 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2025-06-25 08:36:52 +00:00
|
|
|
BuildRequires: perl(CPAN::Perl::Releases) >= 5.202.409.200
|
2025-06-12 18:49:00 +00:00
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.480
|
|
|
|
BuildRequires: perl(Devel::PatchPerl) >= 2.80
|
Accepting request 743456 from devel:languages:perl:autoupdate
- updated to 0.87
see /usr/share/doc/packages/perl-App-perlbrew/Changes
0.87
- Released at 2019-10-25T22:55:40+0900
- Thanks to our contributors: Branislav Zahradník, Christopher Chavez, Jon Jacobson, Konstantin S. Uvarin, Pali, Shoichi Kaji, Tomasz Konojacki, jkjacobson, rage311
- Use the new official repo url for fetching perl blead. Github issue #677
- Add `--min` and `--max` options to `exec` command. Github PR #656
- Fix "ERROR: Cannot find the tarball for perl-$version". Github PR #669
- Fix calling patchperl on readonly files. Github PR #674
- Fix installation from local tarbal files. See https://rt.cpan.org/Ticket/Display.html?id=129871
- Internal refactoring. Github PR #667, #662
- Various corrections of documentation. Github PR #676, #660
OBS-URL: https://build.opensuse.org/request/show/743456
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-perlbrew?expand=0&rev=59
2019-10-29 08:50:56 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.22
|
2014-09-15 16:00:46 +00:00
|
|
|
BuildRequires: perl(File::Temp) >= 0.2304
|
2025-06-12 18:49:00 +00:00
|
|
|
BuildRequires: perl(File::Which) >= 1.210
|
2018-05-31 12:28:01 +00:00
|
|
|
BuildRequires: perl(JSON::PP)
|
2025-06-12 18:49:00 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(Module::Build::Tiny) >= 0.39
|
|
|
|
BuildRequires: perl(Path::Class) >= 0.330
|
2023-06-01 15:21:47 +00:00
|
|
|
BuildRequires: perl(Pod::Usage) >= 1.69
|
2025-06-25 08:36:52 +00:00
|
|
|
BuildRequires: perl(Test2::Plugin::IOEvents) >= 0.1.1
|
|
|
|
BuildRequires: perl(Test2::Plugin::NoWarnings) >= 0.100
|
|
|
|
BuildRequires: perl(Test2::V0) >= 0.000163
|
|
|
|
BuildRequires: perl(local::lib) >= 2.0.14
|
|
|
|
Requires: perl(CPAN::Perl::Releases) >= 5.202.409.200
|
2025-06-12 18:49:00 +00:00
|
|
|
Requires: perl(Capture::Tiny) >= 0.480
|
|
|
|
Requires: perl(Devel::PatchPerl) >= 2.80
|
Accepting request 743456 from devel:languages:perl:autoupdate
- updated to 0.87
see /usr/share/doc/packages/perl-App-perlbrew/Changes
0.87
- Released at 2019-10-25T22:55:40+0900
- Thanks to our contributors: Branislav Zahradník, Christopher Chavez, Jon Jacobson, Konstantin S. Uvarin, Pali, Shoichi Kaji, Tomasz Konojacki, jkjacobson, rage311
- Use the new official repo url for fetching perl blead. Github issue #677
- Add `--min` and `--max` options to `exec` command. Github PR #656
- Fix "ERROR: Cannot find the tarball for perl-$version". Github PR #669
- Fix calling patchperl on readonly files. Github PR #674
- Fix installation from local tarbal files. See https://rt.cpan.org/Ticket/Display.html?id=129871
- Internal refactoring. Github PR #667, #662
- Various corrections of documentation. Github PR #676, #660
OBS-URL: https://build.opensuse.org/request/show/743456
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-perlbrew?expand=0&rev=59
2019-10-29 08:50:56 +00:00
|
|
|
Requires: perl(ExtUtils::MakeMaker) >= 7.22
|
2018-02-21 07:26:13 +00:00
|
|
|
Requires: perl(File::Temp) >= 0.2304
|
2018-05-31 12:28:01 +00:00
|
|
|
Requires: perl(JSON::PP)
|
2023-06-01 15:21:47 +00:00
|
|
|
Requires: perl(Pod::Usage) >= 1.69
|
2025-06-25 08:36:52 +00:00
|
|
|
Requires: perl(local::lib) >= 2.0.14
|
2023-09-12 15:02:22 +00:00
|
|
|
Provides: perl(App::Perlbrew::HTTP)
|
|
|
|
Provides: perl(App::Perlbrew::Path)
|
|
|
|
Provides: perl(App::Perlbrew::Path::Installation)
|
|
|
|
Provides: perl(App::Perlbrew::Path::Installations)
|
|
|
|
Provides: perl(App::Perlbrew::Path::Root)
|
2025-06-25 08:36:52 +00:00
|
|
|
Provides: perl(App::Perlbrew::Sys)
|
2023-09-12 15:02:22 +00:00
|
|
|
Provides: perl(App::Perlbrew::Util)
|
2025-06-12 18:49:00 +00:00
|
|
|
Provides: perl(App::perlbrew) = %{version}
|
2024-03-08 21:59:53 +00:00
|
|
|
%undefine __perllib_provides
|
2014-03-17 13:15:11 +00:00
|
|
|
%{perl_requires}
|
2015-04-17 08:47:30 +00:00
|
|
|
# MANUAL BEGIN
|
2022-05-20 08:35:04 +00:00
|
|
|
BuildRequires: wget curl groff
|
2015-04-17 08:47:30 +00:00
|
|
|
# MANUAL END
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%description
|
2021-04-22 15:38:06 +00:00
|
|
|
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.
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%prep
|
2025-06-12 18:49:00 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
2023-06-01 15:21:47 +00:00
|
|
|
|
2018-02-21 07:26:13 +00:00
|
|
|
# MANUAL BEGIN
|
|
|
|
chmod a+x t/fake-bin/curl
|
|
|
|
# MANUAL END
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%build
|
2018-12-17 17:07:47 +00:00
|
|
|
perl Build.PL --installdirs=vendor
|
2018-05-31 12:28:01 +00:00
|
|
|
./Build build --flags=%{?_smp_mflags}
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%check
|
2018-05-31 12:28:01 +00:00
|
|
|
./Build test
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%install
|
2018-05-31 12:28:01 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
2011-01-14 11:29:09 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2021-04-22 15:38:06 +00:00
|
|
|
%doc Changes CONTRIBUTING.md README
|
2018-02-21 07:26:13 +00:00
|
|
|
%license LICENSE
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%changelog
|