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
|
|
|
#
|
2013-06-04 14:45:58 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-09-30 07:23:31 +00:00
|
|
|
|
2011-01-14 11:29:09 +00:00
|
|
|
Name: perl-App-perlbrew
|
2013-08-06 18:07:36 +00:00
|
|
|
Version: 0.66
|
2012-02-21 09:08:50 +00:00
|
|
|
Release: 0
|
2011-01-14 11:29:09 +00:00
|
|
|
%define cpan_name App-perlbrew
|
|
|
|
Summary: Manage perl installations in your $HOME
|
2012-02-21 09:08:50 +00:00
|
|
|
License: MIT
|
2011-01-14 11:29:09 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2012-02-21 09:08:50 +00:00
|
|
|
Url: http://search.cpan.org/dist/App-perlbrew/
|
2011-04-27 19:00:04 +00:00
|
|
|
Source: http://www.cpan.org/authors/id/G/GU/GUGOD/%{cpan_name}-%{version}.tar.gz
|
2012-10-26 15:54:19 +00:00
|
|
|
# MANUAL
|
|
|
|
BuildRequires: groff
|
2013-08-06 18:07:36 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-01-14 11:29:09 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2013-08-06 18:07:36 +00:00
|
|
|
BuildRequires: perl(CPAN::Perl::Releases) >= 1.26
|
2013-06-04 14:45:58 +00:00
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.22
|
2013-08-06 18:07:36 +00:00
|
|
|
BuildRequires: perl(Devel::PatchPerl) >= 1.00
|
2013-06-04 14:45:58 +00:00
|
|
|
BuildRequires: perl(IO::All) >= 0.46
|
2012-02-21 09:08:50 +00:00
|
|
|
BuildRequires: perl(Path::Class)
|
|
|
|
BuildRequires: perl(Test::Exception)
|
2013-06-04 14:45:58 +00:00
|
|
|
BuildRequires: perl(Test::NoWarnings)
|
2013-08-06 18:07:36 +00:00
|
|
|
BuildRequires: perl(Test::Output) >= 0.04
|
2012-01-02 07:33:29 +00:00
|
|
|
BuildRequires: perl(Test::Simple) >= 0.98
|
2013-08-06 18:07:36 +00:00
|
|
|
BuildRequires: perl(Test::Spec) >= 0.46
|
2013-06-04 14:45:58 +00:00
|
|
|
BuildRequires: perl(local::lib) >= 1.008009
|
2012-02-21 09:08:50 +00:00
|
|
|
#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)
|
2013-08-06 18:07:36 +00:00
|
|
|
Requires: perl(CPAN::Perl::Releases) >= 1.26
|
2013-06-04 14:45:58 +00:00
|
|
|
Requires: perl(Capture::Tiny) >= 0.22
|
2013-08-06 18:07:36 +00:00
|
|
|
Requires: perl(Devel::PatchPerl) >= 1.00
|
2013-06-04 14:45:58 +00:00
|
|
|
Requires: perl(local::lib) >= 1.008009
|
2011-01-14 11:29:09 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
|
|
|
perlbrew is a program to automate the building and installation of perl in
|
2012-02-21 09:08:50 +00:00
|
|
|
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.
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2013-06-04 14:45:58 +00:00
|
|
|
find . -type f -print0 | xargs -0 chmod 644
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%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
|
2011-04-27 19:00:04 +00:00
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes doc LICENSE README
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%changelog
|