|
|
@ -1,16 +1,15 @@
|
|
|
|
Name: perl-GD
|
|
|
|
Name: perl-GD
|
|
|
|
Version: 2.46
|
|
|
|
Version: 2.49
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl interface to the GD graphics library
|
|
|
|
Summary: Perl interface to the GD graphics library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/GD/
|
|
|
|
URL: http://search.cpan.org/dist/GD/
|
|
|
|
Source0: http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz
|
|
|
|
Patch0: perl-GD-2.41-Group.patch
|
|
|
|
|
|
|
|
Patch1: perl-GD-skip-3.patch
|
|
|
|
# see http://rt.cpan.org/Public/Bug/Display.html?id=85789
|
|
|
|
# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628522
|
|
|
|
Patch0: %{name}-2.49-skip-2-10.patch
|
|
|
|
# and https://rt.cpan.org/Public/Bug/Display.html?id=67990
|
|
|
|
|
|
|
|
Patch2: perl-GD-ccflags.patch
|
|
|
|
|
|
|
|
BuildRequires: gd-devel >= 2.0.28
|
|
|
|
BuildRequires: gd-devel >= 2.0.28
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(AutoLoader)
|
|
|
|
BuildRequires: perl(AutoLoader)
|
|
|
@ -30,11 +29,9 @@ create PNG images on the fly or modify existing files.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n GD-%{version}
|
|
|
|
%setup -q -n GD-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
%patch0 -p1
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
perl -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
|
|
|
|
perl -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
|
|
|
|
qd.pl demos/{*.{pl,cgi},truetype_test}
|
|
|
|
qd.pl demos/{*.{pl,cgi},truetype_test}
|
|
|
|
chmod -c 644 bdf_scripts/* demos/*
|
|
|
|
chmod -c 644 bdf_scripts/* demos/*
|
|
|
@ -53,15 +50,10 @@ chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%ifarch ppc
|
|
|
|
%ifarch ppc
|
|
|
|
# testsuite fails on ppc
|
|
|
|
: ignored as testsuite fails on ppc
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
|
|
|
perl t/GD.t --write
|
|
|
|
|
|
|
|
#This is the file that should contain some blue color
|
|
|
|
|
|
|
|
base64 t/test.out.3.png_new
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc ChangeLog README README.QUICKDRAW demos/
|
|
|
|
%doc ChangeLog README README.QUICKDRAW demos/
|
|
|
@ -73,6 +65,10 @@ base64 t/test.out.3.png_new
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 2.49-1
|
|
|
|
|
|
|
|
- update to 2.49
|
|
|
|
|
|
|
|
- ignore GD tests 2..10, results are "visibly" correct #973139
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 2.46-4
|
|
|
|
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 2.46-4
|
|
|
|
- rebuild for new GD 2.1.0
|
|
|
|
- rebuild for new GD 2.1.0
|
|
|
|
|
|
|
|
|
|
|
|