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.
|
|
|
|
|
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
|
|
|
|
2011-01-14 11:29:09 +00:00
|
|
|
Name: perl-App-perlbrew
|
2018-12-17 17:07:47 +00:00
|
|
|
Version: 0.85
|
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
|
2018-12-17 17:07:47 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
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-07-23 08:55:18 +00:00
|
|
|
BuildRequires: perl(CPAN::Perl::Releases) >= 3.66
|
2016-06-24 04:58:29 +00:00
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.36
|
2018-07-23 08:55:18 +00:00
|
|
|
BuildRequires: perl(Devel::PatchPerl) >= 1.52
|
2018-05-31 12:28:01 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.86
|
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
|
2018-05-31 12:28:01 +00:00
|
|
|
BuildRequires: perl(JSON::PP)
|
|
|
|
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
2014-09-15 16:00:46 +00:00
|
|
|
BuildRequires: perl(Path::Class) >= 0.33
|
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
|
2018-05-31 12:28:01 +00:00
|
|
|
BuildRequires: perl(Test::TempDir::Tiny) >= 0.016
|
2014-09-15 16:00:46 +00:00
|
|
|
BuildRequires: perl(local::lib) >= 2.000014
|
2018-07-23 08:55:18 +00:00
|
|
|
Requires: perl(CPAN::Perl::Releases) >= 3.66
|
2016-06-24 04:58:29 +00:00
|
|
|
Requires: perl(Capture::Tiny) >= 0.36
|
2018-07-23 08:55:18 +00:00
|
|
|
Requires: perl(Devel::PatchPerl) >= 1.52
|
2018-12-17 17:07:47 +00:00
|
|
|
Requires: perl(ExtUtils::MakeMaker) >= 6.86
|
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)
|
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-05-31 12:28:01 +00:00
|
|
|
Manage perl installations in your C<$HOME>
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
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
|
2011-04-27 19:00:04 +00:00
|
|
|
%defattr(-,root,root,755)
|
2018-12-17 17:07:47 +00:00
|
|
|
%doc Changes CONTRIBUTING.md doc metamerge.json README README.md
|
2018-02-21 07:26:13 +00:00
|
|
|
%license LICENSE
|
2011-01-14 11:29:09 +00:00
|
|
|
|
|
|
|
%changelog
|