Files
perl-Task-Module-Install-BI…/perl-Task-Module-Install-BINGOS.spec
2025-08-12 18:17:29 +02:00

99 lines
3.1 KiB
RPMSpec

#
# spec file for package perl-Task-Module-Install-BINGOS
#
# Copyright (c) 2024 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 Task-Module-Install-BINGOS
Name: perl-Task-Module-Install-BINGOS
Version: 1.40.0
Release: 0
# 1.04 -> normalize -> 1.40.0
%define cpan_version 1.04
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Task to install all BINGOS' Module::Install extensions
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
BuildRequires: perl(Module::Install) >= 1
BuildRequires: perl(Module::Install::AssertOS) >= 0.100
BuildRequires: perl(Module::Install::AutoLicense) >= 0.80.0
BuildRequires: perl(Module::Install::AutomatedTester) >= 0.20.0
BuildRequires: perl(Module::Install::CheckLib) >= 0.80.0
BuildRequires: perl(Module::Install::GithubMeta) >= 0.100
BuildRequires: perl(Module::Install::NoAutomatedTesting) >= 0.60.0
BuildRequires: perl(Module::Install::ReadmeFromPod) >= 0.120
Requires: perl(Module::Install) >= 1
Requires: perl(Module::Install::AssertOS) >= 0.100
Requires: perl(Module::Install::AutoLicense) >= 0.80.0
Requires: perl(Module::Install::AutomatedTester) >= 0.20.0
Requires: perl(Module::Install::CheckLib) >= 0.80.0
Requires: perl(Module::Install::GithubMeta) >= 0.100
Requires: perl(Module::Install::NoAutomatedTesting) >= 0.60.0
Requires: perl(Module::Install::ReadmeFromPod) >= 0.120
Provides: perl(Task::Module::Install::BINGOS) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Task::Module::Install::BINGOS is a Task that installs all of my (BINGOS)
Module::Install extensions.
Why? Because I am lazy.
The following modules will be installed:
Module::Install
Module::Install::AssertOS
Module::Install::AutoLicense
Module::Install::AutomatedTester
Module::Install::CheckLib
Module::Install::GithubMeta
Module::Install::NoAutomatedTesting
Module::Install::ReadmeFromPod
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes Changes.old README
%license LICENSE
%changelog