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
|
|
|
#
|
2018-02-21 07:26:13 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX 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
|
2018-02-21 07:26:13 +00:00
|
|
|
Version: 0.82
|
2012-02-21 09:08:50 +00:00
|
|
|
Release: 0
|
2011-01-14 11:29:09 +00:00
|
|
|
%define cpan_name App-perlbrew
|
2015-11-28 10:08:30 +00:00
|
|
|
Summary: Manage perl installations in your C<$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/
|
2018-02-21 07:26:13 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GU/GUGOD/%{cpan_name}-%{version}.tar.gz
|
2015-04-17 08:47:30 +00:00
|
|
|
Source1: cpanspec.yml
|
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
|
2018-02-21 07:26:13 +00:00
|
|
|
BuildRequires: perl(CPAN::Perl::Releases) >= 3.24
|
2016-06-24 04:58:29 +00:00
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.36
|
|
|
|
BuildRequires: perl(Devel::PatchPerl) >= 1.40
|
2014-09-15 16:00:46 +00:00
|
|
|
BuildRequires: perl(File::Temp) >= 0.2304
|
2018-02-21 07:26:13 +00:00
|
|
|
BuildRequires: perl(File::Which) >= 1.21
|
2014-09-15 16:00:46 +00:00
|
|
|
BuildRequires: perl(IO::All) >= 0.51
|
|
|
|
BuildRequires: perl(Path::Class) >= 0.33
|
2018-02-21 07:26:13 +00:00
|
|
|
BuildRequires: perl(Pod::Markdown) >= 2.002
|
2016-06-24 04:58:29 +00:00
|
|
|
BuildRequires: perl(Pod::Parser) >= 1.63
|
|
|
|
BuildRequires: perl(Pod::Usage) >= 1.68
|
2015-11-28 10:08:30 +00:00
|
|
|
BuildRequires: perl(Test::Exception) >= 0.320000
|
2014-09-15 16:00:46 +00:00
|
|
|
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.47
|
|
|
|
BuildRequires: perl(local::lib) >= 2.000014
|
2018-02-21 07:26:13 +00:00
|
|
|
Requires: perl(CPAN::Perl::Releases) >= 3.24
|
2016-06-24 04:58:29 +00:00
|
|
|
Requires: perl(Capture::Tiny) >= 0.36
|
|
|
|
Requires: perl(Devel::PatchPerl) >= 1.40
|
2018-02-21 07:26:13 +00:00
|
|
|
Requires: perl(File::Temp) >= 0.2304
|
2016-06-24 04:58:29 +00:00
|
|
|
Requires: perl(Pod::Parser) >= 1.63
|
|
|
|
Requires: perl(Pod::Usage) >= 1.68
|
2014-09-15 16:00:46 +00:00
|
|
|
Requires: perl(local::lib) >= 2.000014
|
2014-03-17 13:15:11 +00:00
|
|
|
%{perl_requires}
|
2015-04-17 08:47:30 +00:00
|
|
|
# MANUAL BEGIN
|
2018-02-21 07:26:13 +00:00
|
|
|
BuildRequires: curl
|
2013-11-25 10:10:38 +00:00
|
|
|
BuildRequires: groff
|
2014-03-17 13:15:11 +00:00
|
|
|
BuildRequires: wget
|
2015-04-17 08:47:30 +00:00
|
|
|
# MANUAL END
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%description
|
2018-03-05 15:23:13 +00:00
|
|
|
perlbrew is an admin-free perl installation management tool.
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2016-04-06 06:23:59 +00:00
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
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
|
|
|
|
%{__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)
|
2018-02-21 07:26:13 +00:00
|
|
|
%doc Changes doc README README.md
|
|
|
|
%license LICENSE
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%changelog
|