-diff -Nru gd-1.8.4/Makefile.am gd-1.8.4.new/Makefile.am
---- gd-1.8.4/Makefile.am Thu Jan 1 01:00:00 1970
-+++ gd-1.8.4.new/Makefile.am Fri Feb 2 00:52:03 2001
-@@ -0,0 +1,93 @@
+diff -Nru gd-2.0.1/Makefile.am gd-2.0.1.new/Makefile.am
+--- gd-2.0.1/Makefile.am Thu Jan 1 01:00:00 1970
++++ gd-2.0.1.new/Makefile.am Fri Feb 2 00:52:03 2001
+@@ -0,0 +1,96 @@
+## Process this file with automake to produce Makefile.in
+
+AUTOMAKE_OPTIONS = 1.4
+
-+INCLUDES = -I$(includedir)/freetype
++INCLUDES = -I$(includedir)/freetype2
+
+lib_LTLIBRARIES = libgd.la
+
+ gdfontmb.c \
+ gdfontl.c \
+ gdfontg.c \
-+ gdft.c \
+ gdtables.c \
-+ gdttf.c \
++ gdft.c \
+ gdcache.c \
+ gdkanji.c \
+ wbmp.c \
+ gd_wbmp.c \
++ gdhelpers.c \
++ gd_topal.c \
+ gd.h \
+ gdfontt.h \
+ gdfonts.h \
+ gdfontmb.h \
+ gdfontl.h \
+ gdfontg.h \
-+ gdhelpers.c
++ gdhelpers.h
+
+include_HEADERS = \
+ gd.h \
+ gdfontl.h \
+ gdfontmb.h \
+ gdfonts.h \
-+ gdfontt.h \
-+ gdhelpers.h
++ gdfontt.h
+
-+libgd_la_LDFLAGS = -version-info 1:8:0
++libgd_la_LDFLAGS = -version-info 2:0:0
+
+bin_PROGRAMS = pngtogd pngtogd2 gdtopng gd2topng gd2copypal gdparttopng webpng
+
-+noinst_PROGRAMS = gdtest gddemo gd2time gdtestttf
++noinst_PROGRAMS = gdtest gddemo gd2time gdtestft testac
+
+gdtest_SOURCES = gdtest.c gd.h
+gdtest_LDADD = libgd.la
+
-+gdtestttf_SOURCES = gdtestttf.c gd.h
-+gdtestttf_LDADD = libgd.la
++gdtestft_SOURCES = gdtestft.c gd.h
++gdtestft_LDADD = libgd.la
+
+gddemo_SOURCES = gddemo.c gd.h gdfonts.h gdfontg.h
+gddemo_LDADD = libgd.la
+
++testac_SOURCES = testac.c gd.h
++testac_LDADD = libgd.la
++
+pngtogd_SOURCES = pngtogd.c gd.h
+pngtogd_LDADD = libgd.la
+
+EXTRA_DIST = demoin.png index.html test/*
+
+CLEANFILES = demoout.png
-diff -Nru gd-1.8.4/configure.in gd-1.8.4.new/configure.in
---- gd-1.8.4/configure.in Thu Jan 1 01:00:00 1970
-+++ gd-1.8.4.new/configure.in Fri Feb 2 00:45:23 2001
+diff -Nru gd-2.0.1/configure.in gd-2.0.1.new/configure.in
+--- gd-2.0.1/configure.in Thu Jan 1 01:00:00 1970
++++ gd-2.0.1.new/configure.in Fri Feb 2 00:45:23 2001
@@ -0,0 +1,47 @@
+dnl Process this file with autoconf to produce a configure script
+
+
+AC_CANONICAL_SYSTEM
+
-+AM_INIT_AUTOMAKE(gd, 1.8.3)
++AM_INIT_AUTOMAKE(gd, 2.0.1)
+
+AM_MAINTAINER_MODE
+
+AC_CHECK_LIB(fff, main)
+dnl Replace `main' with a function in -lpng:
+AC_CHECK_LIB(png, main, ,AC_MSG_ERROR(libpng not found.))
-+dnl Replace `main' with a function in -lttf:
-+AC_CHECK_LIB(ttf, main)
++dnl Replace `main' with a function in -lfreetype:
++AC_CHECK_LIB(freetype, main, [CFLAGS="$CFLAGS -DHAVE_LIBFREETYPE"; LIBS="$LIBS -lfreetype"])
+dnl Replace `main' with a function in -lm:
+AC_CHECK_LIB(m, main)
+dnl Replace `main' with a function in -lz:
Summary: Library for PNG, JPEG creation
Summary(pl): Biblioteka do tworzenia grafiki w formacie PNG, JPEG
Name: gd
-Version: 1.8.4
-Release: 6
+Version: 2.0.1
+Release: 1
License: BSD-style
Group: Libraries
Group(de): Libraries
+Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
Source0: ftp://ftp.boutell.com/pub/boutell/gd/%{name}-%{version}.tar.gz
URL: http://www.boutell.com/gd/
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: libtool
BuildRequires: zlib-devel
BuildRequires: libpng-devel
BuildRequires: libjpeg-devel
-BuildRequires: freetype1-devel
+BuildRequires: libtiff-devel
+BuildRequires: freetype-devel >= 2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define shlibver %(echo %{version} | cut -f-2 -d.)