]> git.pld-linux.org Git - packages/perl-HTML-Template-Expr.git/blob - perl-HTML-Template-Expr.spec
- should be ready for perl-5.8.0; release++
[packages/perl-HTML-Template-Expr.git] / perl-HTML-Template-Expr.spec
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
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
10 Version:        0.04
11 Release:        2
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 >= 4.1-13
17 %if %{?_without_tests:0}%{!?_without_tests:1}
18 BuildRequires:  perl-HTML-Template >= 2.4
19 BuildRequires:  perl-Parse-RecDescent
20 %endif
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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.
29
30 %description -l pl
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.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor 
42 %{__make}
43 %{!?_without_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %{perl_vendorlib}/HTML/Template/*.pm
56 %{_mandir}/man3/*
This page took 0.076018 seconds and 4 git commands to generate.