|
|
79f43fb |
Summary: A graphics library for quick creation of PNG or JPEG images
|
|
|
79f43fb |
Name: gd
|
|
|
79f43fb |
Version: 2.0.33
|
|
|
93fdfb5 |
Release: 3
|
|
|
79f43fb |
Group: System Environment/Libraries
|
|
|
79f43fb |
License: BSD-style
|
|
|
79f43fb |
URL: http://www.boutell.com/gd/
|
|
|
79f43fb |
Source0: http://www.boutell.com/gd/http/%{name}-%{version}.tar.gz
|
|
|
93fdfb5 |
Patch0: gd-2.0.33-freetype.patch
|
|
|
79f43fb |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
79f43fb |
BuildRequires: freetype-devel, fontconfig-devel, xorg-x11-devel
|
|
|
79f43fb |
BuildRequires: libjpeg-devel, libpng-devel, zlib-devel
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%description
|
|
cvsdist |
367740b |
The gd graphics library allows your code to quickly draw images
|
|
cvsdist |
367740b |
complete with lines, arcs, text, multiple colors, cut and paste from
|
|
cvsdist |
367740b |
other images, and flood fills, and to write out the result as a PNG or
|
|
cvsdist |
367740b |
JPEG file. This is particularly useful in Web applications, where PNG
|
|
cvsdist |
367740b |
and JPEG are two of the formats accepted for inline images by most
|
|
cvsdist |
367740b |
browsers. Note that gd is not a paint program.
|
|
cvsdist |
da0413e |
|
|
|
79f43fb |
|
|
cvsdist |
da0413e |
%package progs
|
|
|
79f43fb |
Requires: gd = %{version}-%{release}
|
|
|
79f43fb |
Summary: Utility programs that use libgd
|
|
|
79f43fb |
Group: Applications/Multimedia
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%description progs
|
|
cvsdist |
367740b |
The gd-progs package includes utility programs supplied with gd, a
|
|
cvsdist |
367740b |
graphics library for creating PNG and JPEG images. If you install
|
|
cvsdist |
367740b |
these, you must also install gd.
|
|
cvsdist |
da0413e |
|
|
|
79f43fb |
|
|
cvsdist |
da0413e |
%package devel
|
|
|
79f43fb |
Summary: The development libraries and header files for gd
|
|
|
79f43fb |
Group: Development/Libraries
|
|
|
ab7019c |
Requires: gd = %{version}-%{release}
|
|
|
ab7019c |
Requires: xorg-x11-devel, libjpeg-devel, freetype-devel, libpng-devel, zlib-devel
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%description devel
|
|
cvsdist |
367740b |
The gd-devel package contains the development libraries and header
|
|
cvsdist |
367740b |
files for gd, a graphics library for creating PNG and JPEG graphics.
|
|
cvsdist |
da0413e |
|
|
|
79f43fb |
|
|
cvsdist |
da0413e |
%prep
|
|
cvsdist |
da0413e |
%setup -q
|
|
|
38fd7fb |
%patch0 -p1 -b .freetype
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%build
|
|
cvsdist |
c2cf89a |
%configure --disable-rpath
|
|
|
79f43fb |
make %{?_smp_mflags}
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%install
|
|
|
79f43fb |
rm -rf $RPM_BUILD_ROOT
|
|
|
79f43fb |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
79f43fb |
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgd.la
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%clean
|
|
|
79f43fb |
rm -rf $RPM_BUILD_ROOT
|
|
|
79f43fb |
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%post -p /sbin/ldconfig
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%postun -p /sbin/ldconfig
|
|
cvsdist |
da0413e |
|
|
|
79f43fb |
|
|
cvsdist |
da0413e |
%files
|
|
|
79f43fb |
%defattr(-,root,root,-)
|
|
|
79f43fb |
%doc COPYING README-JPEG.TXT index.html entities.html
|
|
cvsdist |
367740b |
%{_libdir}/*.so.*
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%files progs
|
|
|
79f43fb |
%defattr(-,root,root,-)
|
|
|
79f43fb |
%{_bindir}/*
|
|
|
79f43fb |
%exclude %{_bindir}/gdlib-config
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
%files devel
|
|
|
79f43fb |
%defattr(-,root,root,-)
|
|
|
e469cde |
%{_bindir}/gdlib-config
|
|
cvsdist |
da0413e |
%{_includedir}/*
|
|
cvsdist |
da0413e |
%{_libdir}/*.so
|
|
cvsdist |
da0413e |
%{_libdir}/*.a
|
|
cvsdist |
da0413e |
|
|
|
79f43fb |
|
|
cvsdist |
da0413e |
%changelog
|
|
|
93fdfb5 |
* Wed Sep 07 2005 Phil Knirsch <pknirsch@redhat.com> 2.0.33-3
|
|
|
93fdfb5 |
- Fixed broken freetype-config --libs flags in configure (#165875)
|
|
|
93fdfb5 |
|
|
|
ab7019c |
* Sun Apr 17 2005 Warren Togami <wtogami@redhat.com> 2.0.33-2
|
|
|
ab7019c |
- devel reqs (#155183 thias)
|
|
|
ab7019c |
|
|
|
79f43fb |
* Tue Mar 22 2005 Than Ngo <than@redhat.com> 2.0.33-1
|
|
|
79f43fb |
- 2.0.33 #150717
|
|
|
79f43fb |
- apply the patch from Jose Pedro Oliveira
|
|
|
79f43fb |
- Added the release macro to the subpackages requirements versioning
|
|
|
79f43fb |
- Handled the gdlib-config movement to gd-devel in a differment manner
|
|
|
79f43fb |
- Added fontconfig-devel to the build requirements
|
|
|
79f43fb |
- Added xorg-x11-devel to the build requirements (Xpm)
|
|
|
79f43fb |
- Removed explicit /sbin/ldconfig requirement (gd rpm)
|
|
|
79f43fb |
- Removed explicit perl requirement (gd-progs rpm)
|
|
|
79f43fb |
- Added several missing documentation files (including the license file)
|
|
|
79f43fb |
- Replaced %%makeinstall by make install DESTDIR=...
|
|
|
79f43fb |
|
|
|
e469cde |
* Thu Mar 10 2005 Than Ngo <than@redhat.com> 2.0.32-3
|
|
|
e469cde |
- move gdlib-config in devel
|
|
|
e469cde |
|
|
|
f2c6ea3 |
* Wed Mar 02 2005 Phil Knirsch <pknirsch@redhat.com> 2.0.32-2
|
|
|
f2c6ea3 |
- bump release and rebuild with gcc 4
|
|
|
f2c6ea3 |
|
|
|
bd85a77 |
* Wed Nov 03 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.32-1
|
|
|
bd85a77 |
- Update to 2.0.32 which includes all the security fixes
|
|
|
bd85a77 |
|
|
|
bdb727b |
* Wed Oct 27 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.28-2
|
|
|
bdb727b |
- Fixed several buffer overflows for gdMalloc() calls
|
|
|
bdb727b |
|
|
cvsdist |
b410d28 |
* Tue Jul 27 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.28-1
|
|
cvsdist |
b410d28 |
- Update to 2.0.28
|
|
cvsdist |
b410d28 |
|
|
cvsdist |
0274ef8 |
* Fri Jul 02 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.27-1
|
|
cvsdist |
0274ef8 |
- Updated to 2.0.27 due to:
|
|
cvsdist |
0274ef8 |
o Potential memory overruns in gdImageFilledPolygon. Thanks to John Ellson.
|
|
|
79f43fb |
o The sign of Y-axis values returned in the bounding box by gdImageStringFT
|
|
|
79f43fb |
was incorrect. Thanks to John Ellson and Riccardo Cohen.
|
|
cvsdist |
0274ef8 |
|
|
cvsdist |
509c261 |
* Wed Jun 30 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.26-1
|
|
cvsdist |
509c261 |
- Update to 2.0.26
|
|
cvsdist |
509c261 |
|
|
cvsdist |
5c356d8 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
5c356d8 |
- rebuilt
|
|
cvsdist |
5c356d8 |
|
|
cvsdist |
c2cf89a |
* Wed Apr 21 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.21-3
|
|
cvsdist |
c2cf89a |
- Disable rpath usage.
|
|
cvsdist |
c2cf89a |
|
|
cvsdist |
5624f85 |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
5624f85 |
- rebuilt
|
|
cvsdist |
5624f85 |
|
|
cvsdist |
5624f85 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
5624f85 |
- rebuilt
|
|
cvsdist |
5624f85 |
|
|
cvsdist |
5624f85 |
* Mon Feb 02 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.21-1
|
|
cvsdist |
5624f85 |
- Updated to 2.0.21
|
|
cvsdist |
5624f85 |
|
|
cvsdist |
e324e32 |
* Tue Aug 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
cvsdist |
e324e32 |
- update to 2.0.15
|
|
cvsdist |
e324e32 |
|
|
cvsdist |
e324e32 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
e324e32 |
- rebuilt
|
|
cvsdist |
e324e32 |
|
|
cvsdist |
e324e32 |
* Tue May 06 2003 Phil Knirsch <pknirsch@redhat.com> 2.0.12-1
|
|
cvsdist |
e324e32 |
- Update to 2.0.12
|
|
cvsdist |
e324e32 |
|
|
cvsdist |
e324e32 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1.8.4-11
|
|
cvsdist |
59b4ca4 |
- rebuilt
|
|
cvsdist |
59b4ca4 |
|
|
cvsdist |
59b4ca4 |
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1.8.4-10
|
|
cvsdist |
59b4ca4 |
- rebuild on all arches
|
|
cvsdist |
59b4ca4 |
|
|
cvsdist |
0c14fa4 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
cvsdist |
0c14fa4 |
- automated rebuild
|
|
cvsdist |
0c14fa4 |
|
|
cvsdist |
42c66a3 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
cvsdist |
42c66a3 |
- automated rebuild
|
|
cvsdist |
42c66a3 |
|
|
cvsdist |
42c66a3 |
* Thu Jan 24 2002 Phil Knirsch <pknirsch@redhat.com>
|
|
cvsdist |
42c66a3 |
- Specfile update to add URL for homepage (#54608)
|
|
cvsdist |
42c66a3 |
|
|
cvsdist |
42c66a3 |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
cvsdist |
42c66a3 |
- automated rebuild
|
|
cvsdist |
42c66a3 |
|
|
cvsdist |
42c66a3 |
* Wed Oct 31 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.8.4-5
|
|
cvsdist |
42c66a3 |
- Rebuild with current libpng
|
|
cvsdist |
42c66a3 |
|
|
cvsdist |
367740b |
* Mon Aug 13 2001 Philipp Knirsch <pknirsch@redhat.de> 1.8.4-4
|
|
cvsdist |
367740b |
- Fixed a wrong double ownership of libgd.so (#51599).
|
|
cvsdist |
367740b |
|
|
cvsdist |
9aa9e02 |
* Fri Jul 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.8.4-3
|
|
cvsdist |
9aa9e02 |
- There's really no reason to link against both freetype 1.x and 2.x,
|
|
cvsdist |
9aa9e02 |
especially when gd is configured to use just freetype 2.x. ;)
|
|
cvsdist |
9aa9e02 |
|
|
cvsdist |
d850c3d |
* Mon Jun 25 2001 Philipp Knirsch <pknirsch@redhat.de>
|
|
cvsdist |
d850c3d |
- Forgot to include the freetype library in the shared library linking. Fixed.
|
|
cvsdist |
d850c3d |
|
|
cvsdist |
d850c3d |
* Thu Jun 21 2001 Philipp Knirsch <pknirsch@redhat.de>
|
|
cvsdist |
d850c3d |
- Update to 1.8.4
|
|
cvsdist |
d850c3d |
|
|
cvsdist |
a46fa6d |
* Tue Dec 19 2000 Philipp Knirsch <pknirsch@redhat.de>
|
|
cvsdist |
a46fa6d |
- Updates the descriptions to get rid of al references to gif
|
|
cvsdist |
a46fa6d |
|
|
cvsdist |
a46fa6d |
* Tue Dec 12 2000 Philipp Knirsch <Philipp.Knirsch@redhat.de>
|
|
cvsdist |
a46fa6d |
- Fixed bug #22001 where during installation the .so.1 and the so.1.8 links
|
|
cvsdist |
a46fa6d |
didn't get installed and therefore updates had problems.
|
|
cvsdist |
a46fa6d |
|
|
cvsdist |
a46fa6d |
* Wed Oct 4 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
cvsdist |
a46fa6d |
- define HAVE_LIBTTF to actually enable ttf support (oops, #18299)
|
|
cvsdist |
a46fa6d |
- remove explicit dependencies on libpng, libjpeg, et. al.
|
|
cvsdist |
a46fa6d |
- add BuildPrereq: freetype-devel
|
|
cvsdist |
a46fa6d |
|
|
cvsdist |
da0413e |
* Wed Aug 2 2000 Matt Wilson <msw@redhat.com>
|
|
cvsdist |
da0413e |
- rebuilt against new libpng
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
cvsdist |
da0413e |
- add %%postun run of ldconfig (#14915)
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
cvsdist |
da0413e |
- automatic rebuild
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
cvsdist |
da0413e |
- update to 1.8.3
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Sat Jun 4 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
cvsdist |
da0413e |
- rebuild in new environment
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Mon May 22 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
cvsdist |
da0413e |
- break out a -progs subpackage
|
|
cvsdist |
da0413e |
- disable freetype support
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Fri May 19 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
cvsdist |
da0413e |
- update to latest version (1.8.2)
|
|
cvsdist |
da0413e |
- disable xpm support
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
cvsdist |
da0413e |
- auto rebuild in the new build environment (release 6)
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
da0413e |
- auto rebuild in the new build environment (release 5)
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
da0413e |
- buiuld for glibc 2.1
|
|
cvsdist |
da0413e |
|
|
cvsdist |
da0413e |
* Fri Sep 11 1998 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
da0413e |
- built for 5.2
|