]> git.pld-linux.org Git - packages/perl-Petal-Utils.git/blame - perl-Petal-Utils.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Petal-Utils.git] / perl-Petal-Utils.spec
CommitLineData
cda8a19a 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
cda8a19a 5%define pdir Petal
6%define pnam Utils
49e03cd5 7Summary: Petal::Utils - Useful template modifiers for Petal
6b1d5e9f 8Summary(pl.UTF-8): Petal::Utils - przydatne modyfikatory szablonów dla Petala
cda8a19a 9Name: perl-Petal-Utils
10Version: 0.06
5ad7abb2 11Release: 1
cda8a19a 12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://search.cpan.org/CPAN/authors/id/W/WM/WMCKEE/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: d93d4e1724a967891b4974b6985986cb
fcf6025d
JB
17URL: http://search.cpan.org/dist/Petal-Utils/
18BuildRequires: perl-Module-Build >= 0.20
cda8a19a 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl(Date::Format) >= 0.01
49e03cd5 23BuildRequires: perl-Petal >= 1.06
cda8a19a 24BuildRequires: perl(URI::Escape) >= 3.0
cda8a19a 25%endif
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
49e03cd5
JB
30The Petal::Utils package contains commonly used Petal modifiers (or
31plugins), and bundles them with an easy-to-use installation interface.
cda8a19a 32
f093b143 33%description -l pl.UTF-8
49e03cd5 34Pakiet Petal::Utils zawiera poplarne modyfikatory (lub wtyczki) Petala
f093b143 35i łączy je przy użyciu łatwego interfejsu instalacyjnego.
cda8a19a 36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Build.PL \
42 destdir=$RPM_BUILD_ROOT \
43 installdirs=vendor
44./Build
45
46%{?with_tests:./Build test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51./Build install
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes INSTALL README TODO
59%{perl_vendorlib}/Petal/*.pm
60%{perl_vendorlib}/Petal/Utils
61%{_mandir}/man3/*
This page took 0.119387 seconds and 4 git commands to generate.