]> git.pld-linux.org Git - packages/perl-CGI-FastTemplate.git/blame - perl-CGI-FastTemplate.spec
- converted to UTF-8
[packages/perl-CGI-FastTemplate.git] / perl-CGI-FastTemplate.spec
CommitLineData
f0ec8b98 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
fc44c345 5%include /usr/lib/rpm/macros.perl
7c00e212 6%define pdir CGI
7%define pnam FastTemplate
9391753d 8Summary: CGI::FastTemplate - Perl extension for managing templates, and performing variable interpolation
edce53b9 9Summary(pl.UTF-8): CGI::FastTemplate - rozszerzenie Perla do zarządzania wzorcami i zastępowania zmiennych
01b7def8 10Name: perl-CGI-FastTemplate
42d22e4e 11Version: 1.09
ea187d1c 12Release: 9
9391753d 13# same as perl
14License: GPL v1+ or Artistic
01b7def8 15Group: Development/Languages/Perl
8f7a39d4 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
1af16555 17# Source0-md5: c5fe8ead04c525c8d5633c9453af802f
d4adb3ca 18BuildRequires: perl-devel >= 1:5.8.0
ee324896 19BuildRequires: rpm-perlprov >= 4.1-13
43f3130e 20BuildArch: noarch
91fde90c 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
01b7def8 22
23%description
9391753d 24CGI::FastTemplate Perl module manages templates and parses templates
25replacing variable names with values.
01b7def8 26
edce53b9
JR
27%description -l pl.UTF-8
28Moduł Perla CGI::FastTemplate zarządza wzorcami i analizuje je,
29zastępując przy tym nazwy zmiennych wartościami.
01b7def8 30
31%prep
fc44c345 32%setup -q -n %{pdir}-%{pnam}-%{version}
01b7def8 33
34%build
ee324896 35%{__perl} Makefile.PL \
9c690903 36 INSTALLDIRS=vendor
d87f7039 37%{__make}
01b7def8 38
f0ec8b98 39%{?with_tests:%{__make} test}
40
01b7def8 41%install
42rm -rf $RPM_BUILD_ROOT
01b7def8 43
f0ec8b98 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
01b7def8 46
01b7def8 47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
099820ed 52%doc README templates
ee324896 53%{perl_vendorlib}/CGI/FastTemplate.pm
01b7def8 54%{_mandir}/man3/*
This page took 0.058127 seconds and 4 git commands to generate.