File perl-HTML-Template-Expr.spec of Package perl-HTML-Template-Expr
#
# spec file for package perl-HTML-Template-Expr
#
# Copyright (c) 2011 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 perl-HTML-Template perl-Parse-RecDescent perl-macros
Url: http://cpan.org/modules/by-module/HTML/
License: Artistic-1.0
Group: Development/Libraries/Perl
Requires: perl-HTML-Template perl-Parse-RecDescent
AutoReqProv: on
Summary: This Module Provides an Extension to HTML::Template
Version: 0.07
Release: 134
Source: HTML-Template-Expr-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%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 %{?_smp_mflags}
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
%doc ANNOUNCE ARTISTIC Changes GPL MANIFEST README
%changelog