2010-09-06 13:39:11 +00:00
|
|
|
#
|
2014-11-19 14:21:33 +00:00
|
|
|
# spec file for package perl-ExtUtils-CBuilder
|
2010-09-06 13:39:11 +00:00
|
|
|
#
|
2022-05-17 08:11:48 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2010-09-06 13:39:11 +00: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-04-03 07:01:51 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-09-06 13:39:11 +00:00
|
|
|
#
|
|
|
|
|
2008-05-08 17:41:06 +00:00
|
|
|
|
2022-05-17 08:11:48 +00:00
|
|
|
%define cpan_name ExtUtils-CBuilder
|
2008-05-08 17:41:06 +00:00
|
|
|
Name: perl-ExtUtils-CBuilder
|
2022-05-17 08:11:48 +00:00
|
|
|
Version: 0.280236
|
2014-11-19 14:21:33 +00:00
|
|
|
Release: 0
|
2010-08-26 19:22:33 +00:00
|
|
|
Summary: Compile and link C code for Perl modules
|
2019-04-03 07:01:51 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-05-17 08:11:48 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2017-07-15 15:12:54 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AM/AMBS/%{cpan_name}-%{version}.tar.gz
|
2015-06-10 10:43:42 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:13:58 +02:00
|
|
|
Source100: README.md
|
2010-09-06 13:39:11 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2014-11-19 14:21:33 +00:00
|
|
|
BuildRequires: perl(File::Spec) >= 3.13
|
|
|
|
BuildRequires: perl(IPC::Cmd)
|
2015-04-15 07:40:24 +00:00
|
|
|
BuildRequires: perl(Perl::OSType) >= 1
|
2014-11-19 14:21:33 +00:00
|
|
|
Requires: perl(File::Spec) >= 3.13
|
|
|
|
Requires: perl(IPC::Cmd)
|
2015-04-15 07:40:24 +00:00
|
|
|
Requires: perl(Perl::OSType) >= 1
|
2014-11-19 14:21:33 +00:00
|
|
|
%{perl_requires}
|
2007-08-24 14:28:59 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This module can build the C portions of Perl modules by invoking the
|
2010-09-06 13:39:11 +00:00
|
|
|
appropriate compilers and linkers in a cross-platform manner. It was
|
2014-11-19 14:21:33 +00:00
|
|
|
motivated by the 'Module::Build' project, but may be useful for other
|
|
|
|
purposes as well. However, it is _not_ intended as a general cross-platform
|
2010-09-06 13:39:11 +00:00
|
|
|
interface to all your C building needs. That would have been a much more
|
|
|
|
ambitious goal!
|
|
|
|
|
2007-08-24 14:28:59 +00:00
|
|
|
%prep
|
2022-05-17 08:11:48 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2007-08-24 14:28:59 +00:00
|
|
|
|
|
|
|
%build
|
2019-04-03 07:01:51 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2022-05-17 08:11:48 +00:00
|
|
|
%make_build
|
2010-08-26 19:22:33 +00:00
|
|
|
|
|
|
|
%check
|
2019-04-03 07:01:51 +00:00
|
|
|
make test
|
2010-09-06 13:39:11 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2014-11-19 14:21:33 +00:00
|
|
|
%perl_process_packlist
|
2010-09-06 13:39:11 +00:00
|
|
|
%perl_gen_filelist
|
2007-08-24 14:28:59 +00:00
|
|
|
|
2010-09-06 13:39:11 +00:00
|
|
|
%files -f %{name}.files
|
2017-12-06 14:32:56 +00:00
|
|
|
%doc Changes CONTRIBUTING NOTAS-Alberto README README.mkdn README.patching README.release
|
2017-07-15 15:12:54 +00:00
|
|
|
%license LICENSE
|
2007-08-24 14:28:59 +00:00
|
|
|
|
2010-09-06 13:39:11 +00:00
|
|
|
%changelog
|