Files
perl-Alien-Build/perl-Alien-Build.spec
Dirk Stoecker a3d2cb1d53 Accepting request 818580 from devel:languages:perl:autoupdate
- updated to 2.26
   see /usr/share/doc/packages/perl-Alien-Build/Changes.Alien-Base-Wrapper
   
  2.26      2020-06-16 07:11:13 -0600
    - Diagnostic release
 
  2.25      2020-06-10 09:18:25 -0600
    - Fixed bug where alien library directory flags could be used in the wrong
      order by Test::Alien, mostly a problem on NetBSD and similar platforms
      (gh#203)
 
  2.24_01   2020-06-07 18:13:55 -0600
    - Disable parallel build when clean install is enabled
      (gh#197, gh#198, shawnlaffan++)
    - Dropping support for Perl 5.8.1, 5.8.2 and 5.8.3.  For now AB will install
      on these versions of Perl, but a warning will be issued, along with a 3
      minute sleep at configure time.  Please upgrade to 5.8.4 (or preferrably
      5.32).  Starting July 1st, AB will refuse to install on these elderly Perls.
      (gh#200, gh#201)

OBS-URL: https://build.opensuse.org/request/show/818580
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Build?expand=0&rev=57
2020-07-05 14:50:44 +00:00

89 lines
3.1 KiB
RPMSpec

#
# spec file for package perl-Alien-Build
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: perl-Alien-Build
Version: 2.26
Release: 0
%define cpan_name Alien-Build
Summary: Build external dependencies for use in CPAN
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny) >= 0.17
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
BuildRequires: perl(ExtUtils::ParseXS) >= 3.30
BuildRequires: perl(FFI::CheckLib) >= 0.11
BuildRequires: perl(File::Which) >= 1.10
BuildRequires: perl(File::chdir)
BuildRequires: perl(JSON::PP)
BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(Path::Tiny) >= 0.077
BuildRequires: perl(Test2::API) >= 1.302096
BuildRequires: perl(Test2::V0) >= 0.000060
BuildRequires: perl(Text::ParseWords) >= 3.26
Requires: perl(Capture::Tiny) >= 0.17
Requires: perl(ExtUtils::CBuilder)
Requires: perl(ExtUtils::MakeMaker) >= 6.64
Requires: perl(ExtUtils::ParseXS) >= 3.30
Requires: perl(FFI::CheckLib) >= 0.11
Requires: perl(File::Which) >= 1.10
Requires: perl(File::chdir)
Requires: perl(JSON::PP)
Requires: perl(List::Util) >= 1.33
Requires: perl(Path::Tiny) >= 0.077
Requires: perl(Test2::API) >= 1.302096
Requires: perl(Text::ParseWords) >= 3.26
%{perl_requires}
# MANUAL BEGIN
BuildRequires: pkg-config
# MANUAL END
%description
This module provides tools for building external (non-CPAN) dependencies
for CPAN. It is mainly designed to be used at install time of a CPAN
client, and work closely with Alien::Base which is used at runtime.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
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 author.yml Changes Changes.Alien-Base Changes.Alien-Base-Wrapper Changes.Alien-Build-Decode-Mojo Changes.Test-Alien example README SUPPORT
%license LICENSE
%changelog