110 lines
4.0 KiB
RPMSpec
110 lines
4.0 KiB
RPMSpec
#
|
|
# spec file for package perl-Dist-Zilla-Plugin-ReadmeAnyFromPod
|
|
#
|
|
# 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-Plugin-ReadmeAnyFromPod
|
|
Name: perl-Dist-Zilla-Plugin-ReadmeAnyFromPod
|
|
Version: 0.163.250
|
|
Release: 0
|
|
# 0.163250 -> normalize -> 0.163.250
|
|
%define cpan_version 0.163250
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Automatically convert POD to a README in any format for Dist::Zilla
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RT/RTHOMPSON/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Dist::Zilla::File::InMemory)
|
|
BuildRequires: perl(Dist::Zilla::Role::AfterBuild)
|
|
BuildRequires: perl(Dist::Zilla::Role::AfterRelease)
|
|
BuildRequires: perl(Dist::Zilla::Role::FileGatherer)
|
|
BuildRequires: perl(Dist::Zilla::Role::FileMunger)
|
|
BuildRequires: perl(Dist::Zilla::Role::FilePruner)
|
|
BuildRequires: perl(Dist::Zilla::Role::FileWatcher)
|
|
BuildRequires: perl(Dist::Zilla::Role::PPI)
|
|
BuildRequires: perl(Dist::Zilla::Role::PluginBundle::Easy)
|
|
BuildRequires: perl(List::Util) >= 1.33
|
|
BuildRequires: perl(Moose)
|
|
BuildRequires: perl(Moose::Util::TypeConstraints)
|
|
BuildRequires: perl(MooseX::Has::Sugar)
|
|
BuildRequires: perl(PPI::Document)
|
|
BuildRequires: perl(Path::Tiny) >= 0.004
|
|
BuildRequires: perl(Pod::Markdown) >= 2.000
|
|
BuildRequires: perl(Pod::Markdown::Github)
|
|
BuildRequires: perl(Pod::Simple::HTML) >= 3.23
|
|
BuildRequires: perl(Pod::Simple::Text) >= 3.23
|
|
BuildRequires: perl(Test::DZil)
|
|
BuildRequires: perl(Test::Deep)
|
|
BuildRequires: perl(Test::Fatal)
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
BuildRequires: perl(Test::Most)
|
|
BuildRequires: perl(Test::Requires)
|
|
BuildRequires: perl(autodie)
|
|
Requires: perl(Dist::Zilla::File::InMemory)
|
|
Requires: perl(Dist::Zilla::Role::AfterBuild)
|
|
Requires: perl(Dist::Zilla::Role::AfterRelease)
|
|
Requires: perl(Dist::Zilla::Role::FileGatherer)
|
|
Requires: perl(Dist::Zilla::Role::FileMunger)
|
|
Requires: perl(Dist::Zilla::Role::FilePruner)
|
|
Requires: perl(Dist::Zilla::Role::FileWatcher)
|
|
Requires: perl(Dist::Zilla::Role::PPI)
|
|
Requires: perl(List::Util) >= 1.33
|
|
Requires: perl(Moose)
|
|
Requires: perl(Moose::Util::TypeConstraints)
|
|
Requires: perl(MooseX::Has::Sugar)
|
|
Requires: perl(PPI::Document)
|
|
Requires: perl(Path::Tiny) >= 0.004
|
|
Requires: perl(Pod::Markdown) >= 2.000
|
|
Requires: perl(Pod::Markdown::Github)
|
|
Requires: perl(Pod::Simple::HTML) >= 3.23
|
|
Requires: perl(Pod::Simple::Text) >= 3.23
|
|
Provides: perl(Dist::Zilla::Plugin::ReadmeAnyFromPod) = %{version}
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Generates a README for your Dist::Zilla powered dist from its 'main_module'
|
|
in any of several formats. The generated README can be included in the
|
|
build or created in the root of your dist for e.g. inclusion into version
|
|
control.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
|
|
%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
|