]> git.pld-linux.org Git - packages/perl-HTML-Template-Expr.git/blame - perl-HTML-Template-Expr.spec
- new, STBR
[packages/perl-HTML-Template-Expr.git] / perl-HTML-Template-Expr.spec
CommitLineData
6331b27c 1#
2# Conditional build:
3# _without_tests - do not perform "make test"
4%include /usr/lib/rpm/macros.perl
5%define pdir HTML
6%define pnam Template-Expr
7Summary: HTML::Template::Expr - HTML::Template extension adding expression support
8#Summary(pl):
9Name: perl-HTML-Template-Expr
10Version: 0.03
11Release: 1
12License: GPL v1+ or Artistic
13Group: Development/Languages/Perl
14Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15BuildRequires: perl >= 5.6
16BuildRequires: rpm-perlprov >= 3.0.3-26
17%if %{?_without_tests:0}%{!?_without_tests:1}
18BuildRequires: perl-HTML-Template >= 2.4
19BuildRequires: perl-Parse-RecDescent
20%endif
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25This module provides an extension to HTML::Template which allows
26expressions in the template syntax. This is purely an addition - all
27the normal HTML::Template options, syntax and behaviors will still work.
28See L<HTML::Template> for details.
29
30# %description -l pl
31# TODO
32
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
37perl Makefile.PL
38%{__make}
39%{!?_without_tests:%{__make} test}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install DESTDIR=$RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%{perl_sitelib}/HTML/Template/*.pm
52%{_mandir}/man3/*
This page took 0.065155 seconds and 4 git commands to generate.