3 # _without_gnome - build without libgnomecanvaspixbuf (which requires GNOME)
5 Summary: Image loading library used with GNOME
6 Summary(pl): Biblioteka ³aduj±ca obrazki u¿ywana w GNOME
7 Summary(pt_BR): Biblioteca GdkPixBuf para manipulação de imagens
8 Summary(ru): âÉÂÌÉÏÔÅËÁ ÚÁÇÒÕÚËÉ ÉÚÏÂÒÁÖÅÎÉÊ É ÒÅÎÄÅÒÉÎÇÁ ÄÌÑ Gdk
9 Summary(uk): â¦Â̦ÏÔÅËÁ ÚÁ×ÁÎÔÁÖÅÎÎÑ ÚÏÂÒÁÖÅÎØ ÔÁ ÒÅÎÄÅÒÉÎÇÕ ÄÌÑ Gdk
16 Source0: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gdk-pixbuf/%{name}-%{version}.tar.bz2
17 Patch0: %{name}-am.patch
18 Patch1: %{name}-nognome.patch
19 URL: http://www.gnome.org/
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: libtool
23 BuildRequires: gtk+-devel
24 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
25 BuildRequires: libjpeg-devel
26 BuildRequires: libtiff-devel
27 BuildRequires: libpng >= 1.0.8
28 BuildRequires: libungif-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define _prefix /usr/X11R6
32 %define _gtkdocdir %{_defaultdocdir}/gtk-doc/html
35 The GdkPixBuf library provides a number of features:
36 - image loading facilities,
37 - rendering of a GdkPixBuf into various formats: drawables (windows,
38 pixmaps), GdkRGB buffers,
42 Biblioteka GdkPixBuf posiada du¿e mo¿liwo¶ci:
43 - funkcje wspomagaj±ce ³adowanie obrazków,
44 - oddanie GdkPixBuf w ró¿nych formatach, do rysowania (okna, pixmapy)
46 - interfejs pamiêci podrêcznej.
49 A biblioteca GdkPixBuf oferece:
51 - Estrutura GdkPixBuf para representar imagens.
52 - Facilidades para carga de imagens.
53 - Maneira simples de carregar imagens animadas.
54 - Vários formatos: desenháveis (windows, pixmaps), buffers GdkRGB.
57 âÉÂÌÉÏÔÅËÁ GdkPixBuf ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÚÁÇÒÕÖÁÔØ ÉÚÏÂÒÁÖÅÎÉÑ É
58 ÒÅÎÄÅÒÉÔØ ÉÈ × ÒÁÚÎÙÅ ÆÏÒÍÁÔÙ: ÏËÎÁ, ÐÉËÓÍÁÐÙ, ÂÕÆÅÒÙ GdkRGB.
61 â¦Â̦ÏÔÅËÁ GdkPixBuf ÎÁÄÁ¤ ÍÏÖÌÉ×ÏÓÔ¦ ÚÁ×ÁÎÔÁÖÕ×ÁÔÉ ÚÏÂÒÁÖÅÎÎÑ ÔÁ
62 ÒÅÎÄÅÒÉÔÉ §È × Ò¦ÚΦ ÆÏÒÍÁÔÉ: צËÎÁ, ЦËÓÍÁÐÉ, ÂÕÆÅÒÉ GdkRGB.
65 Summary: Include files for the gdk-pixbuf
66 Summary(pl): Pliki nag³ówkowe dla gdk-pixbuf
67 Summary(pt_BR): Bibliotecas e arquivos cabeçalhos para desenvolvimento
68 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ Ó GdkPixBuf
69 Summary(uk): úÁÓÏÂÉ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÒÏÇÒÁÍ Ú GdkPixBuf
70 Group: X11/Development/Libraries
71 Requires: %{name} = %{version}
72 Requires: gtk-doc-common
75 Include files for the gdk-pixbuf.
77 %description devel -l pl
78 Pliki nag³ówkowe dla gdk-pixbuf.
80 %description devel -l pt_BR
81 Bibliotecas e arquivos cabeçalhos para desenvolvimento de aplicativos
82 baseados nessa biblioteca.
84 %description devel -l ru
85 æÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ GdkPixBuf.
87 %description devel -l uk
88 æÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ËÏÒÉÓÔÕÀÔØÓÑ GdkPixBuf.
91 Summary: Static gdk-pixbuf libraries
92 Summary(pl): Biblioteki statyczne gdk-pixbuf
93 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gdk-pixbuf
94 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ Ó GdkPixBuf
95 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ Ú GdkPixBuf
96 Group: X11/Development/Libraries
97 Requires: %{name}-devel = %{version}
100 Static gdk-pixbuf libraries.
102 %description static -l pl
103 Statyczne biblioteki gdk-pixbuf.
105 %description static -l pt_BR
106 Bibliotecas estáticas para desenvolvimento com gdk-pixbuf.
108 %description static -l ru
109 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÓÂÏÒËÉ ÐÒÏÇÒÁÍÍ,
110 ÉÓÐÏÌØÚÕÀÝÉÈ GdkPixBuf.
112 %description static -l uk
113 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ
117 Summary: GNOME part of gdk-pixbuf library
118 Summary(pl): Czê¶æ gdk-pixbuf zwi±zana z GNOME
119 Summary(ru): âÉÂÌÉÏÔÅËÁ ÚÁÇÒÕÚËÉ ÉÚÏÂÒÁÖÅÎÉÊ É ÒÅÎÄÅÒÉÎÇÁ ÄÌÑ Gdk
120 Summary(uk): â¦Â̦ÏÔÅËÁ ÚÁ×ÁÎÔÁÖÅÎÎÑ ÚÏÂÒÁÖÅÎØ ÔÁ ÒÅÎÄÅÒÉÎÇÕ ÄÌÑ Gdk
122 Requires: %{name} = %{version}
125 GNOME part of gdk-pixbuf library.
127 %description gnome -l pl
128 Czê¶æ gdk-pixbuf zwi±zana z GNOME.
130 %description gnome -l ru
131 âÉÂÌÉÏÔÅËÁ GdkPixBuf ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÚÁÇÒÕÖÁÔØ ÉÚÏÂÒÁÖÅÎÉÑ É
132 ÒÅÎÄÅÒÉÔØ ÉÈ × ÒÁÚÎÙÅ ÆÏÒÍÁÔÙ: ÏËÎÁ, ÐÉËÓÍÁÐÙ, ÂÕÆÅÒÙ GdkRGB.
134 %description gnome -l uk
135 â¦Â̦ÏÔÅËÁ GdkPixBuf ÎÁÄÁ¤ ÍÏÖÌÉ×ÏÓÔ¦ ÚÁ×ÁÎÔÁÖÕ×ÁÔÉ ÚÏÂÒÁÖÅÎÎÑ ÔÁ
136 ÒÅÎÄÅÒÉÔÉ §È × Ò¦ÚΦ ÆÏÒÍÁÔÉ: צËÎÁ, ЦËÓÍÁÐÉ, ÂÕÆÅÒÉ GdkRGB.
139 Summary: GNOME part of gdk-pixbuf library - development files
140 Summary(pl): Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów
141 Group: X11/Development/Libraries
142 Requires: %{name}-gnome = %{version}
143 Requires: %{name}-devel = %{version}
144 Requires: gnome-libs-devel
146 %description gnome-devel
147 GNOME part of gdk-pixbuf library - development files.
149 %description gnome-devel -l pl
150 Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów.
152 %package gnome-static
153 Summary: GNOME part of gdk-pixbuf library - static version
154 Summary(pl): Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna
155 Group: X11/Development/Libraries
156 Requires: %{name}-gnome-devel = %{version}
158 %description gnome-static
159 GNOME part of gdk-pixbuf library - static version.
161 %description gnome-static -l pl
162 Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna.
177 --with-html-dir=%{_gtkdocdir} \
178 %{?_without_gnome:--without-gnome}
179 %{__make} AS="%{__cc}"
182 rm -rf $RPM_BUILD_ROOT
185 DESTDIR=$RPM_BUILD_ROOT \
186 m4datadir=%{_aclocaldir} \
187 HTML_DIR=%{_gtkdocdir}
189 # resolve conflict with gtk+2-devel
190 mv -f $RPM_BUILD_ROOT%{_gtkdocdir}/gdk-pixbuf{,-1.0}
193 rm -rf $RPM_BUILD_ROOT
195 %post -p /sbin/ldconfig
196 %postun -p /sbin/ldconfig
198 %post gnome -p /sbin/ldconfig
199 %postun gnome -p /sbin/ldconfig
202 %defattr(644,root,root,755)
203 %attr(755,root,root) %{_libdir}/libgdk*.so.*.*
204 %dir %{_libdir}/gdk-pixbuf
205 %dir %{_libdir}/gdk-pixbuf/loaders
206 %attr(755,root,root) %{_libdir}/gdk-pixbuf/loaders/lib*.so*
209 %defattr(644,root,root,755)
210 %doc AUTHORS ChangeLog NEWS README
211 %attr(755,root,root) %{_bindir}/gdk-pixbuf-config
212 %attr(755,root,root) %{_libdir}/gdk*.sh
213 %attr(755,root,root) %{_libdir}/libgdk*.so
214 %attr(755,root,root) %{_libdir}/libgdk*.la
215 %dir %{_includedir}/gdk-pixbuf-1.0
216 %dir %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf
217 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gdk*.h
219 %dir %{_gtkdocdir}/gdk-pixbuf-1.0
220 %{_gtkdocdir}/gdk-pixbuf-1.0/[^g]*
221 %{_gtkdocdir}/gdk-pixbuf-1.0/g[^n]*
224 %defattr(644,root,root,755)
226 %{_libdir}/gdk-pixbuf/loaders/lib*.a
228 %if %{?_without_gnome:0}%{!?_without_gnome:1}
230 %defattr(644,root,root,755)
231 %attr(755,root,root) %{_libdir}/libgnome*.so.*.*
234 %defattr(644,root,root,755)
235 %attr(755,root,root) %{_libdir}/gnome*.sh
236 %attr(755,root,root) %{_libdir}/libgnome*.so
237 %attr(755,root,root) %{_libdir}/libgnome*.la
238 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gnome*.h
239 %{_gtkdocdir}/gdk-pixbuf-1.0/gnome*
242 %defattr(644,root,root,755)
243 %{_libdir}/libgnome*.a