]> git.pld-linux.org Git - packages/perl-CGI-FastTemplate.git/blobdiff - perl-CGI-FastTemplate.spec
- should be ready for perl-5.8.0; release++
[packages/perl-CGI-FastTemplate.git] / perl-CGI-FastTemplate.spec
index 3ef88be84a81c8a13b5165833d630414fc948b28..7730d4d7a6c811873232a005ef862fda2a6243c3 100644 (file)
@@ -1,40 +1,33 @@
+%include       /usr/lib/rpm/macros.perl
 %define        pdir    CGI
 %define        pnam    FastTemplate
-%include       /usr/lib/rpm/macros.perl
-Summary:       CGI-FastTemplate perl module
-Summary(pl):   Modu³ perla CGI-FastTemplate
+Summary:       CGI::FastTemplate perl module
+Summary(pl):   Modu³ perla CGI::FastTemplate
 Name:          perl-CGI-FastTemplate
 Version:       1.09
-Release:       5
-
+Release:       8
 License:       GPL
 Group:         Development/Languages/Perl
-Group(cs):     Vývojové prostøedky/Programovací jazyky/Perl
-Group(de):     Entwicklung/Sprachen/Perl
-Group(es):     Desarrollo/Lenguajes/Perl
-Group(fr):     Development/Langues/Perl
-Group(ja):     ³«È¯/¸À¸ì/Perl
-Group(pl):     Programowanie/Jêzyki/Perl
-Group(pt):     Desenvolvimento/Linguagens/Perl
-Group(ru):     òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/Perl
-Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.6
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6.1
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-CGI-FastTemplate manages templates and parses templates replacing
+CGI::FastTemplate manages templates and parses templates replacing
 variable names with values.
 
 %description -l pl
-Modu³ perla CGI-FastTemplate.
+Modu³ perla CGI::FastTemplate - zarz±dza wzorcami i analizuje je,
+zastêpuj±c przy tym nazwy zmiennych warto¶ciami.
 
 %prep
-%setup -q -n CGI-FastTemplate-%{version}
+%setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor 
 %{__make}
 
 %install
@@ -42,13 +35,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz templates
-%{perl_sitelib}/CGI/FastTemplate.pm
+%doc README templates
+%{perl_vendorlib}/CGI/FastTemplate.pm
 %{_mandir}/man3/*
This page took 0.031406 seconds and 4 git commands to generate.