3 %bcond_without tests # do not perform "make test"
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
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
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This is yet another library for template-based text generation.
24 %description -l pl.UTF-8
25 To jest jeszcze jedna biblioteka do bazującego na szablonach
29 %setup -q -n %{pdir}-%{pnam}-%{version}
32 %{__perl} Makefile.PL \
36 %{?with_tests:%{__make} test}
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_vendorlib}/Text/SimpleTemplate.pm