]> git.pld-linux.org Git - packages/perl-HTML-Template.git/blobdiff - perl-HTML-Template.spec
- updated to 2.95
[packages/perl-HTML-Template.git] / perl-HTML-Template.spec
index e6b3e5fb7ba4d867b902ef0383a8ee4645752103..d4e113751a5df36600070ca22e25377c4dbf5173 100644 (file)
@@ -8,16 +8,18 @@
 Summary:       HTML::Template - Perl module to use HTML templates from CGI scripts
 Summary(pl.UTF-8):     HTML::Template - moduł Perla do obsługi szablonów HTML w skryptach CGI
 Name:          perl-HTML-Template
-Version:       2.94
+Version:       2.95
 Release:       1
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 7b7683c3672d55fb922734ea1e9ba7e8
+Source0:       http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 6f08e9631af52e6a5f6e4648b89265fe
 URL:           https://github.com/mpeters/html-template/
-BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
 BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 %if %{with tests}
+BuildRequires: perl(File::Spec) >= 0.82
 BuildRequires: perl-Digest-MD5
 BuildRequires: perl-IPC-SharedCache
 %endif
@@ -28,19 +30,28 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This module attempts make using HTML templates simple and natural.
 
 It extends standard HTML with a few new HTML-esque tags - <TMPL_VAR>,
-<TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF> and <TMPL_ELSE>.  The file written
-with HTML and these new tags is called a template.  It is usually saved
-separate from your script - possibly even created by someone else!
+<TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF> and <TMPL_ELSE>. The file
+written with HTML and these new tags is called a template. It is
+usually saved separate from your script - possibly even created by
+someone else!
 
 Using this module you fill in the values for the variables, loops and
-branches declared in the template.  This allows you to seperate design -
-the HTML - from the data, which you generate in the Perl script.
+branches declared in the template. This allows you to seperate design
+the HTML - from the data, which you generate in the Perl script.
 
 %description -l pl.UTF-8
-HTML::Template jest modułem pozwalającym na wykorzystywanie szablonów
-HTML (i nie tylko) w skryptach CGI (a także w dowolnym innym
-oprogramowaniu przy tworzeniu którego zachodzi potrzeba rozdzielenia
-programu od wyglądu danych.
+Ten moduł próbuje uczynić wykorzystywanie szablonów HTML prostym i
+naturalnym.
+
+Rozszerza standardowy HTML o kilka znaczników HTML-opodobnych:
+<TMPL_VAR>, <TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF> oraz <TMPL_ELSE>.
+Plik napisany w HTML-u z użyciem tych nowych znaczników nazywa się
+szablonem. Zwykle jest oddzielony od skryptu - a nawet tworzony przez
+kogoś innego.
+
+Przy użyciu tego modułu wypełnia się wartościami zmienne, pętle oraz
+warunki zadeklarowane w szablonie. Pozwala to oddzielić projekt (HTML)
+od danych generowanych w skrypcie perlowym.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -58,7 +69,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{perl_vendorlib}/%{pdir}/%{pnam}
+# just docs
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/HTML/Template/FAQ.pm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -66,6 +78,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README templates scripts
-%{perl_vendorlib}/%{pdir}/*.pm
-%dir %{perl_vendorlib}/%{pdir}/%{pnam}
-%{_mandir}/man3/*
+%{perl_vendorlib}/HTML/Template.pm
+%dir %{perl_vendorlib}/HTML/Template
+%{_mandir}/man3/HTML::Template.3pm*
+%{_mandir}/man3/HTML::Template::FAQ.3pm*
This page took 0.057567 seconds and 4 git commands to generate.