Files
perl-Catalyst-Devel/perl-Catalyst-Devel.spec

107 lines
3.9 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-Catalyst-Devel
#
# 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 Catalyst-Devel
Name: perl-Catalyst-Devel
Version: 1.420.0
Release: 0
# 1.42 -> normalize -> 1.420.0
%define cpan_version 1.42
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Catalyst Development Tools
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
2025-08-12 18:12:07 +02:00
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Catalyst) >= 5.900.10
BuildRequires: perl(Catalyst::Action::RenderView) >= 0.100.0
BuildRequires: perl(Catalyst::Plugin::ConfigLoader) >= 0.300.0
BuildRequires: perl(Catalyst::Plugin::Static::Simple) >= 0.280.0
BuildRequires: perl(Config::General) >= 2.42
BuildRequires: perl(File::ChangeNotify) >= 0.70.0
BuildRequires: perl(File::Copy::Recursive)
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(File::ShareDir::Install)
BuildRequires: perl(Module::Install) >= 1.02
BuildRequires: perl(Moose)
BuildRequires: perl(MooseX::Emulate::Class::Accessor::Fast)
BuildRequires: perl(Path::Class) >= 0.09
BuildRequires: perl(Template) >= 2.14
BuildRequires: perl(Test::Fatal) >= 0.003
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(namespace::clean)
Requires: perl(Catalyst) >= 5.900.10
Requires: perl(Catalyst::Action::RenderView) >= 0.100.0
Requires: perl(Catalyst::Plugin::ConfigLoader) >= 0.300.0
Requires: perl(Catalyst::Plugin::Static::Simple) >= 0.280.0
Requires: perl(Config::General) >= 2.42
Requires: perl(File::ChangeNotify) >= 0.70.0
Requires: perl(File::Copy::Recursive)
Requires: perl(File::ShareDir)
Requires: perl(Module::Install) >= 1.02
Requires: perl(Moose)
Requires: perl(MooseX::Emulate::Class::Accessor::Fast)
Requires: perl(Path::Class) >= 0.09
Requires: perl(Template) >= 2.14
Requires: perl(namespace::autoclean)
Requires: perl(namespace::clean)
Provides: perl(Catalyst::Devel) = %{version}
Provides: perl(Catalyst::Helper) = %{version}
Provides: perl(Catalyst::Restarter)
Provides: perl(Catalyst::Restarter::Forking)
Provides: perl(Catalyst::Restarter::Win32)
Provides: perl(Module::Install::Catalyst)
%undefine __perllib_provides
%{perl_requires}
%description
The 'Catalyst-Devel' distribution includes a variety of modules useful for
the development of Catalyst applications, but not required to run them.
This is intended to make it easier to deploy Catalyst apps. The runtime
parts of Catalyst are now known as 'Catalyst::Runtime'.
'Catalyst-Devel' includes the Catalyst::Helper system, which autogenerates
scripts and tests; Module::Install::Catalyst, a Module::Install extension
for Catalyst; and requirements for a variety of development-related
modules. The documentation remains with Catalyst::Runtime.
%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