]> git.pld-linux.org Git - SPECS.git/blob - perl-Text-SimpleTemplate.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / perl-Text-SimpleTemplate.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Text
6 %define         pnam    SimpleTemplate
7 Summary:        Text::SimpleTemplate - yet another module for template processing
8 Summary(pl.UTF-8):      Text::SimpleTemplate - jeszcze jeden moduł do przetwarzania szablonów
9 Name:           perl-Text-SimpleTemplate
10 Version:        0.36
11 Release:        5
12 License:        GPL
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  a2f05921270b96d8e8d21b263f22e3cc
16 URL:            http://search.cpan.org/dist/Text-SimpleTemplate/
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This is yet another library for template-based text generation.
23
24 %description -l pl.UTF-8
25 To jest jeszcze jedna biblioteka do bazującego na szablonach
26 generowania tekstu.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %{?with_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         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.TXT
50 %{perl_vendorlib}/Text/SimpleTemplate.pm
51 %{_mandir}/man3/*
This page took 1.410122 seconds and 3 git commands to generate.