3 %bcond_without tests # do not perform "make test"
6 %define pnam Template-Expr
7 %include /usr/lib/rpm/macros.perl
8 Summary: HTML::Template::Expr - HTML::Template extension adding expression support
9 Summary(pl.UTF-8): HTML::Template::Expr - rozszerzenie HTML::Template dodające obsługę wyrażeń
10 Name: perl-HTML-Template-Expr
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 717ea56c2244b6e2d26a0e477a4d069c
17 URL: http://search.cpan.org/dist/HTML-Template-Expr/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-HTML-Template >= 2.4
22 BuildRequires: perl-Parse-RecDescent
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This module provides an extension to HTML::Template which allows
29 expressions in the template syntax. This is purely an addition - all
30 the normal HTML::Template options, syntax and behaviors will still
31 work. See HTML::Template for details.
33 %description -l pl.UTF-8
34 Ten moduł dostarcza rozszerzenie do HTML::Template, pozwalające na
35 używanie wyrażeń w składni szablonów. Jest to czysty dodatek -
36 wszystkie normalne opcje HTML::Template, składnia i zachowanie nadal
37 działa. Więcej szczegółów w HTML::Template.
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %{perl_vendorlib}/HTML/Template/*.pm