Update to 2.59

- New upstream release 2.59
  - Remove Build.PL, fix permissions, fix for missing gdlib-config
  - Fix feature extraction ≥ 2.2 (CPAN RT#119459)
  - Add alpha method
  - Improve option handling
  - Fix metadata
  - Fix Jpeg magic number detection (CPAN RT#26146)
  - Fix RGB-HSV roundtrips (CPAN RT#120572)
  - Fix -print-search-dirs errors (CPAN RT#106265)
  - Co-maint to RURBAN
  - Add hv_fetchs, CI smokers
  - Add GD::VERSION_STRING API
  - Honor --lib_gd_path specific gdlib-config
  - Loosen the comparison tests with GDIMAGETYPE ne gd2
  - Improve gdlib-config parsing (GH#17), esp. with 2.0.34
  - Error on failing libgd calls
  - Fix colorClosestAlpha, colorAllocateAlpha
  - Add missing documentation
- This release by RURBAN → update source URL
- Switch to ExtUtils::MakeMaker flow
- Drop legacy Group: tag
epel9
Paul Howarth 8 years ago
parent 1667c89ac9
commit a89d988685

@ -0,0 +1,10 @@
--- Makefile.PL
+++ Makefile.PL
@@ -237,7 +237,6 @@ print F $DEFINES,"\n";
close F;
my $CCFLAGS = $Config{ccflags};
-$CCFLAGS .= " -Wformat=0" if $Config{gccversion};
WriteMakefile(
'NAME' => 'GD',

@ -1,13 +1,12 @@
Name: perl-GD
Version: 2.56
Release: 11%{?dist}
Version: 2.59
Release: 1%{?dist}
Summary: Perl interface to the GD graphics library
Group: Development/Libraries
License: GPL+ or Artistic 2.0
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/R/RU/RURBAN/GD-%{version}.tar.gz
Patch0: GD-2.56-utf8.patch
Patch1: GD-2.56-flaky-test.patch
Patch1: GD-2.59-cflags.patch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
@ -18,8 +17,9 @@ BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::PkgConfig)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Module::Build)
# Module Runtime
BuildRequires: perl(AutoLoader)
BuildRequires: perl(Carp)
@ -44,7 +44,7 @@ Requires: gd >= 2.0.28
%{?perl_default_filter}
%description
This is a autoloadable interface module for GD, a popular library
This is a auto-loadable interface module for GD, a popular library
for creating and manipulating PNG files. With this library you can
create PNG images on the fly or modify existing files.
@ -54,7 +54,7 @@ create PNG images on the fly or modify existing files.
# Re-code documentation as UTF8
%patch0
# Mark the flaky image comparison test as TODO (#1291200, CPAN RT#100294)
# Upstream wants -Wformat=0 but we don't
%patch1
# Fix shellbangs in sample scripts
@ -62,41 +62,57 @@ perl -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
demos/{*.{pl,cgi},truetype_test}
%build
perl Build.PL
./Build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make
%install
./Build install --destdir=%{buildroot} --installdirs=vendor --create_packlist=0
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
%{_fixperms} %{buildroot}
# These files should not have been installed
rm %{buildroot}%{_bindir}/bdf2gdfont.PLS \
%{buildroot}%{_bindir}/README \
%{buildroot}%{_mandir}/man1/bdf2gdfont.PLS.1*
# This binary is in gd-progs
rm %{buildroot}%{_bindir}/bdftogd
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -empty -delete
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
./Build test --verbose
make test TEST_VERBOSE=1
%files
%license LICENSE
%doc ChangeLog README README.QUICKDRAW demos/
%{_bindir}/bdf2gdfont.pl
%{_bindir}/cvtbdf.pl
%{perl_vendorarch}/auto/GD/
%{perl_vendorarch}/GD.pm
%{perl_vendorarch}/GD/
%{_mandir}/man1/bdf2gdfont.pl.1*
%{_mandir}/man3/GD.3*
%{_mandir}/man3/GD::Group.3*
%{_mandir}/man3/GD::Image.3*
%{_mandir}/man3/GD::Polygon.3*
%{_mandir}/man3/GD::Polyline.3*
%{_mandir}/man3/GD::Simple.3*
%changelog
* Fri Apr 21 2017 Paul Howarth <paul@city-fan.org> - 2.59-1
- Update to 2.59
- Remove Build.PL, fix permissions, fix for missing gdlib-config
- Fix feature extraction ≥ 2.2 (CPAN RT#119459)
- Add alpha method
- Improve option handling
- Fix metadata
- Fix Jpeg magic number detection (CPAN RT#26146)
- Fix RGB-HSV roundtrips (CPAN RT#120572)
- Fix -print-search-dirs errors (CPAN RT#106265)
- Co-maint to RURBAN
- Add hv_fetchs, CI smokers
- Add GD::VERSION_STRING API
- Honor --lib_gd_path specific gdlib-config
- Loosen the comparison tests with GDIMAGETYPE ne gd2
- Improve gdlib-config parsing (GH#17), esp. with 2.0.34
- Error on failing libgd calls
- Fix colorClosestAlpha, colorAllocateAlpha
- Add missing documentation
- This release by RURBAN → update source URL
- Switch to ExtUtils::MakeMaker flow
- Drop legacy Group: tag
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.56-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +1 @@
c4b3afd98b2c4ce3c2e1027d101a8f1e GD-2.56.tar.gz
SHA512 (GD-2.59.tar.gz) = 7accaabbffbba70a0030656b67dd2f8f6ee84ac616a5ca6b877bc7d69f4896319ac535726c5a147303e14bcfb6c107f9be2753f744a438cdd20bfab6b2b87330

Loading…
Cancel
Save