2011-01-21 16:48:05 +00:00
|
|
|
#
|
2015-05-02 10:05:56 +00:00
|
|
|
# spec file for package perl-Dist-Zilla-PluginBundle-BINGOS
|
2011-01-21 16:48:05 +00:00
|
|
|
#
|
2024-07-20 22:18:52 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-01-21 16:48:05 +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.
|
|
|
|
|
2024-07-20 22:18:52 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-01-21 16:48:05 +00:00
|
|
|
#
|
|
|
|
|
2015-05-02 10:05:56 +00:00
|
|
|
|
2024-07-20 22:18:52 +00:00
|
|
|
%define cpan_name Dist-Zilla-PluginBundle-BINGOS
|
2011-01-21 16:48:05 +00:00
|
|
|
Name: perl-Dist-Zilla-PluginBundle-BINGOS
|
2024-07-20 22:18:52 +00:00
|
|
|
Version: 0.200.0
|
2015-05-02 10:05:56 +00:00
|
|
|
Release: 0
|
2024-07-20 22:18:52 +00:00
|
|
|
# 0.20 -> normalize -> 0.200.0
|
|
|
|
%define cpan_version 0.20
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2011-01-21 16:48:05 +00:00
|
|
|
Summary: BeLike::BINGOS when you build your dists
|
2024-07-20 22:18:52 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-05-02 10:05:56 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:13:37 +02:00
|
|
|
Source100: README.md
|
2011-05-02 07:38:25 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-05-04 07:37:56 +00:00
|
|
|
BuildRequires: perl(Dist::Zilla) >= 4.200006
|
2024-07-20 22:18:52 +00:00
|
|
|
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
|
2011-05-04 07:37:56 +00:00
|
|
|
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
|
2024-07-20 22:18:52 +00:00
|
|
|
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
|
2015-05-02 10:05:56 +00:00
|
|
|
BuildRequires: perl(Dist::Zilla::Role::PluginBundle::PluginRemover) >= 0.102
|
2011-01-21 16:48:05 +00:00
|
|
|
BuildRequires: perl(Moose) >= 1.08
|
2011-05-04 07:37:56 +00:00
|
|
|
Requires: perl(Dist::Zilla) >= 4.200006
|
2024-07-20 22:18:52 +00:00
|
|
|
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
|
2011-05-04 07:37:56 +00:00
|
|
|
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
|
2024-07-20 22:18:52 +00:00
|
|
|
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
|
2015-05-02 10:05:56 +00:00
|
|
|
Requires: perl(Dist::Zilla::Role::PluginBundle::PluginRemover) >= 0.102
|
2011-01-21 16:48:05 +00:00
|
|
|
Requires: perl(Moose) >= 1.08
|
2024-07-20 22:18:52 +00:00
|
|
|
Provides: perl(Dist::Zilla::PluginBundle::BINGOS) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2011-01-21 16:48:05 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2024-07-20 22:18:52 +00:00
|
|
|
This is a Dist::Zilla PluginBundle. It is roughly equivalent to the
|
|
|
|
following dist.ini:
|
2011-01-21 16:48:05 +00:00
|
|
|
|
|
|
|
[@Basic]
|
|
|
|
|
|
|
|
[MetaJSON]
|
|
|
|
[PodSyntaxTests]
|
|
|
|
[PodCoverageTests]
|
|
|
|
|
|
|
|
[PodWeaver]
|
|
|
|
[PkgVersion]
|
|
|
|
[GithubMeta]
|
|
|
|
|
|
|
|
[ChangelogFromGit]
|
|
|
|
file_name = Changes
|
2015-05-02 10:05:56 +00:00
|
|
|
tag_regexp = ^(\\d+\\.\\d+)$
|
2011-01-21 16:48:05 +00:00
|
|
|
max_age = 1825
|
|
|
|
|
2015-09-01 09:36:54 +00:00
|
|
|
[ReadmeAnyFromPod]
|
2015-05-02 10:05:56 +00:00
|
|
|
[Test::Compile]
|
2011-01-21 16:48:05 +00:00
|
|
|
|
2011-05-02 07:38:25 +00:00
|
|
|
[Clean]
|
2011-01-21 16:48:05 +00:00
|
|
|
|
2015-05-02 10:05:56 +00:00
|
|
|
This PluginBundle also supports PluginRemover, so dropping a plugin is as
|
|
|
|
easy as this:
|
|
|
|
|
|
|
|
[@BINGOS]
|
|
|
|
-remove = PluginIDontWant
|
|
|
|
|
2011-01-21 16:48:05 +00:00
|
|
|
%prep
|
2024-07-20 22:18:52 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2011-01-21 16:48:05 +00:00
|
|
|
|
|
|
|
%build
|
2024-07-20 22:18:52 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2011-01-21 16:48:05 +00:00
|
|
|
|
|
|
|
%check
|
2024-07-20 22:18:52 +00:00
|
|
|
make test
|
2011-01-21 16:48:05 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2024-07-20 22:18:52 +00:00
|
|
|
%doc Changes README
|
|
|
|
%license LICENSE
|
2011-01-21 16:48:05 +00:00
|
|
|
|
|
|
|
%changelog
|