|
|
@ -1,13 +1,12 @@
|
|
|
|
Name: perl-GD
|
|
|
|
Name: perl-GD
|
|
|
|
Version: 2.56
|
|
|
|
Version: 2.59
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl interface to the GD graphics library
|
|
|
|
Summary: Perl interface to the GD graphics library
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
License: GPL+ or Artistic 2.0
|
|
|
|
License: GPL+ or Artistic 2.0
|
|
|
|
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/R/RU/RURBAN/GD-%{version}.tar.gz
|
|
|
|
Patch0: GD-2.56-utf8.patch
|
|
|
|
Patch0: GD-2.56-utf8.patch
|
|
|
|
Patch1: GD-2.56-flaky-test.patch
|
|
|
|
Patch1: GD-2.59-cflags.patch
|
|
|
|
# Module Build
|
|
|
|
# Module Build
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
@ -18,8 +17,9 @@ BuildRequires: perl
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::PkgConfig)
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
|
|
|
# Module Runtime
|
|
|
|
# Module Runtime
|
|
|
|
BuildRequires: perl(AutoLoader)
|
|
|
|
BuildRequires: perl(AutoLoader)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
@ -44,7 +44,7 @@ Requires: gd >= 2.0.28
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%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
|
|
|
|
for creating and manipulating PNG files. With this library you can
|
|
|
|
create PNG images on the fly or modify existing files.
|
|
|
|
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
|
|
|
|
# Re-code documentation as UTF8
|
|
|
|
%patch0
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
|
|
|
|
# Mark the flaky image comparison test as TODO (#1291200, CPAN RT#100294)
|
|
|
|
# Upstream wants -Wformat=0 but we don't
|
|
|
|
%patch1
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
|
|
|
|
# Fix shellbangs in sample scripts
|
|
|
|
# Fix shellbangs in sample scripts
|
|
|
@ -62,41 +62,57 @@ perl -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
|
|
|
|
demos/{*.{pl,cgi},truetype_test}
|
|
|
|
demos/{*.{pl,cgi},truetype_test}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Build.PL
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
./Build
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
./Build install --destdir=%{buildroot} --installdirs=vendor --create_packlist=0
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
|
|
|
%{_fixperms} -c %{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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
./Build test --verbose
|
|
|
|
make test TEST_VERBOSE=1
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc ChangeLog README README.QUICKDRAW demos/
|
|
|
|
%doc ChangeLog README README.QUICKDRAW demos/
|
|
|
|
%{_bindir}/bdf2gdfont.pl
|
|
|
|
%{_bindir}/bdf2gdfont.pl
|
|
|
|
%{_bindir}/cvtbdf.pl
|
|
|
|
|
|
|
|
%{perl_vendorarch}/auto/GD/
|
|
|
|
%{perl_vendorarch}/auto/GD/
|
|
|
|
%{perl_vendorarch}/GD.pm
|
|
|
|
%{perl_vendorarch}/GD.pm
|
|
|
|
%{perl_vendorarch}/GD/
|
|
|
|
%{perl_vendorarch}/GD/
|
|
|
|
%{_mandir}/man1/bdf2gdfont.pl.1*
|
|
|
|
%{_mandir}/man1/bdf2gdfont.pl.1*
|
|
|
|
%{_mandir}/man3/GD.3*
|
|
|
|
%{_mandir}/man3/GD.3*
|
|
|
|
|
|
|
|
%{_mandir}/man3/GD::Group.3*
|
|
|
|
%{_mandir}/man3/GD::Image.3*
|
|
|
|
%{_mandir}/man3/GD::Image.3*
|
|
|
|
%{_mandir}/man3/GD::Polygon.3*
|
|
|
|
%{_mandir}/man3/GD::Polygon.3*
|
|
|
|
%{_mandir}/man3/GD::Polyline.3*
|
|
|
|
%{_mandir}/man3/GD::Polyline.3*
|
|
|
|
%{_mandir}/man3/GD::Simple.3*
|
|
|
|
%{_mandir}/man3/GD::Simple.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.56-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|