]> git.pld-linux.org Git - packages/perl-HTML-Template-Expr.git/blob - perl-HTML-Template-Expr.spec
use generic url
[packages/perl-HTML-Template-Expr.git] / perl-HTML-Template-Expr.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    HTML
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
11 Version:        0.07
12 Release:        2
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
20 %if %{with tests}
21 BuildRequires:  perl-HTML-Template >= 2.4
22 BuildRequires:  perl-Parse-RecDescent
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
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.
32
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.
38
39 %prep
40 %setup -q -n %{pdir}-%{pnam}-%{version}
41
42 %build
43 %{__perl} Makefile.PL \
44         INSTALLDIRS=vendor
45 %{__make}
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %{perl_vendorlib}/HTML/Template/*.pm
61 %{_mandir}/man3/*
This page took 0.034726 seconds and 3 git commands to generate.