98 lines
3.5 KiB
RPMSpec
98 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package perl-Text-MicroMason
|
|
#
|
|
# 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 Text-MicroMason
|
|
Name: perl-Text-MicroMason
|
|
Version: 2.230.0
|
|
Release: 0
|
|
# 2.23 -> normalize -> 2.230.0
|
|
%define cpan_version 2.23
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Simple and Extensible Templating
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/F/FE/FERRENCY/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Class::MixinFactory) >= 0.900
|
|
Requires: perl(Class::MixinFactory) >= 0.900
|
|
Provides: perl(Text::MicroMason) = %{version}
|
|
Provides: perl(Text::MicroMason::AllowGlobals)
|
|
Provides: perl(Text::MicroMason::ApacheHandler)
|
|
Provides: perl(Text::MicroMason::Base)
|
|
Provides: perl(Text::MicroMason::Cache::File)
|
|
Provides: perl(Text::MicroMason::Cache::Null)
|
|
Provides: perl(Text::MicroMason::Cache::Simple)
|
|
Provides: perl(Text::MicroMason::CatchErrors)
|
|
Provides: perl(Text::MicroMason::Commands) = 1.900.0
|
|
Provides: perl(Text::MicroMason::CompileCache)
|
|
Provides: perl(Text::MicroMason::Debug)
|
|
Provides: perl(Text::MicroMason::DoubleQuote)
|
|
Provides: perl(Text::MicroMason::Embperl)
|
|
Provides: perl(Text::MicroMason::ExecuteCache)
|
|
Provides: perl(Text::MicroMason::Filters)
|
|
Provides: perl(Text::MicroMason::Functions)
|
|
Provides: perl(Text::MicroMason::HTMLMason)
|
|
Provides: perl(Text::MicroMason::HTMLTemplate)
|
|
Provides: perl(Text::MicroMason::HasParams)
|
|
Provides: perl(Text::MicroMason::LineNumbers)
|
|
Provides: perl(Text::MicroMason::PLP) = 2.180.0
|
|
Provides: perl(Text::MicroMason::PassVariables)
|
|
Provides: perl(Text::MicroMason::PostProcess)
|
|
Provides: perl(Text::MicroMason::QuickTemplate)
|
|
Provides: perl(Text::MicroMason::Safe)
|
|
Provides: perl(Text::MicroMason::Safe::Facade)
|
|
Provides: perl(Text::MicroMason::ServerPages)
|
|
Provides: perl(Text::MicroMason::Sprintf)
|
|
Provides: perl(Text::MicroMason::StoreOne)
|
|
Provides: perl(Text::MicroMason::TemplateDir)
|
|
Provides: perl(Text::MicroMason::TemplatePath)
|
|
Provides: perl(Text::MicroMason::TextTemplate)
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Text::MicroMason interpolates blocks of Perl code embedded into text
|
|
strings.
|
|
|
|
Each MicroMason object acts as a "template compiler," which converts
|
|
templates from text-with-embedded-code formats into ready-to-execute Perl
|
|
subroutines.
|
|
|
|
%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 samples
|
|
|
|
%changelog
|