]> git.pld-linux.org Git - packages/perl-Template-Timer.git/blame - perl-Template-Timer.spec
- updated to 1.00
[packages/perl-Template-Timer.git] / perl-Template-Timer.spec
CommitLineData
b1ecaa8d 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Template
7%define pnam Timer
8Summary: Template::Timer - Rudimentary profiling for Template Toolkit
cf38e928 9Summary(pl.UTF-8): Template::Timer - podstawowe profilowanie dla Template Toolkitu
b1ecaa8d 10Name: perl-Template-Timer
e3b7a2f4 11Version: 1.00
96d4f4b4 12Release: 1
b1ecaa8d 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
e3b7a2f4 17# Source0-md5: b7d488e5a1fd4f8171c5f81183921dc2
b1ecaa8d 18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-Template-Toolkit
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Template::Timer provides inline timings of the template processing
47741372 28throughout your code. It's an overridden version of Template::Context
b1ecaa8d 29that wraps the process() and include() methods.
30
350d9069
JR
31%description -l pl.UTF-8
32Template::Timer udostępnia mierzenie czasu przetwarzania kodu. Jest
33to przeciążona wersja klasy Template::Context przechwytująca metody
47741372 34process() i include().
b1ecaa8d 35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42%{__make}
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc Changes README
58%{perl_vendorlib}/Template/*.pm
59%{_mandir}/man3/*
This page took 0.104182 seconds and 4 git commands to generate.