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
|
|
|
#
|
2018-11-08 10:00:03 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
|
|
|
2007-01-15 23:31:53 +00:00
|
|
|
Name: perl-Template-Toolkit
|
2018-11-08 10:00:03 +00:00
|
|
|
Version: 2.28
|
2012-01-23 11:07:31 +00:00
|
|
|
Release: 0
|
2015-05-10 08:48:43 +00:00
|
|
|
%define cpan_name Template-Toolkit
|
2012-02-13 14:25:55 +00:00
|
|
|
Summary: Template Processing System
|
2018-11-08 10:00:03 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2012-02-13 14:25:55 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2018-11-08 10:00:03 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{cpan_name}-%{version}.tar.gz
|
2015-05-10 08:48:43 +00:00
|
|
|
Source1: cpanspec.yml
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2017-04-18 08:05:26 +00:00
|
|
|
BuildRequires: perl(CGI)
|
2015-05-10 08:48:43 +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
|
2015-05-10 08:48:43 +00:00
|
|
|
Template Processing System
|
2007-01-15 23:31:53 +00:00
|
|
|
|
|
|
|
%prep
|
2015-05-10 08:48:43 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2017-04-18 08:05:26 +00:00
|
|
|
find . -type f ! -name \*.pl -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}"
|
2013-08-06 07:42:35 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
2008-09-12 16:13:24 +00:00
|
|
|
|
|
|
|
%check
|
2015-05-10 08:48:43 +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
|
2015-05-10 08:48:43 +00:00
|
|
|
%defattr(-,root,root,755)
|
2017-04-18 08:05:26 +00:00
|
|
|
%doc Changes HACKING README testrules.yml TODO
|
2007-01-15 23:31:53 +00:00
|
|
|
|
2007-05-17 09:52:16 +00:00
|
|
|
%changelog
|