]> git.pld-linux.org Git - packages/perl-HTML-Template-Expr.git/blob - perl-HTML-Template-Expr.spec
- massive attack: change CPAN URLs
[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:        1
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
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 %{__make}
42 %{!?_without_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %{perl_sitelib}/HTML/Template/*.pm
55 %{_mandir}/man3/*
This page took 0.063893 seconds and 4 git commands to generate.