forked from pool/perl-GD
199 lines
6.0 KiB
RPMSpec
199 lines
6.0 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-GD (Version 2.35)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# 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
|
||
|
|
||
|
Name: perl-GD
|
||
|
BuildRequires: freetype2-devel gd-devel libjpeg-devel libpng-devel xorg-x11-devel
|
||
|
Version: 2.35
|
||
|
Release: 1
|
||
|
Provides: GD
|
||
|
Requires: perl = %{perl_version}
|
||
|
Autoreqprov: on
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: X11/MIT, Other License(s), see package
|
||
|
URL: http://cpan.org/modules/by-module/GD/
|
||
|
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}
|
||
|
|
||
|
%changelog -n perl-GD
|
||
|
* Thu Sep 14 2006 - anicka@suse.cz
|
||
|
- 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.
|
||
|
* Thu Jul 13 2006 - anicka@suse.cz
|
||
|
- update to 2.34
|
||
|
* many bugfixes since 2.30 added
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Tue Jan 03 2006 - anicka@suse.cz
|
||
|
- update to 2.30
|
||
|
* Wed Sep 28 2005 - dmueller@suse.de
|
||
|
- add norootforbuild
|
||
|
* Fri Jul 29 2005 - mjancar@suse.cz
|
||
|
- update to 2.25
|
||
|
* Sat Jan 22 2005 - ro@suse.de
|
||
|
- update to 2.19, regenerate test pictures
|
||
|
* Tue Aug 24 2004 - mjancar@suse.cz
|
||
|
- fix build with updated libpng
|
||
|
* Thu Aug 19 2004 - mjancar@suse.cz
|
||
|
- update to 2.16
|
||
|
* Thu Feb 26 2004 - mjancar@suse.cz
|
||
|
- update to 2.12
|
||
|
* Tue Jan 20 2004 - meissner@suse.de
|
||
|
- regenerate test10.png so the testcases work.
|
||
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
||
|
- require the perl version we build with
|
||
|
* Thu Jul 24 2003 - mjancar@suse.cz
|
||
|
- update to 2.07
|
||
|
* Tue Jul 15 2003 - mjancar@suse.cz
|
||
|
- adapt to perl-5.8.1
|
||
|
- use %%perl_process_packlist
|
||
|
* Tue May 20 2003 - mjancar@suse.cz
|
||
|
- remove unpackaged files
|
||
|
* Tue Apr 29 2003 - mjancar@suse.cz
|
||
|
- update to version 2.06
|
||
|
- used $RPM_OPT_FLAGS
|
||
|
* Wed Dec 18 2002 - prehak@suse.cz
|
||
|
- updated to version 2.05
|
||
|
* Fri Jul 26 2002 - adrian@suse.de
|
||
|
- fix neededforbuild
|
||
|
* Wed Jul 10 2002 - prehak@suse.cz
|
||
|
- updated to version 1.40
|
||
|
- fixed some bugs in specfile
|
||
|
* Tue Jul 02 2002 - mls@suse.de
|
||
|
- remove race in .packlist generation
|
||
|
* Fri May 03 2002 - meissner@suse.de
|
||
|
- %%_lib fixes.
|
||
|
* Fri Feb 01 2002 - ro@suse.de
|
||
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||
|
* Wed Jan 30 2002 - rvasice@suse.cz
|
||
|
- update to version 1.38
|
||
|
* Tue Sep 04 2001 - rvasice@suse.cz
|
||
|
- fix Group tag to Development/Libraries/Perl
|
||
|
* Wed Aug 22 2001 - rvasice@suse.cz
|
||
|
- update to version 1.33
|
||
|
- spec file cleanup
|
||
|
* Sun Aug 12 2001 - kukuk@suse.de
|
||
|
- Fix path to perl interpreter
|
||
|
* Sat Apr 28 2001 - ro@suse.de
|
||
|
- removed Requires and Obsoletes: gd (we have a package of that name)
|
||
|
* Thu Mar 22 2001 - ro@suse.de
|
||
|
- use freetype2 with updated gd
|
||
|
- update to 1.32
|
||
|
* Thu Nov 16 2000 - pblaha@suse.cz
|
||
|
- fix problem with #include <gd.h>
|
||
|
- and now requires gd
|
||
|
* Wed Nov 15 2000 - ro@suse.de
|
||
|
- fixed neededforbuild gdlib -> gd gd-devel
|
||
|
* Wed Nov 08 2000 - pblaha@suse.cz
|
||
|
- rename to perl-GD
|
||
|
* Wed Oct 04 2000 - pblaha@suse.cz
|
||
|
- updated to new version 1.30
|
||
|
* Wed Aug 23 2000 - ro@suse.de
|
||
|
- fixed perl path
|
||
|
* Mon Jul 17 2000 - nadvornik@suse.cz
|
||
|
- fixed neededforbuild
|
||
|
* Wed Jul 12 2000 - bubnikv@suse.cz
|
||
|
- substitued /usr/local/bin/perl by /usr/bin/perl in some scripts
|
||
|
* Fri Jun 02 2000 - nadvornik@suse.cz
|
||
|
- fixed /var/adm/perl-modules/gd
|
||
|
* Fri May 26 2000 - bubnikv@suse.cz
|
||
|
- sorted
|
||
|
* Fri May 12 2000 - nadvornik@suse.cz
|
||
|
- update to 1.27
|
||
|
- added BuildRoot
|
||
|
* Thu Jan 20 2000 - aj@suse.de
|
||
|
- /usr/man -> /usr/share/man
|
||
|
* Mon Sep 13 1999 - bs@suse.de
|
||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||
|
* Sun Jul 11 1999 - ro@suse.de
|
||
|
- fixed perl-path
|
||
|
* Tue Jun 15 1999 - ro@suse.de
|
||
|
- update to 1.19
|
||
|
* Wed Mar 17 1999 - ro@suse.de
|
||
|
- remove .orig with -f
|
||
|
* Thu Mar 04 1999 - ro@suse.de
|
||
|
- filelist: use wildcard for arch in perl-path
|
||
|
* Wed Nov 18 1998 - ro@suse.de
|
||
|
- adjust paths for perl 5.00502
|
||
|
* Thu Sep 24 1998 - ro@suse.de
|
||
|
- respect perl-versions in spec-file-list
|
||
|
* Fri Aug 21 1998 - ro@suse.de
|
||
|
- remove .origs in demos-dir
|
||
|
* Sun Jul 26 1998 - bs@suse.de
|
||
|
- fixed pathes in perl scripts.
|
||
|
* Tue Feb 10 1998 - bs@suse.de
|
||
|
- fixed Check for man pages
|
||
|
* Tue Jan 13 1998 - bb@suse.de
|
||
|
THE LATEST VERSION IS 1.15
|
||
|
WHAT'S NEW IN 1.15
|
||
|
- Patches from Ulrich Pfeifer to allow to compile
|
||
|
correctly with FastCGI
|
||
|
- Patches from Douglas Wegscheid to avoid multiple defined
|
||
|
symbol problems under NetBSD
|
||
|
- Patches from Weinfriend Koenig to fix problems in filled polygons,
|
||
|
plus new routines for scaling, translating and rotating polygons.
|