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
|
|
|
#
|
2007-01-30 09:41:15 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:48 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
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
|
|
|
|
|
2007-01-30 09:41:15 +00:00
|
|
|
Name: perl-HTML-Template
|
|
|
|
URL: http://cpan.org/modules/by-module/HTML/
|
|
|
|
License: GNU General Public License (GPL)
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Autoreqprov: on
|
|
|
|
Summary: This Module Attempts to make using HTML Templates Simple and Natural
|
|
|
|
Version: 2.9
|
|
|
|
Release: 1
|
|
|
|
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
|
|
|
|
|
|
|
|
%changelog -n perl-HTML-Template
|
2007-01-30 09:41:15 +00:00
|
|
|
* Tue Jan 30 2007 - anicka@suse.cz
|
|
|
|
- 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.
|
2007-01-15 23:30:48 +00:00
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Fri Jan 06 2006 - anicka@suse.cz
|
|
|
|
- update to 2.8
|
|
|
|
* Wed Sep 28 2005 - dmueller@suse.de
|
|
|
|
- add norootforbuild
|
|
|
|
* Mon Aug 01 2005 - cthiel@suse.de
|
|
|
|
- update to version 2.7
|
|
|
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
|
|
|
- require the perl version we build with
|
|
|
|
* Mon Jul 14 2003 - freitag@suse.de
|
|
|
|
- cleaned up specfile filelist to install to vendor dirs
|
|
|
|
* Sun Jun 22 2003 - coolo@suse.de
|
|
|
|
- package directories
|
|
|
|
* Mon May 19 2003 - freitag@suse.de
|
|
|
|
- update to version 2.6 with bugfixes and some new features (see
|
|
|
|
Changes file in package), removed perllocal.pod off the build
|
|
|
|
system.
|
|
|
|
* Thu Aug 08 2002 - mls@suse.de
|
|
|
|
- use sitearch macro
|
|
|
|
* Tue Jul 02 2002 - mls@suse.de
|
|
|
|
- remove race in .packlist generation
|
|
|
|
* Tue May 28 2002 - freitag@suse.de
|
|
|
|
- update to version 2.5 - mostly bugfixes.
|
|
|
|
* Fri Jun 08 2001 - freitag@suse.de
|
|
|
|
- new package with version 2.2
|