# # Conditional build: %bcond_without tests # do not perform "make test" # Summary: GD - interface to GD graphics library Summary(pl.UTF-8): GD - interfejs do biblioteki graficznej GD Name: perl-GD Version: 2.76 Release: 3 License: Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/GD/GD-%{version}.tar.gz # Source0-md5: fb4bacab10ed4f28d52c2aabdaf866bb Patch0: %{name}-paths.patch URL: https://metacpan.org/dist/GD BuildRequires: gd-devel >= 2.0.28 BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: perl(ExtUtils::Constant) >= 0.22 BuildRequires: perl-ExtUtils-PkgConfig %if %{with tests} BuildRequires: perl-Math-Trig BuildRequires: perl-Test-Fork >= 0.02 BuildRequires: perl-Test-Simple >= 0.88 %endif BuildRequires: rpm-perlprov >= 4.1-13 BuildRequires: rpmbuild(macros) >= 1.745 Requires: gd >= 2.0.28 Provides: perl-GD(gif) = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description GD.pm is a Perl interface to Thomas Boutell's GD graphics library. GD allows you to create color drawings using a large number of graphics primitives, and emit the drawings as PNG files. %description -l pl.UTF-8 GD.pm jest perlowym interfejsem do biblioteki graficznej GD Thomasa Boutella. GD pozwala na tworzenie kolorowych rysunków przy użyciu dużej liczby graficznych prymitywów oraz zapisywanie ich w formacie PNG. %prep %setup -q -n GD-%{version} %patch0 -p1 %build %{__perl} Makefile.PL