2007-01-15 23:31:53 +00:00
|
|
|
#
|
2011-02-20 23:21:08 +00:00
|
|
|
# spec file for package perl-Template-Toolkit
|
2007-01-15 23:31:53 +00:00
|
|
|
#
|
2022-05-11 16:33:58 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-15 23:31:53 +00:00
|
|
|
#
|
2008-09-12 16:13:24 +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.
|
|
|
|
|
2018-11-08 10:00:03 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:31:53 +00:00
|
|
|
#
|
|
|
|
|
2008-09-12 16:13:24 +00:00
|
|
|
|
2022-01-04 11:09:23 +00:00
|
|
|
%define cpan_name Template-Toolkit
|
2007-01-15 23:31:53 +00:00
|
|
|
Name: perl-Template-Toolkit
|
2022-08-23 21:25:48 +00:00
|
|
|
Version: 3.101
|
2012-01-23 11:07:31 +00:00
|
|
|
Release: 0
|
2018-11-08 10:00:03 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-05-11 16:33:58 +00:00
|
|
|
Summary: Comprehensive template processing system
|
2020-07-16 17:00:54 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2022-08-23 21:25:48 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABW/%{cpan_name}-%{version}.tar.gz
|
2015-05-10 08:48:43 +00:00
|
|
|
Source1: cpanspec.yml
|
2009-07-27 21:25:36 +00:00
|
|
|
BuildRequires: perl
|
2013-06-26 09:52:35 +00:00
|
|
|
BuildRequires: perl-macros
|
2012-02-13 14:25:55 +00:00
|
|
|
BuildRequires: perl(AppConfig) >= 1.56
|
2020-04-01 11:20:48 +00:00
|
|
|
BuildRequires: perl(Test::LeakTrace)
|
2009-07-27 21:25:36 +00:00
|
|
|
Requires: perl(AppConfig) >= 1.56
|
2012-02-13 14:25:55 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:31:53 +00:00
|
|
|
|
|
|
|
%description
|
2022-05-11 16:33:58 +00:00
|
|
|
comprehensive template processing system
|
2007-01-15 23:31:53 +00:00
|
|
|
|
|
|
|
%prep
|
2022-01-04 11:09:23 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2019-12-29 17:33:01 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2007-01-15 23:31:53 +00:00
|
|
|
|
|
|
|
%build
|
2018-11-08 10:00:03 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
2022-01-04 11:09:23 +00:00
|
|
|
%make_build
|
2008-09-12 16:13:24 +00:00
|
|
|
|
|
|
|
%check
|
2019-04-30 08:42:39 +00:00
|
|
|
make test
|
2007-01-15 23:31:53 +00:00
|
|
|
|
|
|
|
%install
|
2012-02-13 14:25:55 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:31:53 +00:00
|
|
|
%perl_process_packlist
|
2009-07-27 21:25:36 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:31:53 +00:00
|
|
|
|
2009-07-27 21:25:36 +00:00
|
|
|
%files -f %{name}.files
|
2022-08-23 21:25:48 +00:00
|
|
|
%doc Changes README.md testrules.yml TODO
|
2007-01-15 23:31:53 +00:00
|
|
|
|
2007-05-17 09:52:16 +00:00
|
|
|
%changelog
|