OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Template-Toolkit?expand=0&rev=6
This commit is contained in:
parent
ffbacf7d91
commit
9474c2922f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e6e75cbf3cae3acf7ca11d1e6e6f7260a09957bf548a7600f4aa328b8d15a083
|
|
||||||
size 563938
|
|
3
Template-Toolkit-2.21.tar.bz2
Normal file
3
Template-Toolkit-2.21.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c30524901066477c8a1a102a1705fec974f90e365115ebb832d1615c66035369
|
||||||
|
size 394130
|
@ -1,3 +1,94 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 25 19:42:30 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- spec mods
|
||||||
|
* removed ^----------
|
||||||
|
* removed ^#---------
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 15 22:17:14 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 2.21
|
||||||
|
* Fixed a PRE_CHOMP bug that left \r characters lying around when
|
||||||
|
confronted with templates with DOS \r\n line endings.
|
||||||
|
https://rt.cpan.org/Ticket/Display.html?id=43345
|
||||||
|
* Applied patch from Bradley Baetz to fix defblock #line numbers
|
||||||
|
http://rt.cpan.org/Public/Bug/Display.html?id=47024
|
||||||
|
- Version 2.20_4 (2.21 candidate) - 21st May 2009
|
||||||
|
* Added the even(), odd() and parity() methods to Template::Iterator to
|
||||||
|
assist in making zebra tables.
|
||||||
|
* Removed a post-5.6 perlism in Template::Context that broke on 5.6.2
|
||||||
|
https://rt.cpan.org/Ticket/Display.html?id=46250
|
||||||
|
* Replaced a whole bunch of UNIVERSAL::isa() calls with blessed/isa
|
||||||
|
* Applied a patch from Norbert Buchmüller to prevent the #line markers
|
||||||
|
from being whitespaced away from the first column.
|
||||||
|
https://rt.cpan.org/Ticket/Display.html?id=46269
|
||||||
|
* Applied a patch from Denis F. Latypoff to fix uri/url filters with
|
||||||
|
utf8 text
|
||||||
|
https://rt.cpan.org/Ticket/Display.html?id=41173
|
||||||
|
- Version 2.20_3 (2.21 candidate) - 20th May 2009
|
||||||
|
* Fixed the XS Stash to compile properly in threaded Perls.
|
||||||
|
https://rt.cpan.org/Public/Bug/Display.html?id=46240
|
||||||
|
* Applied a patch to the XS Stash from Alexey A. Kiritchun to make the
|
||||||
|
scalar.length vmethod work correctly with utf8 strings.
|
||||||
|
http://lists.tt2.org/pipermail/templates/2009-May/010803.html
|
||||||
|
- Version 2.20_2 (2.21 candidate) - 17th May 2009
|
||||||
|
* Applied a patch to Template::Test from Andrew Ford to make it skip
|
||||||
|
properly.
|
||||||
|
http://lists.tt2.org/pipermail/templates/2009-March/010678.html
|
||||||
|
* Changed the ttree -v/--verbose option so be less verbose and only
|
||||||
|
report on things that have changed. To make it more verbose (like
|
||||||
|
previous versions), add a second -v/--verbose flag, e.g.
|
||||||
|
$ ttree -v -v
|
||||||
|
* Also added the --summary option to tree to print a summary of what it
|
||||||
|
did, and the --color/--colour option to make it print its verbose
|
||||||
|
messages in colour (on ANSI terminals).
|
||||||
|
* Applied a ttree patch from Lyle Brooks to allow ttree to accept a
|
||||||
|
directory name as a command line argument.
|
||||||
|
* Added the define_view() and define_views() method to Template::Context
|
||||||
|
and added the VIEWS option to pre-define views when the Template object
|
||||||
|
is created. Thanks to Timmy Chan for providing the groundwork on this.
|
||||||
|
http://lists.tt2.org/pipermail/templates/2009-April/010689.html
|
||||||
|
* Retrospectively fixed the Changes for 2.20 to mention the ttree
|
||||||
|
--encoding option.
|
||||||
|
* Applied a patch from Chisel Wright, changing uses of UNIVERSAL::can()
|
||||||
|
to use blessed() and ->can().
|
||||||
|
http://lists.tt2.org/pipermail/templates/2009-May/010790.html
|
||||||
|
* Fixed a memory leak in the XS Stash introduced in 2.20.
|
||||||
|
Thanks to Breno G. de Oliveira for reporting the problem and helping to
|
||||||
|
narrow it down.
|
||||||
|
https://rt.cpan.org/Public/Bug/Display.html?id=46058
|
||||||
|
- Version 2.20_1 (2.21 candidate) - 7th April 2009
|
||||||
|
* Deleted all the old HTML documentation (now available separately from
|
||||||
|
http://tt2.org/download/index.html#html_docs), examples, libraries and
|
||||||
|
other cruft that was way out of date and badly unloved.
|
||||||
|
* Tweaked Template::Parser to work better with the ANYCASE option. It
|
||||||
|
now knows that anything following a dotop cannot be a keyword so that
|
||||||
|
you can write data.last without the 'last' bit being interpreted as the
|
||||||
|
LAST keyword. Thanks to Sean McAfee for the post that inspired it.
|
||||||
|
http://lists.tt2.org/pipermail/templates/2008-September/010462.html
|
||||||
|
* Fixed a broken test for Apache::Util in the html_entity filter. Added
|
||||||
|
the use_html_entities() and use_apache_util() class methods to
|
||||||
|
Template::Filters to allow end-user selection of one or the other.
|
||||||
|
http://rt.cpan.org/Public/Bug/Display.html?id=40870
|
||||||
|
http://template-toolkit.org/svnweb/Template2/revision/?rev=1177
|
||||||
|
* Tweaked Template::Context to recognise Badger::Exception objects and
|
||||||
|
convert them to Template::Exception objects. This is a temporary
|
||||||
|
measure to keep things working during the transition to Badger-based
|
||||||
|
modules.
|
||||||
|
* Added the STRICT option which will cause the stash to throw an
|
||||||
|
exception on encountering an undefined value. Thanks to Ben Tilly
|
||||||
|
for the prod.
|
||||||
|
* Applied a patch to Template::Iterator from Jonathon Padfield to make
|
||||||
|
get_all() do the right thing if get_first() hasn't been called.
|
||||||
|
* Applied a patch to Template::Stash::Context from Ben Tilly to make
|
||||||
|
it easier to subclass.
|
||||||
|
* Applied a patch from Robin Berjon to add the xml filter.
|
||||||
|
- added perl-macros
|
||||||
|
o autogen filelist with perl_gen_filelist
|
||||||
|
- spec mods
|
||||||
|
o fixed deps
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 10 17:43:39 CEST 2008 - anicka@suse.cz
|
Wed Sep 10 17:43:39 CEST 2008 - anicka@suse.cz
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Template-Toolkit (Version 2.20)
|
# spec file for package perl-Template-Toolkit (Version 2.21)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,131 +19,77 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Template-Toolkit
|
Name: perl-Template-Toolkit
|
||||||
BuildRequires: perl-AppConfig perl-DBI perl-Date-Calc perl-XML-DOM perl-XML-Parser
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
Version: 2.20
|
Summary: Template Processing System
|
||||||
|
Version: 2.21
|
||||||
Release: 1
|
Release: 1
|
||||||
Requires: perl = %{perl_version}
|
License: Artistic License ..
|
||||||
Requires: perl-AppConfig
|
|
||||||
AutoReqProv: on
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic License
|
Url: http://cpan.org/dist/Template-Toolkit
|
||||||
Url: http://cpan.org/modules/by-module/Template/
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Summary: Fast and/ Powerful Template System for Perl
|
|
||||||
Source: Template-Toolkit-%{version}.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
#BuildRequires: perl-AppConfig perl-DBI perl-Date-Calc perl-XML-DOM perl-XML-Parser
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Date::Calc)
|
||||||
|
BuildRequires: perl(DBI)
|
||||||
|
BuildRequires: perl(Image::Size)
|
||||||
|
BuildRequires: perl(Pod::POM)
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||||
|
BuildRequires: perl(Text::Autoformat)
|
||||||
|
BuildRequires: perl(XML::DOM)
|
||||||
|
#
|
||||||
|
BuildRequires: perl(AppConfig) >= 1.56
|
||||||
|
BuildRequires: perl(File::Spec) >= 0.8
|
||||||
|
BuildRequires: perl(File::Temp) >= 0.12
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
#
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
Requires: perl(AppConfig) >= 1.56
|
||||||
|
Requires: perl(File::Spec) >= 0.8
|
||||||
|
Requires: perl(Scalar::Util)
|
||||||
|
# not defined but needed
|
||||||
|
Requires: perl(Data::Dumper)
|
||||||
|
Requires: perl(Pod::POM)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Template Toolkit is a fast, powerful, and easily extensible
|
The Template Toolkit is a collection of modules which implement a
|
||||||
template processing system written in Perl with certain key elements
|
fast, flexible, powerful and extensible template processing system.
|
||||||
coded in C for maximum speed. It is ideally suited (but not limited) to
|
It was originally designed and remains primarily useful for generating
|
||||||
the creation of static and dynamic web content, and incorporates
|
dynamic web content, but it can be used equally well for processing
|
||||||
various modules and tools to simplify this process.
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
Authors: Andy Wardley <abw@kfs.org>
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Andy Wardley <abw@kfs.org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Template-Toolkit-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
perl Makefile.PL
|
||||||
make
|
%{__make}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
mkdir $RPM_BUILD_ROOT/%{_datadir}/tt2
|
%perl_gen_filelist
|
||||||
cp -R images templates $RPM_BUILD_ROOT/%{_datadir}/tt2
|
|
||||||
find $RPM_BUILD_ROOT/%{_datadir}/tt2 -type d -exec chmod 755 '{}' \;
|
|
||||||
find $RPM_BUILD_ROOT/%{_datadir}/tt2 -type f -exec chmod 644 '{}' \;
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
|
# normally you only need to check for doc files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc TODO MANIFEST Changes README INSTALL HACKING examples docs
|
%doc Changes HACKING INSTALL README TODO
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{_bindir}/*
|
|
||||||
%{perl_vendorarch}/Template*
|
|
||||||
%{perl_vendorarch}/auto/Template
|
|
||||||
%{_datadir}/tt2
|
|
||||||
/var/adm/perl-modules/perl-Template-Toolkit
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Sep 10 2008 anicka@suse.cz
|
|
||||||
- update to 2.20
|
|
||||||
* bugfixes, documentation updates
|
|
||||||
- enable testsuite
|
|
||||||
* Tue May 15 2007 anicka@suse.cz
|
|
||||||
- update to 2.19
|
|
||||||
* Applied a patch to t/fileline.t which fixes the
|
|
||||||
problems running on Win32 with backslashes in paths.
|
|
||||||
* Applied a patch to the XS Stash which fixes some other
|
|
||||||
Win32 problems.
|
|
||||||
* Applied another patch to the XS Stashwhich fixes
|
|
||||||
a problem with tied hashes under more recent version of Perl.
|
|
||||||
* Fixed a problem in the Perl Stash when using objects that have
|
|
||||||
overloaded comparison operators.
|
|
||||||
* Applied a patch to Template::Provider which adds
|
|
||||||
negative caching and moves some functionality into separate
|
|
||||||
methods to make subclassing easier. Also added the STAT_TTL
|
|
||||||
configuration parameter.
|
|
||||||
* Added the url filter as a less aggressive form of the uri
|
|
||||||
filter.
|
|
||||||
* Thu Feb 15 2007 anicka@suse.cz
|
|
||||||
- update to 2.18
|
|
||||||
* Changed the parser grammar to accept expressions as arguments
|
|
||||||
to a subroutine, method or virtual method call.
|
|
||||||
* Put the t/fileline.t test back in as this was fixed in 2.15a
|
|
||||||
* Added the Template::Toolkit documentation-only module.
|
|
||||||
* Thu Jan 25 2007 anicka@suse.cz
|
|
||||||
- update to 2.16
|
|
||||||
* Handle spurious errors in Makefile.PL when a dev version of
|
|
||||||
ExtUtils::MakeMaker is installed.
|
|
||||||
* Wed Jul 12 2006 anicka@suse.cz
|
|
||||||
- update to 2.15
|
|
||||||
* Added the CHOMP_GREEDY option and '~' chomping flag. Changed
|
|
||||||
CHOMP_COLLAPSE to greedily chomp all whitespace (including
|
|
||||||
multiple newlines) and replace it with a single space.
|
|
||||||
* Added code to the replace text virtual method to use a faster
|
|
||||||
and simpler implementation if the replacement text doesn't
|
|
||||||
contain any back references.
|
|
||||||
* Wed Jan 25 2006 mls@suse.de
|
|
||||||
- converted neededforbuild to BuildRequires
|
|
||||||
* Thu Sep 15 2005 anicka@suse.cz
|
|
||||||
- package splash samples (#63801)
|
|
||||||
* Fri Jul 29 2005 mjancar@suse.cz
|
|
||||||
- update to 2.14
|
|
||||||
* Tue Jul 26 2005 anicka@suse.cz
|
|
||||||
- add perl-AppConfig to Requires
|
|
||||||
* Thu Feb 26 2004 mjancar@suse.cz
|
|
||||||
- update to 2.13
|
|
||||||
* Sat Jan 10 2004 adrian@suse.de
|
|
||||||
- add %%defattr
|
|
||||||
* Fri Aug 22 2003 mjancar@suse.cz
|
|
||||||
- require the perl version we build with
|
|
||||||
* Wed Jul 16 2003 freitag@suse.de
|
|
||||||
- removed MANDIR
|
|
||||||
* Wed Jul 16 2003 freitag@suse.de
|
|
||||||
- added examples to documentation
|
|
||||||
use vendor install
|
|
||||||
* Tue Jul 01 2003 ro@suse.de
|
|
||||||
- use perl_process_packlist macro
|
|
||||||
- added unpackaged files
|
|
||||||
* Wed Jun 18 2003 coolo@suse.de
|
|
||||||
- package directories
|
|
||||||
* Mon May 26 2003 ro@suse.de
|
|
||||||
- remove unpackaged files from buildroot
|
|
||||||
- add ttree and tpage (with manpages) to filelist
|
|
||||||
* Fri Nov 29 2002 freitag@suse.de
|
|
||||||
- fixed lib path to be 64 bit conform - and try to remember this for
|
|
||||||
the future ;-(
|
|
||||||
* Fri Nov 29 2002 freitag@suse.de
|
|
||||||
- initial version 2.08, needed by bugzilla and very powerfull.
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user