]> git.pld-linux.org Git - packages/perl-HTML-Template-Expr.git/blame - perl-HTML-Template-Expr.spec
use generic url
[packages/perl-HTML-Template-Expr.git] / perl-HTML-Template-Expr.spec
CommitLineData
6331b27c 1#
2# Conditional build:
63a17d37 3%bcond_without tests # do not perform "make test"
98b968fb 4
f70a3aea 5%define pdir HTML
6%define pnam Template-Expr
98b968fb 7%include /usr/lib/rpm/macros.perl
6331b27c 8Summary: HTML::Template::Expr - HTML::Template extension adding expression support
ba62adc4 9Summary(pl.UTF-8): HTML::Template::Expr - rozszerzenie HTML::Template dodające obsługę wyrażeń
6331b27c 10Name: perl-HTML-Template-Expr
a482b5b2 11Version: 0.07
33c5c439 12Release: 2
6331b27c 13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
31d9f02d 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
a482b5b2 16# Source0-md5: 717ea56c2244b6e2d26a0e477a4d069c
98b968fb 17URL: http://search.cpan.org/dist/HTML-Template-Expr/
5fc05b0b 18BuildRequires: perl-devel >= 1:5.8.0
a577ea7f 19BuildRequires: rpm-perlprov >= 4.1-13
63a17d37 20%if %{with tests}
6331b27c 21BuildRequires: perl-HTML-Template >= 2.4
22BuildRequires: perl-Parse-RecDescent
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28This module provides an extension to HTML::Template which allows
98b968fb 29expressions in the template syntax. This is purely an addition - all
4421f424
JB
30the normal HTML::Template options, syntax and behaviors will still
31work. See HTML::Template for details.
32
f6e7d21f
JR
33%description -l pl.UTF-8
34Ten moduł dostarcza rozszerzenie do HTML::Template, pozwalające na
35używanie wyrażeń w składni szablonów. Jest to czysty dodatek -
36wszystkie normalne opcje HTML::Template, składnia i zachowanie nadal
37działa. Więcej szczegółów w HTML::Template.
6331b27c 38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
a577ea7f 43%{__perl} Makefile.PL \
42d323b2 44 INSTALLDIRS=vendor
6331b27c 45%{__make}
63a17d37 46
47%{?with_tests:%{__make} test}
6331b27c 48
49%install
50rm -rf $RPM_BUILD_ROOT
51
8f2f59a8 52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
6331b27c 54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
a577ea7f 60%{perl_vendorlib}/HTML/Template/*.pm
6331b27c 61%{_mandir}/man3/*
This page took 0.061234 seconds and 4 git commands to generate.