-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Really Thanks Oden to inform us.
Le Samedi 20 Juillet 2002 15:21, Oden Eriksson a �crit :
> Hi,
>
> I have built gd from Cooker with the GIF patch (adjusted for gd in
> Mandrake) from the Arvin archive, and thought it would be approriate to
> have PLF adopt it, not?.
I choose, It will done in 5 minutes...
> Chears.
To dear mandrake's packager:
To be faster to rebuild, I make new spec file, it permit to rebuild it with
gif support by rebuilding with "rpm --with plf". Do you agree to apply this
patch. It change the %{release} from mdk to plf.
If not, I will make two different RPMs.
Thx a lot.
- --
Linux pour Mac !? Enfin le moyen de transformer
une pomme en v�ritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj07VuoACgkQk29cDOWzfVBADgCeNnemuSD5wHnvLgV8EAzSv97i
KF4An0TRjdHf7GzrHZ4G6uSsiuC9njfr
=fpgg
-----END PGP SIGNATURE-----
--- gd.spec 2002-06-27 18:11:44.000000000 +0200
+++ gd-gif.spec 2002-07-22 02:25:05.000000000 +0200
@@ -1,7 +1,18 @@
+%define build_plf 0
+%{?_with_plf: %{expand: %%define build_plf 1}}
+
+%define rel 7
+
%define name gd
%define version 1.8.4
%define prefix %{_prefix}
-%define release 6mdk
+
+%if %build_plf
+%define release %{rel}plf
+%else
+%define release %{rel}mdk
+%endif
+
%define lib_name_orig libgd
%define lib_major 1
%define lib_name %{lib_name_orig}%{lib_major}
@@ -46,6 +57,7 @@
Source: http://www.boutell.com/gd/gd-%{version}.tar.bz2
Patch: gd-1.8.4-shared.patch.bz2
Patch1: gd-1.8.4-fixes.patch.bz2
+Patch2: gd-1.8.4-gif.patch.bz2
License: BSD-style
Group: System/Libraries
Provides: %{name} = %{version}-%{release}
@@ -133,7 +145,9 @@
%setup -q
%patch -p0
%patch1 -p1 -b .fixes
-
+%if %build_plf
+%patch2 -p1
+%endif
%build
%make CFLAGS="$RPM_OPT_FLAGS" LIBNAME="%{_lib}"
@@ -173,6 +187,11 @@
%{_sbindir}/*
%changelog
+* Mon Jul 22 2002 Olivier Thauvin <[EMAIL PROTECTED]> 1.8.4-7mdk
+- from Oden Eriksson <[EMAIL PROTECTED]> (thx to purpose for plf)
+ - added P2 (gif support from the Arvin stuff)
+- plfizication with patch2
+
* Thu Jun 27 2002 Gwenole Beauchesne <[EMAIL PROTECTED]> 1.8.4-6mdk
- Patch1: Nuke references to /usr/local dir for include and library
search paths. Put defines in a separate variable.