perl-Template-Toolkit/perl-Template-Toolkit.spec
Vítězslav Čížek 87d4fa778a - update to 2.24
* Added text virtual methods: upper, lower, ucfirst, lcfirst, squote,
    dquote, trim, collapse, html and xml.
  * Fixed bug RT#67918 - Bug in Makefile.PL command line parsing when 2 =
    signs were in an arguement.
  * Fixed bug RT#74335 - Added documentation for some methods that were 
    lacking it to keep Pod::Coverage happy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Template-Toolkit?expand=0&rev=23
2012-02-13 14:25:55 +00:00

94 lines
3.0 KiB
RPMSpec

#
# spec file for package perl-Template-Toolkit
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: perl-Template-Toolkit
Version: 2.24
Release: 0
License: Artistic-1.0
Summary: Template Processing System
Url: http://cpan.org/dist/Template-Toolkit
Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit-%{version}.tar.gz
#BuildRequires: perl-AppConfig perl-DBI perl-Date-Calc perl-XML-DOM perl-XML-Parser
BuildRequires: perl
#
BuildRequires: perl(AppConfig) >= 1.56
BuildRequires: perl(DBI)
BuildRequires: perl(Date::Calc)
BuildRequires: perl(File::Spec) >= 0.8
BuildRequires: perl(File::Temp) >= 0.12
BuildRequires: perl(Image::Size)
BuildRequires: perl(Pod::POM)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
BuildRequires: perl(Text::Autoformat)
BuildRequires: perl(XML::DOM)
BuildRequires: perl-macros
#
Requires: perl(AppConfig) >= 1.56
# not defined but needed
Requires: perl(Data::Dumper)
Requires: perl(File::Spec) >= 0.8
Requires: perl(Pod::POM)
Requires: perl(Scalar::Util)
# should normally provide perl(Template::Toolkit) but it doesn't
Provides: perl(Template::Toolkit) = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
The Template Toolkit is a collection of modules which implement a
fast, flexible, powerful, and extensible template processing system.
It was originally designed and remains primarily useful for generating
dynamic web content, but it can be used equally well for processing
any other kind of text based documents: HTML, XML, POD, PostScript,
LaTeX, and so on.
It can be used as a stand-alone Perl module or embedded within an
Apache/mod_perl server for generating highly configurable dynamic web
content. A number of Perl scripts are also provided which can greatly
simplify the process of creating and managing static web content and
other offline document systems.
%prep
%setup -q -n "Template-Toolkit-%{version}"
%build
perl Makefile.PL
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%doc Changes HACKING README TODO
%changelog