perl-Alien-Build/perl-Alien-Build.spec

90 lines
3.1 KiB
RPMSpec
Raw Normal View History

#
# 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
Accepting request 1001437 from devel:languages:perl:autoupdate - updated to 2.68 see /usr/share/doc/packages/perl-Alien-Build/Changes 2.68 2022-09-05 09:05:18 -0600 - Documentation improvements (gh#367) - alien_diag from Test::Alien::Diag now can optionaly take a hash reference as its last argument (gh#365, gh#366) - alien_diag supports two new options properties and list_properties (gh#365, gh#366) - Document that alien_diag may take more than one alien as an argument (this has always been the case, but never documented (gh#366) 2.67 2022-09-03 17:07:40 -0600 - Test::Alien::Diag should now handle undef fields more gracefully (gh#363, gh#364) 2.66 2022-09-01 13:29:15 -0600 - Validate SSL certificates for Fetch::HTTPTiny plugin if ALIEN_DOWNLOAD_RULE is one of encrypt, digest_or_encrypt or digest_and_encrypt (gh#362) 2.65 2022-08-30 11:17:41 -0600 - Fix POD name for Alien::Build::Manual::Security (gh#360) 2.64 2022-08-30 10:09:42 -0600 - Production release identical to 2.63.01 - !!! Notice of Change of Behavior !!! In the near future, AB will require by default one of: 1. Secure https connection 2. Bundled pacakge (ie file:// URL) 3. Cryptographic signature before extracting archives fetched off the internet. You can test the new behavior yourself by setting ALIEN_DOWNLOAD_RULE to `digest_or_encrypt`. More details can be found in the Alien::Build::Manual::Security POD !!! Notice of Change of Behavior !!! 2.63_01 2022-08-30 00:44:54 -0600 - New documentation Alien::Build::Manual::Security (gh#357) - Compute $build->donwload_rule as soon as possible (gh#190, gh#358) - ALIEN_DOWNLOAD_RULE=default is now a legal value. It is currently the same as 'warn' but will probably become 'digest_or_encrypt' in the future (gh#356) - Added notice in change of behavior (gh#190, gh#359) 2.62_01 2022-08-29 15:03:53 -0600 - Fixed bug introduced in 2.60_01 where file URLs were not considered safe (gh#351, gh#355) 2.61_01 2022-08-28 15:49:06 -0600 - Added preload_plugin and postload_plugin to Alien::Build::rc (gh#348, gh#349) 2.60_01 2022-08-28 10:37:01 -0600 - Documentation improvements (gh#333, gh#334, gh#342, gh#343, gh#344) - Fixed a number of broken links in POD (gh#344) - Added download_detail install property (gh#190, gh#344) - Added download_rule method (gh#190, gh#344) - The fetch hook and other plugins that use the same file hash can and now should include a protocol field (gh#190, gh#344) OBS-URL: https://build.opensuse.org/request/show/1001437 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Build?expand=0&rev=87
2022-09-08 19:46:02 +00:00
Version: 2.68
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