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) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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:        1
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 -n perl-HTML-Template-Expr
* 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)