3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Petal::Utils - Useful template modifiers for Petal
9 Summary(pl.UTF-8): Petal::Utils - przydatne modyfikatory szablonów dla Petala
10 Name: perl-Petal-Utils
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://search.cpan.org/CPAN/authors/id/W/WM/WMCKEE/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: d93d4e1724a967891b4974b6985986cb
18 URL: http://search.cpan.org/dist/Petal-Utils/
19 BuildRequires: perl-Module-Build >= 0.20
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRequires: perl(Date::Format) >= 0.01
24 BuildRequires: perl-Petal >= 1.06
25 BuildRequires: perl(URI::Escape) >= 3.0
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 The Petal::Utils package contains commonly used Petal modifiers (or
32 plugins), and bundles them with an easy-to-use installation interface.
34 %description -l pl.UTF-8
35 Pakiet Petal::Utils zawiera poplarne modyfikatory (lub wtyczki) Petala
36 i łączy je przy użyciu łatwego interfejsu instalacyjnego.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
43 destdir=$RPM_BUILD_ROOT \
47 %{?with_tests:./Build test}
50 rm -rf $RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc Changes INSTALL README TODO
60 %{perl_vendorlib}/Petal/*.pm
61 %{perl_vendorlib}/Petal/Utils