File perl-HTML-Template-Expr.spec of Package perl-HTML-Template-Expr
#
# spec file for package perl-HTML-Template-Expr (Version 0.07)
#
# 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-Expr
BuildRequires: perl-HTML-Template perl-Parse-RecDescent
Url: http://cpan.org/modules/by-module/HTML/
License: Artistic License
Group: Development/Libraries/Perl
Requires: perl = %{perl_version} perl-HTML-Template perl-Parse-RecDescent
AutoReqProv: on
Summary: This Module Provides an Extension to HTML::Template
Version: 0.07
Release: 126
Source: HTML-Template-Expr-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module provides an extension to HTML::Template which allows
expressions in the template syntax.
Expression support includes comparisons, math operations, string
operations, and a mechanism to allow you to add your own functions at
runtime.
Authors:
--------
Sam Tregar <sam@tregar.com>
%prep
%setup -n HTML-Template-Expr-%{version}
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make
make test
# ---------------------------------------------------------------------------
%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/Template
%{perl_vendorlib}/HTML/Template
/var/adm/perl-modules/perl-HTML-Template-Expr
%doc ANNOUNCE ARTISTIC Changes GPL MANIFEST README
%changelog
* Wed Jul 12 2006 anicka@suse.cz
- update to 0.07
* Added support for ESCAPE attribute in combination with EXPR.
(Michael Peters)
* Fixed a bug where functions which returned 0 or more than one
return value would cause a stack under or overflow. Functions
are now called in scalar context, eliminating the problem.
Thanks to Jamie Krasnoo for the spot.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 03 2006 anicka@suse.cz
- update to 0.05
* Tue Oct 04 2005 dmueller@suse.de
- add norootforbuild
* Thu Sep 25 2003 mc@suse.de
- initial version (0.04)