3 # _without_tests - do not perform "make test"
4 %include /usr/lib/rpm/macros.perl
6 %define pnam Template-Expr
7 Summary: HTML::Template::Expr - HTML::Template extension adding expression support
8 Summary(pl): HTML::Template::Expr - rozszerzenie HTML::Template dodaj±ce obs³ugê wyra¿eñ
9 Name: perl-HTML-Template-Expr
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires: perl >= 5.6
16 BuildRequires: rpm-perlprov >= 3.0.3-26
17 %if %{?_without_tests:0}%{!?_without_tests:1}
18 BuildRequires: perl-HTML-Template >= 2.4
19 BuildRequires: perl-Parse-RecDescent
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This module provides an extension to HTML::Template which allows
26 expressions in the template syntax. This is purely an addition - all
27 the normal HTML::Template options, syntax and behaviors will still
28 work. See HTML::Template for details.
31 Ten modu³ dostarcza rozszerzenie do HTML::Template, pozwalaj±ce na
32 u¿ywanie wyra¿eñ w sk³adni szablonów. Jest to czysty dodatek -
33 wszystkie normalne opcje HTML::Template, sk³adnia i zachowanie nadal
34 dzia³a. Wiêcej szczegó³ów w HTML::Template.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{!?_without_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %{perl_sitelib}/HTML/Template/*.pm