1
0
perl-Alien-Build/perl-Alien-Build.spec
Pedro Monreal Gonzalez 55e7c0c623 Accepting request 998816 from devel:languages:perl:autoupdate
- updated to 2.59
   see /usr/share/doc/packages/perl-Alien-Build/Changes
  2.59      2022-08-16 09:38:14 -0600
    - Documentation improvements (gh#337, gh#341)
    - Do not allow downgrading from SSL if start_url is https.  This is
      done by filtering non-SSL URLs from the candidate listif the start_url
      uses https (gh#190, gh#339)
  2.58_01   2022-08-15 12:55:07 -0600
    - Fix bug where properties could not be interpolated in environment
      variables if meta.env_interpolate is on (gh#333)
    - Can now pass an Alien::Build instance into Alien::Build::Interpolator's
      interpolate method to use meta, install, runtime, etc. prroperites in
      the template (gh#312, gh#333)
  2.57_01   2022-08-15 11:09:52 -0600
    - Added experimental plugin Digest::SHA and Digest::SHAPP for checking
      signatures (gh#332)
    - Added experimental check_digest method on Alien::Build (gh#332)
    - Added experimental digest keyword for alienfile (gh#332)
    - Removed long deprecated subplugin method from Alien::Build::Plugin (gh#331)

OBS-URL: https://build.opensuse.org/request/show/998816
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Build?expand=0&rev=85
2022-08-23 21:25:15 +00:00

90 lines
3.1 KiB
RPMSpec

#
# spec file for package perl-Alien-Build
#
# Copyright (c) 2022 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/
#
%define cpan_name Alien-Build
Name: perl-Alien-Build
Version: 2.59
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Build external dependencies for use in CPAN
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
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny) >= 0.17
BuildRequires: perl(Digest::SHA)
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.000121
BuildRequires: perl(Text::ParseWords) >= 3.26
BuildRequires: perl(parent)
Requires: perl(Capture::Tiny) >= 0.17
Requires: perl(Digest::SHA)
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
Requires: perl(parent)
%{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
%autosetup -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_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%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