forked from pool/perl-App-perlbrew
- The build directory is removed before a new build. - New command: `install-multiple` - `clean` command now also removes tarballs - `install` command has many extra convienent flags. - Use "http://www.cpan.org" as the default CPAN mirror instead of "http://search.cpan.org/CPAN" - Remove the --insecure/--no-check-certificate command bflags when invoking curl/wget. - Remove `install-ack` command. - Due to the new architecture of ack2, it does not make sense to install the standalone executable anymore. Thus it's better not to do the installation with perlbrew. - Fix the `use` and `switch` command when switching between binary incompatible perl installations. See GH #297 - Fix `list-modules` under lib env. It lists all modules in the lib, and in the base. - Use the original grep command to prevent aliases from breaking the content of init. GH #307 - `perlbrew alias help` is now the same as `perlbrew help alias` - `perlbrew exec --with ...` now preserve the order of specified names. - Fix bashrc on various OS/shell. See GH #302 - Exit status handling in bash function. See ed29288ab50a15d7df86d69cfcbddf108674eb07 for more details. - Fix compatibility with recent local::lib version. - Delay the loading of server modules. - Fix warnings when runing `perlbrew off` OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-perlbrew?expand=0&rev=28
93 lines
3.2 KiB
RPMSpec
93 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package perl-App-perlbrew
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-App-perlbrew
|
|
Version: 0.64
|
|
Release: 0
|
|
%define cpan_name App-perlbrew
|
|
Summary: Manage perl installations in your $HOME
|
|
License: MIT
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/App-perlbrew/
|
|
Source: http://www.cpan.org/authors/id/G/GU/GUGOD/%{cpan_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
# MANUAL
|
|
BuildRequires: groff
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(CPAN::Perl::Releases) >= 1.10
|
|
BuildRequires: perl(Capture::Tiny) >= 0.22
|
|
BuildRequires: perl(Devel::PatchPerl) >= 0.86
|
|
BuildRequires: perl(IO::All) >= 0.46
|
|
BuildRequires: perl(Path::Class)
|
|
BuildRequires: perl(Test::Exception)
|
|
BuildRequires: perl(Test::NoWarnings)
|
|
BuildRequires: perl(Test::Output)
|
|
BuildRequires: perl(Test::Simple) >= 0.98
|
|
BuildRequires: perl(Test::Spec)
|
|
BuildRequires: perl(local::lib) >= 1.008009
|
|
#BuildRequires: perl(App::perlbrew)
|
|
#BuildRequires: perl(inc::Module::Install)
|
|
#BuildRequires: perl(JSON)
|
|
#BuildRequires: perl(LWP::Simple)
|
|
#BuildRequires: perl(Module::Build)
|
|
#BuildRequires: perl(Module::Install::Base)
|
|
#BuildRequires: perl(Parse::CPAN::Meta)
|
|
#BuildRequires: perl(YAML::Tiny)
|
|
Requires: perl(CPAN::Perl::Releases) >= 1.10
|
|
Requires: perl(Capture::Tiny) >= 0.22
|
|
Requires: perl(Devel::PatchPerl) >= 0.86
|
|
Requires: perl(local::lib) >= 1.008009
|
|
%{perl_requires}
|
|
|
|
%description
|
|
perlbrew is a program to automate the building and installation of perl in
|
|
an easy way. It installs everything to '~/perl5/perlbrew', and requires you
|
|
to tweak your PATH by including a bashrc/cshrc file it provides. You then
|
|
can benefit from not having to run 'sudo' commands to install cpan modules
|
|
because those are installed inside your HOME too. It provides multiple
|
|
isolated perl environments, and a mechanism for you to switch between them.
|
|
|
|
For the documentation of perlbrew usage see the perlbrew manpage command on
|
|
CPAN, or by running 'perlbrew help'. The following documentation features
|
|
the API of 'App::perlbrew' module, and may not be remotely close to what
|
|
your want to read.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
find . -type f -print0 | xargs -0 chmod 644
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc Changes doc LICENSE README
|
|
|
|
%changelog
|