1 %include /usr/lib/rpm/macros.perl
4 Summary: Text::Template - Expand template text with embedded Perl
5 Summary(pl): Text::Template - przetwarzanie szablonów tekstowych przez wbudowany Perl
6 Name: perl-Text-Template
10 Group: Development/Languages/Perl
11 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5: b8026c119a491975ec02853862957f61
13 BuildRequires: rpm-perlprov >= 4.1-13
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This is a library for generating form letters, building HTML pages,
19 or filling in templates generally. A `template' is a piece of text
20 that has little Perl programs embedded in it here and there. When you
21 `fill in' a template, you evaluate the little programs and replace
22 them with their values.
25 To jest biblioteka do generowania listów z formularzy, budowania stron
26 HTML lub ogólnie wype³niania szablonów. Szablon (template) to kawa³ek
27 tekstu, który ma wbudowane gdzieniegdzie ma³e programy w Perlu. Przy
28 "wype³nianiu" szablonu te ma³e programy s± wykonywane i zastêpowane
29 zwracanymi przez nie warto¶ciami.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
40 rm -rf $RPM_BUILD_ROOT
42 %{__make} install DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_vendorlib}/Text/Template.pm
51 %{perl_vendorlib}/Text/Template