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/sources/gdk-pixbuf/0.22/%{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 _gtkdocdir %{_defaultdocdir}/gtk-doc/html
34 The GdkPixBuf library provides a number of features:
35 - image loading facilities,
36 - rendering of a GdkPixBuf into various formats: drawables (windows,
37 pixmaps), GdkRGB buffers,
41 Biblioteka GdkPixBuf posiada du¿e mo¿liwo¶ci:
42 - funkcje wspomagaj±ce ³adowanie obrazków,
43 - oddanie GdkPixBuf w ró¿nych formatach, do rysowania (okna, pixmapy)
45 - interfejs pamiêci podrêcznej.
48 A biblioteca GdkPixBuf oferece:
50 - Estrutura GdkPixBuf para representar imagens.
51 - Facilidades para carga de imagens.
52 - Maneira simples de carregar imagens animadas.
53 - Vários formatos: desenháveis (windows, pixmaps), buffers GdkRGB.
56 âÉÂÌÉÏÔÅËÁ GdkPixBuf ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÚÁÇÒÕÖÁÔØ ÉÚÏÂÒÁÖÅÎÉÑ É
57 ÒÅÎÄÅÒÉÔØ ÉÈ × ÒÁÚÎÙÅ ÆÏÒÍÁÔÙ: ÏËÎÁ, ÐÉËÓÍÁÐÙ, ÂÕÆÅÒÙ GdkRGB.
60 â¦Â̦ÏÔÅËÁ GdkPixBuf ÎÁÄÁ¤ ÍÏÖÌÉ×ÏÓÔ¦ ÚÁ×ÁÎÔÁÖÕ×ÁÔÉ ÚÏÂÒÁÖÅÎÎÑ ÔÁ
61 ÒÅÎÄÅÒÉÔÉ §È × Ò¦ÚΦ ÆÏÒÍÁÔÉ: צËÎÁ, ЦËÓÍÁÐÉ, ÂÕÆÅÒÉ GdkRGB.
64 Summary: Include files for the gdk-pixbuf
65 Summary(pl): Pliki nag³ówkowe dla gdk-pixbuf
66 Summary(pt_BR): Bibliotecas e arquivos cabeçalhos para desenvolvimento
67 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ Ó GdkPixBuf
68 Summary(uk): úÁÓÏÂÉ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÒÏÇÒÁÍ Ú GdkPixBuf
69 Group: X11/Development/Libraries
70 Requires: %{name} = %{version}
71 Requires: gtk-doc-common
74 Include files for the gdk-pixbuf.
76 %description devel -l pl
77 Pliki nag³ówkowe dla gdk-pixbuf.
79 %description devel -l pt_BR
80 Bibliotecas e arquivos cabeçalhos para desenvolvimento de aplicativos
81 baseados nessa biblioteca.
83 %description devel -l ru
84 æÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ GdkPixBuf.
86 %description devel -l uk
87 æÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ËÏÒÉÓÔÕÀÔØÓÑ GdkPixBuf.
90 Summary: Static gdk-pixbuf libraries
91 Summary(pl): Biblioteki statyczne gdk-pixbuf
92 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gdk-pixbuf
93 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ Ó GdkPixBuf
94 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ Ú GdkPixBuf
95 Group: X11/Development/Libraries
96 Requires: %{name}-devel = %{version}
99 Static gdk-pixbuf libraries.
101 %description static -l pl
102 Statyczne biblioteki gdk-pixbuf.
104 %description static -l pt_BR
105 Bibliotecas estáticas para desenvolvimento com gdk-pixbuf.
107 %description static -l ru
108 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÓÂÏÒËÉ ÐÒÏÇÒÁÍÍ,
109 ÉÓÐÏÌØÚÕÀÝÉÈ GdkPixBuf.
111 %description static -l uk
112 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ
116 Summary: GNOME part of gdk-pixbuf library
117 Summary(pl): Czê¶æ gdk-pixbuf zwi±zana z GNOME
118 Summary(ru): âÉÂÌÉÏÔÅËÁ ÚÁÇÒÕÚËÉ ÉÚÏÂÒÁÖÅÎÉÊ É ÒÅÎÄÅÒÉÎÇÁ ÄÌÑ Gdk
119 Summary(uk): â¦Â̦ÏÔÅËÁ ÚÁ×ÁÎÔÁÖÅÎÎÑ ÚÏÂÒÁÖÅÎØ ÔÁ ÒÅÎÄÅÒÉÎÇÕ ÄÌÑ Gdk
121 Requires: %{name} = %{version}
124 GNOME part of gdk-pixbuf library.
126 %description gnome -l pl
127 Czê¶æ gdk-pixbuf zwi±zana z GNOME.
129 %description gnome -l ru
130 âÉÂÌÉÏÔÅËÁ GdkPixBuf ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÚÁÇÒÕÖÁÔØ ÉÚÏÂÒÁÖÅÎÉÑ É
131 ÒÅÎÄÅÒÉÔØ ÉÈ × ÒÁÚÎÙÅ ÆÏÒÍÁÔÙ: ÏËÎÁ, ÐÉËÓÍÁÐÙ, ÂÕÆÅÒÙ GdkRGB.
133 %description gnome -l uk
134 â¦Â̦ÏÔÅËÁ GdkPixBuf ÎÁÄÁ¤ ÍÏÖÌÉ×ÏÓÔ¦ ÚÁ×ÁÎÔÁÖÕ×ÁÔÉ ÚÏÂÒÁÖÅÎÎÑ ÔÁ
135 ÒÅÎÄÅÒÉÔÉ §È × Ò¦ÚΦ ÆÏÒÍÁÔÉ: צËÎÁ, ЦËÓÍÁÐÉ, ÂÕÆÅÒÉ GdkRGB.
138 Summary: GNOME part of gdk-pixbuf library - development files
139 Summary(pl): Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów
140 Group: X11/Development/Libraries
141 Requires: %{name}-gnome = %{version}
142 Requires: %{name}-devel = %{version}
143 Requires: gnome-libs-devel
145 %description gnome-devel
146 GNOME part of gdk-pixbuf library - development files.
148 %description gnome-devel -l pl
149 Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów.
151 %package gnome-static
152 Summary: GNOME part of gdk-pixbuf library - static version
153 Summary(pl): Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna
154 Group: X11/Development/Libraries
155 Requires: %{name}-gnome-devel = %{version}
157 %description gnome-static
158 GNOME part of gdk-pixbuf library - static version.
160 %description gnome-static -l pl
161 Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna.
176 --with-html-dir=%{_gtkdocdir} \
177 %{?_without_gnome:--without-gnome}
178 %{__make} AS="%{__cc}"
181 rm -rf $RPM_BUILD_ROOT
184 DESTDIR=$RPM_BUILD_ROOT \
185 m4datadir=%{_aclocaldir} \
186 HTML_DIR=%{_gtkdocdir}
188 # resolve conflict with gtk+2-devel
189 mv -f $RPM_BUILD_ROOT%{_gtkdocdir}/gdk-pixbuf{,-1.0}
192 rm -rf $RPM_BUILD_ROOT
194 %post -p /sbin/ldconfig
195 %postun -p /sbin/ldconfig
197 %post gnome -p /sbin/ldconfig
198 %postun gnome -p /sbin/ldconfig
201 %defattr(644,root,root,755)
202 %attr(755,root,root) %{_libdir}/libgdk*.so.*.*
203 %dir %{_libdir}/gdk-pixbuf
204 %dir %{_libdir}/gdk-pixbuf/loaders
205 %attr(755,root,root) %{_libdir}/gdk-pixbuf/loaders/lib*.so*
208 %defattr(644,root,root,755)
209 %doc AUTHORS ChangeLog NEWS README
210 %attr(755,root,root) %{_bindir}/gdk-pixbuf-config
211 %attr(755,root,root) %{_libdir}/gdk*.sh
212 %attr(755,root,root) %{_libdir}/libgdk*.so
213 %{_libdir}/libgdk*.la
214 %dir %{_includedir}/gdk-pixbuf-1.0
215 %dir %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf
216 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gdk*.h
218 %dir %{_gtkdocdir}/gdk-pixbuf-1.0
219 %{_gtkdocdir}/gdk-pixbuf-1.0/[^g]*
220 %{_gtkdocdir}/gdk-pixbuf-1.0/g[^n]*
223 %defattr(644,root,root,755)
225 %{_libdir}/gdk-pixbuf/loaders/lib*.a
227 %if %{?_without_gnome:0}%{!?_without_gnome:1}
229 %defattr(644,root,root,755)
230 %attr(755,root,root) %{_libdir}/libgnome*.so.*.*
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{_libdir}/gnome*.sh
235 %attr(755,root,root) %{_libdir}/libgnome*.so
236 %{_libdir}/libgnome*.la
237 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gnome*.h
238 %{_gtkdocdir}/gdk-pixbuf-1.0/gnome*
241 %defattr(644,root,root,755)
242 %{_libdir}/libgnome*.a