]> git.pld-linux.org Git - packages/perl-Template-GD.git/blame - perl-Template-GD.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Template-GD.git] / perl-Template-GD.spec
CommitLineData
c33f4989 1#
2# Conditional build:
3%bcond_without autodeps # don't BR packages needed only for resolving deps
4%bcond_without tests # do not perform "make test"
5#
c33f4989 6%define pdir Template
7%define pnam GD
8Summary: GD plugins for Template Toolkit - graphics operations
bf4d5c49 9Summary(pl.UTF-8): Wtyczki GD dla pakietu Template Toolkit - operacje graficzne
c33f4989 10Name: perl-Template-GD
11Version: 2.66
12Release: 1
13# same as perl
14License: GPL v1+ or or Artistic
15Group: Development/Languages/Perl
e33a18a9 16Source0: http://www.cpan.org/modules/by-module/Template/%{pdir}-%{pnam}-%{version}.tar.gz
c33f4989 17# Source0-md5: 9052bef9bd799e143990e67422c14b81
e33a18a9 18URL: http://search.cpan.org/dist/Template-GD/
c33f4989 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: perl(File::Spec) >= 0.6
21BuildRequires: perl-AppConfig >= 1.52
22%if %{with autodeps} || %{with tests}
23BuildRequires: perl-GD >= 1.32
24BuildRequires: perl-GD-Graph >= 1.33
25BuildRequires: perl-GD-Graph3d >= 0.55
26BuildRequires: perl-GD-TextUtil >= 0.80
27BuildRequires: perl-Pod-POM >= 0.1
28BuildRequires: perl-Template-Toolkit >= 2.15
29BuildRequires: perl-Text-Autoformat >= 1.03
30%endif
31BuildRequires: rpm-perlprov >= 4.1-13
32Requires: perl-Template-Toolkit >= 2.15
33Obsoletes: perl-Template-Toolkit-Plugin-GD
34BuildArch: noarch
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38GD plugins for Template Toolkit - interface to GD graphics library.
39
211ca045
JR
40%description -l pl.UTF-8
41Wtyczki GD dla pakietu Template Tookit. Stanowią one interfejs do
c33f4989 42biblioteki graficznej GD.
43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
48echo "n" | %{__perl} Makefile.PL \
49 INSTALLDIRS=vendor
50%{__make}
51
52%{?with_tests:%{__make} test}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
65%{perl_vendorlib}/Template/Plugin/GD.pm
66%{perl_vendorlib}/Template/Plugin/GD
67%{_mandir}/man3/*
This page took 0.067648 seconds and 4 git commands to generate.