2007-01-15 23:30:48 +00:00
|
|
|
#
|
2007-01-30 09:41:15 +00:00
|
|
|
# spec file for package perl-HTML-Template (Version 2.9)
|
2007-01-15 23:30:48 +00:00
|
|
|
#
|
2009-06-17 22:14:46 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:48 +00:00
|
|
|
#
|
2009-06-17 22:14:46 +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.
|
|
|
|
|
2007-01-30 09:41:15 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:48 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-17 22:14:46 +00:00
|
|
|
|
2007-01-30 09:41:15 +00:00
|
|
|
Name: perl-HTML-Template
|
2009-06-17 22:14:46 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/HTML/
|
|
|
|
License: GPL v2 or later
|
2007-01-30 09:41:15 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: perl = %{perl_version}
|
2009-06-17 22:14:46 +00:00
|
|
|
AutoReqProv: on
|
2007-01-30 09:41:15 +00:00
|
|
|
Summary: This Module Attempts to make using HTML Templates Simple and Natural
|
|
|
|
Version: 2.9
|
2009-06-17 22:14:46 +00:00
|
|
|
Release: 104
|
2007-01-30 09:41:15 +00:00
|
|
|
Source: HTML-Template-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:30:48 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This allows you to separate design - the HTML - from the data, which
|
|
|
|
you generate in the Perl script.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Tregar <sam@tregar.com>
|
|
|
|
|
|
|
|
%prep
|
2007-01-30 09:41:15 +00:00
|
|
|
%setup -q -n HTML-Template-%{version}
|
2007-01-15 23:30:48 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorarch}/auto/HTML
|
|
|
|
%{perl_vendorlib}/HTML
|
|
|
|
/var/adm/perl-modules/perl-HTML-Template
|
|
|
|
%doc ANNOUNCE ARTISTIC Changes FAQ GPL MANIFEST README
|
|
|
|
|
2009-06-17 22:14:46 +00:00
|
|
|
%changelog
|
|
|
|
* Tue Jan 30 2007 anicka@suse.cz
|
2007-01-30 09:41:15 +00:00
|
|
|
- update to 2.9
|
|
|
|
* the new force_untaint option makes sure you do not pass tainted
|
|
|
|
values to param()
|
|
|
|
* Added ESCAPE=NONE as a synonym for ESCAPE=0. Fixed
|
|
|
|
both to work with default_escape.
|
|
|
|
* DEFAULT didn't work with URL and JS escaping.
|
|
|
|
* Long-standing bug where variables set in a loop weren't
|
|
|
|
available inside inner loops under global_vars if the variable
|
|
|
|
wasn't actually used in the outer loop.
|
|
|
|
* Changed references to CVS in the docs to Subversion now that
|
|
|
|
the switch is complete.
|
|
|
|
* Tests fixed.
|
2009-06-17 22:14:46 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-17 22:14:46 +00:00
|
|
|
* Fri Jan 06 2006 anicka@suse.cz
|
2007-01-15 23:30:48 +00:00
|
|
|
- update to 2.8
|
2009-06-17 22:14:46 +00:00
|
|
|
* Wed Sep 28 2005 dmueller@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- add norootforbuild
|
2009-06-17 22:14:46 +00:00
|
|
|
* Mon Aug 01 2005 cthiel@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- update to version 2.7
|
2009-06-17 22:14:46 +00:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-15 23:30:48 +00:00
|
|
|
- require the perl version we build with
|
2009-06-17 22:14:46 +00:00
|
|
|
* Mon Jul 14 2003 freitag@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- cleaned up specfile filelist to install to vendor dirs
|
2009-06-17 22:14:46 +00:00
|
|
|
* Sun Jun 22 2003 coolo@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- package directories
|
2009-06-17 22:14:46 +00:00
|
|
|
* Mon May 19 2003 freitag@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- update to version 2.6 with bugfixes and some new features (see
|
|
|
|
Changes file in package), removed perllocal.pod off the build
|
|
|
|
system.
|
2009-06-17 22:14:46 +00:00
|
|
|
* Thu Aug 08 2002 mls@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- use sitearch macro
|
2009-06-17 22:14:46 +00:00
|
|
|
* Tue Jul 02 2002 mls@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- remove race in .packlist generation
|
2009-06-17 22:14:46 +00:00
|
|
|
* Tue May 28 2002 freitag@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- update to version 2.5 - mostly bugfixes.
|
2009-06-17 22:14:46 +00:00
|
|
|
* Fri Jun 08 2001 freitag@suse.de
|
2007-01-15 23:30:48 +00:00
|
|
|
- new package with version 2.2
|