2017-10-10 07:19:25 +02:00
|
|
|
#
|
|
|
|
# spec file for package perl-Alien-Build
|
|
|
|
#
|
2023-01-31 10:59:56 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2017-10-10 07:19:25 +02: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.
|
|
|
|
|
2019-01-17 13:31:24 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-10-10 07:19:25 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-01-12 11:20:07 +01:00
|
|
|
%define cpan_name Alien-Build
|
2017-10-10 07:19:25 +02:00
|
|
|
Name: perl-Alien-Build
|
2023-03-10 11:44:35 +01:00
|
|
|
Version: 2.78
|
2017-10-10 07:19:25 +02:00
|
|
|
Release: 0
|
2018-04-10 06:45:00 +02:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-03-09 12:06:22 +01:00
|
|
|
Summary: Build external dependencies for use in CPAN
|
2020-05-06 12:14:49 +02:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2017-10-10 07:19:25 +02:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
|
2018-04-10 06:45:00 +02:00
|
|
|
Source1: cpanspec.yml
|
2017-10-10 07:19:25 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.17
|
2020-11-03 10:18:03 +01:00
|
|
|
BuildRequires: perl(Digest::SHA)
|
2017-10-10 07:19:25 +02:00
|
|
|
BuildRequires: perl(ExtUtils::CBuilder)
|
2019-01-17 13:31:24 +01:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
|
2017-10-10 07:19:25 +02:00
|
|
|
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)
|
2019-08-20 15:28:54 +02:00
|
|
|
BuildRequires: perl(List::Util) >= 1.33
|
2017-10-10 07:19:25 +02:00
|
|
|
BuildRequires: perl(Path::Tiny) >= 0.077
|
2019-11-06 00:19:48 +01:00
|
|
|
BuildRequires: perl(Test2::API) >= 1.302096
|
2021-06-23 11:47:56 +02:00
|
|
|
BuildRequires: perl(Test2::V0) >= 0.000121
|
2017-10-10 07:19:25 +02:00
|
|
|
BuildRequires: perl(Text::ParseWords) >= 3.26
|
2021-06-23 11:47:56 +02:00
|
|
|
BuildRequires: perl(parent)
|
2017-10-10 07:19:25 +02:00
|
|
|
Requires: perl(Capture::Tiny) >= 0.17
|
2020-11-03 10:18:03 +01:00
|
|
|
Requires: perl(Digest::SHA)
|
2017-10-10 07:19:25 +02:00
|
|
|
Requires: perl(ExtUtils::CBuilder)
|
2019-01-17 13:31:24 +01:00
|
|
|
Requires: perl(ExtUtils::MakeMaker) >= 6.64
|
2017-10-10 07:19:25 +02:00
|
|
|
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)
|
2019-08-20 15:28:54 +02:00
|
|
|
Requires: perl(List::Util) >= 1.33
|
2017-10-10 07:19:25 +02:00
|
|
|
Requires: perl(Path::Tiny) >= 0.077
|
2019-11-06 00:19:48 +01:00
|
|
|
Requires: perl(Test2::API) >= 1.302096
|
2017-10-10 07:19:25 +02:00
|
|
|
Requires: perl(Text::ParseWords) >= 3.26
|
2021-06-23 11:47:56 +02:00
|
|
|
Requires: perl(parent)
|
2017-10-10 07:19:25 +02:00
|
|
|
%{perl_requires}
|
2018-04-10 06:45:00 +02:00
|
|
|
# MANUAL BEGIN
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
# MANUAL END
|
2017-10-10 07:19:25 +02:00
|
|
|
|
|
|
|
%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
|
2021-01-12 11:20:07 +01:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2023-01-31 10:59:56 +01:00
|
|
|
|
2019-12-10 10:19:23 +01:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2017-10-10 07:19:25 +02:00
|
|
|
|
|
|
|
%build
|
2019-01-17 13:31:24 +01:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
2021-01-12 11:20:07 +01:00
|
|
|
%make_build
|
2017-10-10 07:19:25 +02:00
|
|
|
|
|
|
|
%check
|
2019-01-17 13:31:24 +01:00
|
|
|
make test
|
2017-10-10 07:19:25 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2023-03-10 11:44:35 +01:00
|
|
|
%doc Changes Changes.Alien-Base Changes.Alien-Base-Wrapper Changes.Alien-Build-Decode-Mojo Changes.Test-Alien example README SUPPORT
|
2017-10-10 07:19:25 +02:00
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%changelog
|