forked from pool/perl-GD
Accepting request 297009 from devel:languages:perl:autoupdate
- updated to 2.56 see /usr/share/doc/packages/perl-GD/ChangeLog 2.56 * Fix Makefile.PL so that it works again. 2.55 * Great simplification of regression framework ought to fix make test problems. * Replace ExtUtils::MakeMaker script with Module::Build system (just in time for Module::Build to be deprecated). * Remove archaic qd.pl (for creating QuickDraw picts) from distribution. 2.54 Patch from yurly@unet.net to fix image corruption in rotate180 when image height is odd. 2.53 Points to Gabor Szabo's GD::Simple tutorial, and fix link to repository. 2.52 Fix regression tests to run on Ubuntu 12.04 64bit. OBS-URL: https://build.opensuse.org/request/show/297009 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-GD?expand=0&rev=27
This commit is contained in:
committed by
Git OBS Bridge
parent
f517b3f600
commit
4e81af7c62
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:239cae68c906c89612a3c0546a31b7feef1405286ede3b08e1d70c8c716d29dc
|
||||
size 263561
|
3
GD-2.56.tar.gz
Normal file
3
GD-2.56.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f103d1c98de8621504642ed7fb79f1b40f5f6a63c2abe9390a8ab78617248f9
|
||||
size 273441
|
@@ -1,10 +1,10 @@
|
||||
Index: GD-2.50/Makefile.PL
|
||||
Index: GD-2.56/Makefile.PL
|
||||
===================================================================
|
||||
--- GD-2.50.orig/Makefile.PL
|
||||
+++ GD-2.50/Makefile.PL
|
||||
@@ -245,7 +245,7 @@ WriteMakefile(
|
||||
--- GD-2.56.orig/Makefile.PL
|
||||
+++ GD-2.56/Makefile.PL
|
||||
@@ -253,7 +253,7 @@ WriteMakefile(
|
||||
'PL_FILES' => {'bdf_scripts/bdf2gdfont.PLS' => 'bdf_scripts/bdf2gdfont.pl',
|
||||
'GD/Image.pm.PLS' => 'GD/Image.pm',
|
||||
'lib/GD/Image.pm.PLS' => 'lib/GD/Image.pm',
|
||||
},
|
||||
- 'CCFLAGS' => "$Config{ccflags} -Wformat=0",
|
||||
+ 'CCFLAGS' => "$Config{ccflags}",
|
||||
|
25
cpanspec.yml
Normal file
25
cpanspec.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
description_paragraphs: 1
|
||||
no_testing: see https://rt.cpan.org/Public/Bug/Display.html?id=85789
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
patches:
|
||||
GD-cflags.patch: -p1
|
||||
preamble: |-
|
||||
BuildRequires: freetype2-devel
|
||||
BuildRequires: gd-devel >= 2.0.28
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libvpx-devel
|
||||
BuildRequires: xorg-x11-devel
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 17:48:08 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.56
|
||||
see /usr/share/doc/packages/perl-GD/ChangeLog
|
||||
|
||||
2.56 * Fix Makefile.PL so that it works again.
|
||||
2.55 * Great simplification of regression framework ought to fix make test problems.
|
||||
* Replace ExtUtils::MakeMaker script with Module::Build system
|
||||
(just in time for Module::Build to be deprecated).
|
||||
* Remove archaic qd.pl (for creating QuickDraw picts) from distribution.
|
||||
2.54 Patch from yurly@unet.net to fix image corruption in rotate180 when image height is odd.
|
||||
2.53 Points to Gabor Szabo's GD::Simple tutorial, and fix link to repository.
|
||||
2.52 Fix regression tests to run on Ubuntu 12.04 64bit.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 30 17:28:27 UTC 2014 - darin@darins.net
|
||||
|
||||
|
36
perl-GD.spec
36
perl-GD.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-GD
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,28 +17,31 @@
|
||||
|
||||
|
||||
Name: perl-GD
|
||||
Version: 2.51
|
||||
Version: 2.56
|
||||
Release: 0
|
||||
%define cpan_name GD
|
||||
Summary: Interface to Gd Graphics Library
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/GD/
|
||||
Source: http://www.cpan.org/authors/id/L/LD/LDS/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/L/LD/LDS/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Patch0: GD-cflags.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(Module::Build) >= 0.42
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: freetype2-devel
|
||||
BuildRequires: gd-devel >= 2.0.28
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libvpx-devel
|
||||
%endif
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: xorg-x11-devel
|
||||
%{perl_requires}
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
*GD.pm* is a Perl interface to Thomas Boutell's gd graphics library
|
||||
@@ -48,24 +51,23 @@ files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0 -p1
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
# see https://rt.cpan.org/Public/Bug/Display.html?id=85789 for the reason
|
||||
# %{__make} test
|
||||
# MANUAL no testing (see https://rt.cpan.org/Public/Bug/Display.html?id=85789)
|
||||
#./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc ChangeLog README README.QUICKDRAW README.unix
|
||||
%doc bdf_scripts ChangeLog demos LICENSE Makefile.old README README.QUICKDRAW
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user