forked from pool/perl-App-perlbrew
see /usr/share/doc/packages/perl-App-perlbrew/Changes - Thanks to our contributors: Alceu Rodrigues de Freitas Junior, Paul Cochrane - Fix regression of 'perlbrew install blead' 0.81: # 2017-12-09T15:12:04+0900 - Thanks to our contributors: Luca Ferrari, Zac Bentley, perlancar, Nicolas R, gregor herrmann, Paul Cochrane - New command: clone-modules - Recognize tarball in .tar.xz extension - The output of "availables" is now sorted by versions - Unbreak the integration with cperl releases - Make `perlbrew install` runs correctly on AIX - support the current perl blead (5.28) 0.80: # 2017-06-30T07:40:45+0200 - Fix version in META.yml in CPAN distribution. See: https://rt.cpan.org/Public/Bug/Display.html?id=122279 0.79: # 2017-06-25T23:40:45+0200 - deal with perl-5.26 change about @INC in Makefile.PL - "available" command now also shows the URLs OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-perlbrew?expand=0&rev=48
92 lines
2.9 KiB
RPMSpec
92 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package perl-App-perlbrew
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX 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.82
|
|
Release: 0
|
|
%define cpan_name App-perlbrew
|
|
Summary: Manage perl installations in your C<$HOME>
|
|
License: MIT
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/App-perlbrew/
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GU/GUGOD/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(CPAN::Perl::Releases) >= 3.24
|
|
BuildRequires: perl(Capture::Tiny) >= 0.36
|
|
BuildRequires: perl(Devel::PatchPerl) >= 1.40
|
|
BuildRequires: perl(File::Temp) >= 0.2304
|
|
BuildRequires: perl(File::Which) >= 1.21
|
|
BuildRequires: perl(IO::All) >= 0.51
|
|
BuildRequires: perl(Path::Class) >= 0.33
|
|
BuildRequires: perl(Pod::Markdown) >= 2.002
|
|
BuildRequires: perl(Pod::Parser) >= 1.63
|
|
BuildRequires: perl(Pod::Usage) >= 1.68
|
|
BuildRequires: perl(Test::Exception) >= 0.320000
|
|
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
|
|
Requires: perl(CPAN::Perl::Releases) >= 3.24
|
|
Requires: perl(Capture::Tiny) >= 0.36
|
|
Requires: perl(Devel::PatchPerl) >= 1.40
|
|
Requires: perl(File::Temp) >= 0.2304
|
|
Requires: perl(Pod::Parser) >= 1.63
|
|
Requires: perl(Pod::Usage) >= 1.68
|
|
Requires: perl(local::lib) >= 2.000014
|
|
%{perl_requires}
|
|
# MANUAL BEGIN
|
|
BuildRequires: curl
|
|
BuildRequires: groff
|
|
BuildRequires: wget
|
|
# MANUAL END
|
|
|
|
%description
|
|
Manage perl installations in your C<$HOME>
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
|
# MANUAL BEGIN
|
|
chmod a+x t/fake-bin/curl
|
|
# MANUAL END
|
|
|
|
%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 README README.md
|
|
%license LICENSE
|
|
|
|
%changelog
|