1 Summary: Library for PNG, JPEG creation
2 Summary(es): Biblioteca para manipulación de imágenes
3 Summary(pl): Biblioteka do tworzenia grafiki w formacie PNG, JPEG
4 Summary(pt_BR): Biblioteca para manipulação de imagens
10 Source0: http://www.boutell.com/ftp-materials/boutell/gd/%{name}-%{version}.tar.gz
11 Patch0: %{name}-ac_am.patch
12 URL: http://www.boutell.com/gd/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: zlib-devel
17 BuildRequires: libpng-devel
18 BuildRequires: libjpeg-devel
19 BuildRequires: libtiff-devel
20 BuildRequires: freetype-devel >= 2.0
21 BuildRequires: pkgconfig
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define shlibver %(echo %{version} | cut -f-2 -d.)
27 gd library creates PNG, JPEG and WBMP images, not GIF images. This is
28 a good thing. PNG is a more compact format, and full compression is
29 available. JPEG works well with photographic images, and is still more
30 compatible with the major Web browsers than even PNG is. WBMP is
31 intended for wireless devices (not regular web browsers). Existing
32 code will need modification to call or gdImageJpeg instead of
35 This library allows you to easily create and manipulate PNG, JPEG
36 image files from your C programs.
39 Esta es la biblioteca gd para el manejo de imágenes. Fue creada para
40 uso en la Web, creando gráficos automáticamente. Pero es útil para
41 cualquier programa que necesite de imágenes personalizados. No es un
42 programa de dibujo; es una biblioteca.
45 Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami
46 graficznymi w formacie PNG, JPEG i WBMP, ale nie GIF.
49 Esta é a biblioteca gd para manipulação de imagens. Ela foi criada
50 para uso na Web, gerando gráficos automaticamente. Mas é útil para
51 qualquer programa que precise de imagens personalizados. Não é um
52 programa de desenho; é uma biblioteca.
55 Summary: Development part of the GD library
56 Summary(es): Archivos de inclusión y bibliotecas para desarrollar programas usando gd
57 Summary(pl): Czê¶æ biblioteki GD przeznaczona dla developerów
58 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolver programas usando gd
59 Group: Development/Libraries
60 Requires: libpng-devel
62 Requires: libjpeg-devel
63 Requires: freetype-devel >= 2.0
64 Requires: %{name} = %{version}
67 This package contains the files needed for development of programs
70 %description devel -l es
71 Este paquete contiene los archivos de inclusión y las bibliotecas
72 necesarias para desarrollar programas usando gd.
74 %description devel -l pl
75 Pakiet ten zawiera pliki potrzebne do rozwoju programów korzystaj±cych
78 %description devel -l pt_BR
79 Este pacote contém os arquivos de inclusão e as bibliotecas
80 necessárias para desenvolver programas usando gd.
83 Summary: Static GD library
84 Summary(es): Static libraries for libgd development
85 Summary(pl): Statyczna biblioteka GD
86 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com libgd
87 Group: Development/Libraries
88 Requires: %{name}-devel = %{version}
91 This package contains static GD library. This is the gd image
92 manipulating library. It was created to allow graphs, charts and the
93 like to be generated on the fly for use on the World wide Web, but is
94 useful for any application in which custom images are useful. It is
95 not a paint program; it is a library.
97 This package contains static libraries for libgd development.
99 %description static -l pl
100 Pakiet ten zawiera statyczn± bibliotekê GD.
102 %description static -l pt_BR
103 Este pacote contem bibliotecas estáticas para desenvolvimento com
107 Summary: Utility programs that use libgd
108 Summary(es): Programas utilitarios libgd
109 Summary(pl): Narzêdzia które u¿ywaj± libgd
110 Summary(pt_BR): Programas utilitários libgd
111 Group: Applications/Graphics
112 Requires: %{name} = %{version}
115 These are utility programs supplied with gd, the .jpeg graphics
116 library. The libgd-progs package contains a group of scripts for
117 manipulating the graphics files in formats which are supported by the
120 %description progs -l pl
121 Pakiet ten zawiera dodatkowe programy uzywaj±ce libgd.
123 %description progs -l pt_BR
124 Este pacote inclui vários utilitários para manipulação de arquivos gd
125 para uso pelos programas que usam a libgd.
136 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
137 CPPFLAGS="`pkg-config libpng12 --cflags`"
139 %configure CPPFLAGS="$CPPFLAGS"
143 rm -rf $RPM_BUILD_ROOT
146 DESTDIR=$RPM_BUILD_ROOT
148 gzip -9nf readme.txt index.html
151 rm -rf $RPM_BUILD_ROOT
153 %post -p /sbin/ldconfig
154 %postun -p /sbin/ldconfig
157 %defattr(644,root,root,755)
159 %attr(755,root,root) %{_libdir}/*.so.*.*
162 %defattr(644,root,root,755)
164 %attr(755,root,root) %{_libdir}/*.so
165 %attr(755,root,root) %{_libdir}/*.la
169 %defattr(644,root,root,755)
173 %defattr(644,root,root,755)
174 %attr(755,root,root) %{_bindir}/*