]> git.pld-linux.org Git - packages/perl-Text-Template.git/blob - perl-Text-Template.spec
- mass commit: cosmetics (removed trailing white spaces)
[packages/perl-Text-Template.git] / perl-Text-Template.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Text
3 %define pnam    Template
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
7 Version:        1.43
8 Release:        4
9 License:        GPL
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
23
24 %description -l pl
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.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README
50 %{perl_vendorlib}/Text/Template.pm
51 %{perl_vendorlib}/Text/Template
52 %{_mandir}/man3/*
This page took 0.027547 seconds and 3 git commands to generate.