1
0
Files
perl-HTML-Template/perl-HTML-Template.spec

108 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-HTML-Template (Version 2.9)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: perl-HTML-Template
Url: http://cpan.org/modules/by-module/HTML/
License: GPL v2 or later
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: 104
Source: HTML-Template-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%setup -q -n HTML-Template-%{version}
# ---------------------------------------------------------------------------
%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
* 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.
* 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