2 # _without_gif - without GIF support (patch from http://www.rhyme.com.au/gd/)
3 # _without_lzw - without LZW compression in GIF creation functions
5 Summary: Library for PNG, JPEG creation
6 Summary(es): Biblioteca para manipulación de imágenes
7 Summary(pl): Biblioteka do tworzenia grafiki w formacie PNG, JPEG
8 Summary(pt_BR): Biblioteca para manipulação de imagens
14 Source0: http://www.boutell.com/gd/http/%{name}-%{version}.tar.gz
15 # Source0-md5: de82080fbac781cfcd512c3c299066d7
16 Patch0: http://downloads.rhyme.com.au/gd/patch_gd2.0.12_gif_20030401.gz
17 Patch1: %{name}-gif-am.patch
18 Patch2: %{name}-fontpath.patch
19 Patch3: %{name}-no_ldflags_in_gdlib-config.patch
20 URL: http://www.boutell.com/gd/
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: freetype-devel >= 2.0
24 BuildRequires: libpng-devel
25 BuildRequires: libjpeg-devel
26 BuildRequires: libtiff-devel
27 BuildRequires: libtool >= 1:1.4.3
28 BuildRequires: zlib-devel
29 %{!?_without_gif:Provides: gd(gif) = %{version}}
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 gd is the image manipulating library. It was created to allow graphs,
34 charts and the like to be generated on the fly for use on the World
35 wide Web, but is useful for any application in which custom images are
36 useful. It is not a paint program; it is a library. gd library creates
37 PNG, JPEG and WBMP images. This is a good thing. PNG is a more compact
38 format, and full compression is available. JPEG works well with
39 photographic images, and is still more compatible with the major Web
40 browsers than even PNG is. WBMP is intended for wireless devices (not
41 regular web browsers).
42 %{!?_without_gif:This version has additional GIF images support.}
45 Esta es la biblioteca gd para el manejo de imágenes. Fue creada para
46 uso en la Web, creando gráficos automáticamente. Pero es útil para
47 cualquier programa que necesite de imágenes personalizados. No es un
48 programa de dibujo; es una biblioteca.
51 gd to biblioteka do obróbki obrazów. Zosta³a stworzona, aby umo¿liwiæ
52 dynamiczne generowanie wykresów i podobnych rzeczy na potrzeby WWW,
53 ale mo¿e byæ przydatna tak¿e dla ka¿dej aplikacji tworz±cej w³asne
54 obrazy. Biblioteka ta pozwala na tworzenie plików graficznych w
55 formatach PNG, JPEG i WBMP. PNG jest zwartym formatem z bezstratn±
56 kompresj±. JPEG dobrze nadaje siê do obrazów fotograficznych i jest
57 obs³ugiwany nawet przez wiêcej przegl±darek WWW ni¿ PNG. WBMP jest
58 przeznaczony dla urz±dzeñ bezprzewodowych (a nie zwyk³ych przegl±darek
60 %{!?_without_gif:Ta wersja ma dodatkowo obs³ugê formatu GIF.}
63 Esta é a biblioteca gd para manipulação de imagens. Ela foi criada
64 para uso na Web, gerando gráficos automaticamente. Mas é útil para
65 qualquer programa que precise de imagens personalizados. Não é um
66 programa de desenho; é uma biblioteca.
69 Summary: Development part of the GD library
70 Summary(es): Archivos de inclusión y bibliotecas para desarrollar programas usando gd
71 Summary(pl): Czê¶æ biblioteki GD przeznaczona dla developerów
72 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolver programas usando gd
73 Group: Development/Libraries
74 Requires: %{name} = %{version}
75 Requires: freetype-devel >= 2.0
76 Requires: libjpeg-devel
77 Requires: libpng-devel
79 %{!?_without_gif:Provides: gd-devel(gif) = %{version}}
82 This package contains the files needed for development of programs
85 %description devel -l es
86 Este paquete contiene los archivos de inclusión y las bibliotecas
87 necesarias para desarrollar programas usando gd.
89 %description devel -l pl
90 Pakiet ten zawiera pliki potrzebne do rozwoju programów korzystaj±cych
93 %description devel -l pt_BR
94 Este pacote contém os arquivos de inclusão e as bibliotecas
95 necessárias para desenvolver programas usando gd.
98 Summary: Static GD library
99 Summary(pl): Statyczna biblioteka GD
100 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com libgd
101 Group: Development/Libraries
102 Requires: %{name}-devel = %{version}
103 %{!?_without_gif:Provides: gd-static(gif) = %{version}}
106 This package contains static gd library.
108 %description static -l pl
109 Ten pakiet zawiera statyczn± bibliotekê gd.
111 %description static -l pt_BR
112 Este pacote contem bibliotecas estáticas para desenvolvimento com
116 Summary: Utility programs that use libgd
117 Summary(es): Programas utilitarios libgd
118 Summary(pl): Narzêdzia u¿ywaj±ce libgd
119 Summary(pt_BR): Programas utilitários libgd
120 Group: Applications/Graphics
121 Requires: %{name} = %{version}
122 %{!?_without_gif:Provides: gd-progs(gif) = %{version}}
125 These are utility programs supplied with gd, the image manipulation
126 library. The libgd-progs package contains a group of scripts for
127 manipulating the graphics files in formats which are supported by the
130 %description progs -l pl
131 Ten pakiet zawiera programy u¿ywaj±ce biblioteki gd, s³u¿±ce do
132 obróbki plików graficznych w formatach obs³ugiwanych przez libgd.
134 %description progs -l pt_BR
135 Este pacote inclui vários utilitários para manipulação de arquivos gd
136 para uso pelos programas que usam a libgd.
140 %if 0%{!?_without_gif:1}
152 %{!?_without_lzw:CPPFLAGS="-DLZW_LICENCED"}
157 rm -rf $RPM_BUILD_ROOT
160 DESTDIR=$RPM_BUILD_ROOT
163 rm -rf $RPM_BUILD_ROOT
165 %post -p /sbin/ldconfig
166 %postun -p /sbin/ldconfig
169 %defattr(644,root,root,755)
170 %doc COPYING index.html
171 %attr(755,root,root) %{_libdir}/*.so.*.*
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_bindir}/gdlib-config
176 %attr(755,root,root) %{_libdir}/*.so
181 %defattr(644,root,root,755)
185 %defattr(644,root,root,755)
186 %attr(755,root,root) %{_bindir}/[!g]*
187 %{!?_without_gif:%attr(755,root,root) %{_bindir}/gif*}
188 %attr(755,root,root) %{_bindir}/gd[!l]*