8
0

Compare commits

...

13 Commits

Author SHA256 Message Date
b899ee9b37 Accepting request 497403 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/497403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Template?expand=0&rev=25
2017-06-01 14:32:34 +00:00
Stephan Kulow
2bbf2fb02d Accepting request 496473 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/496473
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Template?expand=0&rev=23
2017-05-23 05:39:55 +00:00
Stephan Kulow
61504cd87f Accepting request 327599 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/327599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Template?expand=0&rev=24
2015-08-29 18:04:55 +00:00
Stephan Kulow
1e66c04182 Accepting request 327580 from home:bmwiedemann:branches:devel:languages:perl
Require CGI as it is no more part of base perl-5.22

OBS-URL: https://build.opensuse.org/request/show/327580
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Template?expand=0&rev=21
2015-08-27 16:35:07 +00:00
Stephan Kulow
2fbe5f565d Accepting request 208438 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/208438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Template?expand=0&rev=22
2013-11-26 18:25:28 +00:00
Stephan Kulow
33bf5096f8 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Template?expand=0&rev=19
2013-11-26 08:10:38 +00:00
Stephan Kulow
a937b60f84 Accepting request 177678 from devel:languages:perl
update (forwarded request 177647 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177678
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Template?expand=0&rev=20
2013-06-06 13:06:05 +00:00
Stephan Kulow
7d8930e0d0 Accepting request 177647 from home:coolo:update-perl
update

OBS-URL: https://build.opensuse.org/request/show/177647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Template?expand=0&rev=17
2013-06-05 08:23:16 +00:00
Stephan Kulow
2a409030fe replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Template?expand=0&rev=17
2011-12-06 17:42:37 +00:00
Stephan Kulow
8b916e4c41 Accepting request 92354 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Template?expand=0&rev=16
2011-11-21 11:41:00 +00:00
Stephan Kulow
ef67ac59aa use original .tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Template?expand=0&rev=14
2011-11-18 11:46:39 +00:00
Stephan Kulow
b71c16c85d use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Template?expand=0&rev=13
2011-11-17 15:34:42 +00:00
Stephan Kulow
3bed06f921 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Template?expand=0&rev=11 2011-11-11 11:18:42 +00:00
5 changed files with 152 additions and 39 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d050b7e3ba94945999ed7bdcd258ee797d7ffe64b32a5b86e252f28e05dc1c6
size 67321

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6547af61f3aa85793f8616190938d677d7995fb3b720c16258040bc935e2129f
size 88236

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,85 @@
-------------------------------------------------------------------
Fri May 19 05:48:47 UTC 2017 - coolo@suse.com
- updated to 2.97
see /usr/share/doc/packages/perl-HTML-Template/Changes
2.97 Thu May 18 2017
- Change internal module name HTML::Template::DEFAULT to
HTML::Template::DEF to avoid conflict with
HTML::Template::Default. [Sam Tregar]
2.96 Thu May 18 2017
- Fixed typos in documentation [David Steinbrunner, Steve Kemp]
- Added CGI.pm as a dependency, needed now that it's no longer in core.
[Martin McGrath, Steve Bertrand]
-------------------------------------------------------------------
Thu Aug 27 14:32:29 UTC 2015 - bwiedemann@suse.com
- Require CGI as it is no more part of base perl-5.22
-------------------------------------------------------------------
Tue Nov 26 07:35:30 UTC 2013 - coolo@suse.com
- updated to 2.95
- Added support for "none" for default_escape [Mark Stosberg]
- Escape unicode new-line characters in JS escape [Michael Peters]
-------------------------------------------------------------------
Wed Jun 5 07:23:01 UTC 2013 - coolo@suse.com
- updated to 2.94
- Fixed bug where options were bleeding over into subsequent calls to new()
[Michael Peters]
- Feature: Added config() method to make setting global defaults
easy so that each call to new() has less boiler plate. [Michael
Peters]
- Bug Fix: t/05-force_untaint.t now passes when run with prove
[Michael Peters]
- Bug Fix: die_on_bad_params now controls whether we die if tmpl_vars
reuse names from tmpl_loops (which can be useful in some situations)
[Michael Peters]
- Feature: RT #18901 - Added new utf8 option to make it really simple
to use UTF-8 encoded templates [Michael Peters]
- Feature: RT #30586 - Added new open_mode option to allow for
Perl IO layers to interact when using open() on the template files
[moritz@faui2k3.org and Michael Peters]
- Feature: RT #38189 - Allow clean XML style tags "<tmpl_var foo />"
to be used as well. [allard@byte.nl]
- Feature: RT #46285 - Added support for lazily-evaluated coderefs
for TMPL_LOOPs. [Justin DeVuyst and Michael Peters]
- Feature: RT #64797 - Added new option die_on_missing_include (defaults
to true) that allows users to turn off the behavior of dieing when an
include can't be found [Zdenek Styblik and Michael Peters]
- Feature: Add new cache_lazy_vars option so that the values from coderefs
used for TMPL_VARs can be cached and the coderef not run multiple times
[Michael Peters]
- Feature: Add new cache_lazy_loops option so that the values from coderefs
used for TMPL_LOOPs can be cached and the coderef not run multiple times
[Michael Peters]
- Feature: Added __even__, __outer__ and __index__ loop context vars.
[Michael Peters]
- Bug Fix: RT #26456 - force_untaint can't work in Perl < 5.8.0
[admin@photoresearchers.com]
-------------------------------------------------------------------
Fri Nov 18 11:10:41 UTC 2011 - coolo@suse.com
- use original .tar.gz
-------------------------------------------------------------------
Tue Nov 30 19:20:19 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Template (Version 2.9)
# spec file for package perl-HTML-Template
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,55 +15,58 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-HTML-Template
Url: http://cpan.org/modules/by-module/HTML/
License: GPLv2+
Version: 2.97
Release: 0
%define cpan_name HTML-Template
Summary: Perl module to use HTML-like templating language
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
AutoReqProv: on
Summary: This Module Attempts to make using HTML Templates Simple and Natural
Version: 2.9
Release: 113
Source: HTML-Template-%{version}.tar.bz2
Url: http://search.cpan.org/dist/HTML-Template/
Source0: https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CGI)
BuildRequires: perl(Test::Pod)
Requires: perl(CGI)
%{perl_requires}
%description
This allows you to separate design - the HTML - from the data, which
you generate in the Perl script.
This module attempts to make using HTML templates simple and natural. It
extends standard HTML with a few new HTML-esque tags - '<TMPL_VAR>'
'<TMPL_LOOP>', '<TMPL_INCLUDE>', '<TMPL_IF>', '<TMPL_ELSE>' and
'<TMPL_UNLESS>'. The file written with HTML and these new tags is called a
template. It is usually saved separate from your script - possibly even
created by someone else! Using this module you fill in the values for the
variables, loops and branches declared in the template. This allows you to
separate design - the HTML - from the data, which you generate in the Perl
script.
Authors:
--------
Sam Tregar <sam@tregar.com>
This module is licensed under the same terms as Perl. See the LICENSE
section below for more details.
%prep
%setup -q -n HTML-Template-%{version}
# ---------------------------------------------------------------------------
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
# ---------------------------------------------------------------------------
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/HTML
%{perl_vendorlib}/HTML
%doc ANNOUNCE ARTISTIC Changes FAQ GPL MANIFEST README
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE
%changelog