2007-01-15 23:30:39 +00:00
|
|
|
#
|
2008-06-23 22:48:32 +00:00
|
|
|
# spec file for package perl-GD (Version 2.39)
|
2007-01-15 23:30:39 +00:00
|
|
|
#
|
2008-06-23 22:48:32 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:39 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-06-23 22:48:32 +00:00
|
|
|
|
2007-01-15 23:30:39 +00:00
|
|
|
Name: perl-GD
|
|
|
|
BuildRequires: freetype2-devel gd-devel libjpeg-devel libpng-devel xorg-x11-devel
|
2008-06-23 22:48:32 +00:00
|
|
|
Version: 2.39
|
2007-01-15 23:30:39 +00:00
|
|
|
Release: 1
|
|
|
|
Provides: GD
|
|
|
|
Requires: perl = %{perl_version}
|
2008-06-23 22:48:32 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:30:39 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2008-06-23 22:48:32 +00:00
|
|
|
License: X11/MIT
|
|
|
|
Url: http://cpan.org/modules/by-module/GD/
|
2007-01-15 23:30:39 +00:00
|
|
|
Summary: Interface to Thomas Boutell's gd library
|
|
|
|
Source: GD-%{version}.tar.bz2
|
|
|
|
Source1: test.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is an autoloadable interface module for libgd, a popular library
|
|
|
|
for creating and manipulating PNG files. With this library you can
|
|
|
|
create PNG images on the fly or modify existing files.
|
|
|
|
|
|
|
|
This version of GD no longer supports GIF output because of threats
|
|
|
|
from the legal department at Unisys. Source code that calls
|
|
|
|
$image->gif will have to be changed to call either $image->jpg or
|
|
|
|
$image->png to output in JPEG or PNG formats. The last version of GD
|
|
|
|
that supported GIF output was version 1.19.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Lincoln Stein <lstein@w3.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n GD-%{version} -a1
|
|
|
|
|
|
|
|
%build
|
|
|
|
# replace /usr/local/perl with /usr/bin/perl
|
|
|
|
for ii in `grep -rl "/usr/local/bin/perl" *` ; do
|
|
|
|
sed "s@/usr/local/bin/perl@/usr/bin/perl@" $ii > $ii.tmp
|
|
|
|
mv $ii.tmp $ii
|
|
|
|
done
|
|
|
|
perl -pi -e 's#X11R6/lib#X11R6/%{_lib}#g;' Makefile.PL
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
make
|
|
|
|
make html
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc ChangeLog GD.html README* demos
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
/usr/bin/bdf2gdfont.pl
|
|
|
|
%{perl_vendorarch}/auto/GD
|
|
|
|
%{perl_vendorarch}/GD
|
|
|
|
%{perl_vendorarch}/*.pl
|
|
|
|
%{perl_vendorarch}/*.pm
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2008-06-23 22:48:32 +00:00
|
|
|
%changelog
|
|
|
|
* Thu Jun 19 2008 anicka@suse.cz
|
|
|
|
- update to 2.39
|
|
|
|
* Makefile.PL will refuse to run if the proper version of
|
|
|
|
libgd is unavailable.
|
|
|
|
* Fixed bizarre warning about
|
|
|
|
/usr/include/gd.h != /usr/include/gd.h.
|
|
|
|
* GD/Image.pm did not bring in croak() properly, meaning that
|
|
|
|
incorrect error messages are printed out when any of the
|
|
|
|
newFromXXX() calls are made.
|
|
|
|
* Instructions on using gdAntiAliased with palette images.
|
|
|
|
* Some instructions on installation for Windows users.
|
|
|
|
* Thu Sep 14 2006 anicka@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 2.35
|
|
|
|
* Doesn't push libpng onto @LIBS unless png support is
|
|
|
|
requested.
|
|
|
|
* Supports Storable's freeze/thaw via a custom serializer.
|
|
|
|
* Remove "scale redefined" message during compilation of
|
|
|
|
Polyline.
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Jul 13 2006 anicka@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 2.34
|
|
|
|
* many bugfixes since 2.30 added
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Jan 03 2006 anicka@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 2.30
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Sep 29 2005 dmueller@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- add norootforbuild
|
2008-06-23 22:48:32 +00:00
|
|
|
* Fri Jul 29 2005 mjancar@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 2.25
|
2008-06-23 22:48:32 +00:00
|
|
|
* Sat Jan 22 2005 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 2.19, regenerate test pictures
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Aug 24 2004 mjancar@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- fix build with updated libpng
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Aug 19 2004 mjancar@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 2.16
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Feb 26 2004 mjancar@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 2.12
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Jan 20 2004 meissner@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- regenerate test10.png so the testcases work.
|
2008-06-23 22:48:32 +00:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- require the perl version we build with
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Jul 24 2003 mjancar@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 2.07
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Jul 15 2003 mjancar@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- adapt to perl-5.8.1
|
|
|
|
- use %%perl_process_packlist
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue May 20 2003 mjancar@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- remove unpackaged files
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Apr 29 2003 mjancar@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to version 2.06
|
|
|
|
- used $RPM_OPT_FLAGS
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Dec 18 2002 prehak@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- updated to version 2.05
|
2008-06-23 22:48:32 +00:00
|
|
|
* Sat Jul 27 2002 adrian@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- fix neededforbuild
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Jul 10 2002 prehak@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- updated to version 1.40
|
|
|
|
- fixed some bugs in specfile
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Jul 02 2002 mls@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- remove race in .packlist generation
|
2008-06-23 22:48:32 +00:00
|
|
|
* Fri May 03 2002 meissner@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- %%_lib fixes.
|
2008-06-23 22:48:32 +00:00
|
|
|
* Fri Feb 01 2002 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Jan 30 2002 rvasice@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to version 1.38
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Sep 04 2001 rvasice@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- fix Group tag to Development/Libraries/Perl
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Aug 22 2001 rvasice@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to version 1.33
|
|
|
|
- spec file cleanup
|
2008-06-23 22:48:32 +00:00
|
|
|
* Sun Aug 12 2001 kukuk@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- Fix path to perl interpreter
|
2008-06-23 22:48:32 +00:00
|
|
|
* Sat Apr 28 2001 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- removed Requires and Obsoletes: gd (we have a package of that name)
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Mar 22 2001 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- use freetype2 with updated gd
|
|
|
|
- update to 1.32
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Nov 16 2000 pblaha@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- fix problem with #include <gd.h>
|
|
|
|
- and now requires gd
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Nov 15 2000 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- fixed neededforbuild gdlib -> gd gd-devel
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Nov 08 2000 pblaha@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- rename to perl-GD
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Oct 04 2000 pblaha@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- updated to new version 1.30
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Aug 23 2000 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- fixed perl path
|
2008-06-23 22:48:32 +00:00
|
|
|
* Mon Jul 17 2000 nadvornik@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- fixed neededforbuild
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Jul 12 2000 bubnikv@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- substitued /usr/local/bin/perl by /usr/bin/perl in some scripts
|
2008-06-23 22:48:32 +00:00
|
|
|
* Fri Jun 02 2000 nadvornik@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- fixed /var/adm/perl-modules/gd
|
2008-06-23 22:48:32 +00:00
|
|
|
* Fri May 26 2000 bubnikv@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- sorted
|
2008-06-23 22:48:32 +00:00
|
|
|
* Fri May 12 2000 nadvornik@suse.cz
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 1.27
|
|
|
|
- added BuildRoot
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Jan 20 2000 aj@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- /usr/man -> /usr/share/man
|
2008-06-23 22:48:32 +00:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2008-06-23 22:48:32 +00:00
|
|
|
* Sun Jul 11 1999 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- fixed perl-path
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Jun 15 1999 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- update to 1.19
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Mar 17 1999 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- remove .orig with -f
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Mar 04 1999 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- filelist: use wildcard for arch in perl-path
|
2008-06-23 22:48:32 +00:00
|
|
|
* Wed Nov 18 1998 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- adjust paths for perl 5.00502
|
2008-06-23 22:48:32 +00:00
|
|
|
* Thu Sep 24 1998 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- respect perl-versions in spec-file-list
|
2008-06-23 22:48:32 +00:00
|
|
|
* Fri Aug 21 1998 ro@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- remove .origs in demos-dir
|
2008-06-23 22:48:32 +00:00
|
|
|
* Sun Jul 26 1998 bs@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- fixed pathes in perl scripts.
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Feb 10 1998 bs@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
- fixed Check for man pages
|
2008-06-23 22:48:32 +00:00
|
|
|
* Tue Jan 13 1998 bb@suse.de
|
2007-01-15 23:30:39 +00:00
|
|
|
THE LATEST VERSION IS 1.15
|
|
|
|
WHAT'S NEW IN 1.15
|
2008-06-23 22:48:32 +00:00
|
|
|
- Patches from Ulrich Pfeifer to allow to compile
|
2007-01-15 23:30:39 +00:00
|
|
|
correctly with FastCGI
|
2008-06-23 22:48:32 +00:00
|
|
|
- Patches from Douglas Wegscheid to avoid multiple defined
|
2007-01-15 23:30:39 +00:00
|
|
|
symbol problems under NetBSD
|
2008-06-23 22:48:32 +00:00
|
|
|
- Patches from Weinfriend Koenig to fix problems in filled polygons,
|
2007-01-15 23:30:39 +00:00
|
|
|
plus new routines for scaling, translating and rotating polygons.
|