Files
perl-Dist-Zilla-PluginBundl…/perl-Dist-Zilla-PluginBundle-BINGOS.spec

114 lines
3.8 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-Dist-Zilla-PluginBundle-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 Dist-Zilla-PluginBundle-BINGOS
Name: perl-Dist-Zilla-PluginBundle-BINGOS
Version: 0.200.0
Release: 0
# 0.20 -> normalize -> 0.200.0
%define cpan_version 0.20
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: BeLike::BINGOS when you build your dists
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
2025-08-12 18:13:37 +02:00
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Dist::Zilla) >= 4.200006
BuildRequires: perl(Dist::Zilla::Plugin::ChangelogFromGit) >= 0.6.0
BuildRequires: perl(Dist::Zilla::Plugin::Clean) >= 0.20.0
BuildRequires: perl(Dist::Zilla::Plugin::GithubMeta) >= 0.100
BuildRequires: perl(Dist::Zilla::Plugin::MetaJSON) >= 4.200006
BuildRequires: perl(Dist::Zilla::Plugin::PkgVersion) >= 4.200006
BuildRequires: perl(Dist::Zilla::Plugin::PodCoverageTests) >= 4.200006
BuildRequires: perl(Dist::Zilla::Plugin::PodSyntaxTests) >= 4.200006
BuildRequires: perl(Dist::Zilla::Plugin::PodWeaver) >= 3.101.641
BuildRequires: perl(Dist::Zilla::Plugin::ReadmeAnyFromPod) >= 0.140
BuildRequires: perl(Dist::Zilla::Plugin::Test::Compile) >= 1.112.400
BuildRequires: perl(Dist::Zilla::Role::PluginBundle::PluginRemover) >= 0.102
BuildRequires: perl(Moose) >= 1.08
Requires: perl(Dist::Zilla) >= 4.200006
Requires: perl(Dist::Zilla::Plugin::ChangelogFromGit) >= 0.6.0
Requires: perl(Dist::Zilla::Plugin::Clean) >= 0.20.0
Requires: perl(Dist::Zilla::Plugin::GithubMeta) >= 0.100
Requires: perl(Dist::Zilla::Plugin::MetaJSON) >= 4.200006
Requires: perl(Dist::Zilla::Plugin::PkgVersion) >= 4.200006
Requires: perl(Dist::Zilla::Plugin::PodCoverageTests) >= 4.200006
Requires: perl(Dist::Zilla::Plugin::PodSyntaxTests) >= 4.200006
Requires: perl(Dist::Zilla::Plugin::PodWeaver) >= 3.101.641
Requires: perl(Dist::Zilla::Plugin::ReadmeAnyFromPod) >= 0.140
Requires: perl(Dist::Zilla::Plugin::Test::Compile) >= 1.112.400
Requires: perl(Dist::Zilla::Role::PluginBundle::PluginRemover) >= 0.102
Requires: perl(Moose) >= 1.08
Provides: perl(Dist::Zilla::PluginBundle::BINGOS) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
This is a Dist::Zilla PluginBundle. It is roughly equivalent to the
following dist.ini:
[@Basic]
[MetaJSON]
[PodSyntaxTests]
[PodCoverageTests]
[PodWeaver]
[PkgVersion]
[GithubMeta]
[ChangelogFromGit]
file_name = Changes
tag_regexp = ^(\\d+\\.\\d+)$
max_age = 1825
[ReadmeAnyFromPod]
[Test::Compile]
[Clean]
This PluginBundle also supports PluginRemover, so dropping a plugin is as
easy as this:
[@BINGOS]
-remove = PluginIDontWant
%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 README
%license LICENSE
%changelog