3 # _without_gnome - without GNOME (build without libgnomecanvaspixbuf)
6 Summary: Image loading library used with GNOME
7 Summary(pl): Biblioteka ³aduj±ca obrazki u¿ywana w GNOME
8 Summary(pt_BR): Biblioteca GdkPixBuf para manipulação de imagens
9 Summary(ru): âÉÂÌÉÏÔÅËÁ ÚÁÇÒÕÚËÉ ÉÚÏÂÒÁÖÅÎÉÊ É ÒÅÎÄÅÒÉÎÇÁ ÄÌÑ Gdk
10 Summary(uk): â¦Â̦ÏÔÅËÁ ÚÁ×ÁÎÔÁÖÅÎÎÑ ÚÏÂÒÁÖÅÎØ ÔÁ ÒÅÎÄÅÒÉÎÇÕ ÄÌÑ Gdk
17 Source0: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gdk-pixbuf/%{name}-%{version}.tar.bz2
18 Patch0: %{name}-am.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
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}
73 Include files for the gdk-pixbuf.
75 %description devel -l pl
76 Pliki nag³ówkowe dla gdk-pixbuf.
78 %description devel -l pt_BR
79 Bibliotecas e arquivos cabeçalhos para desenvolvimento de aplicativos
80 baseados nessa biblioteca.
82 %description devel -l ru
83 æÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ GdkPixBuf.
85 %description devel -l uk
86 æÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ËÏÒÉÓÔÕÀÔØÓÑ GdkPixBuf.
89 Summary: Static gdk-pixbuf libraries
90 Summary(pl): Biblioteki statyczne gdk-pixbuf
91 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gdk-pixbuf
92 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ Ó GdkPixBuf
93 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ Ú GdkPixBuf
94 Group: X11/Development/Libraries
95 Requires: %{name}-devel = %{version}
98 Static gdk-pixbuf libraries.
100 %description static -l pl
101 Statyczne biblioteki gdk-pixbuf.
103 %description static -l pt_BR
104 Bibliotecas estáticas para desenvolvimento com gdk-pixbuf.
106 %description static -l ru
107 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÓÂÏÒËÉ ÐÒÏÇÒÁÍÍ,
108 ÉÓÐÏÌØÚÕÀÝÉÈ GdkPixBuf.
110 %description static -l uk
111 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ
115 Summary: GNOME part of gdk-pixbuf library
116 Summary(pl): Czê¶æ gdk-pixbuf zwi±zana z GNOME
117 Summary(ru): âÉÂÌÉÏÔÅËÁ ÚÁÇÒÕÚËÉ ÉÚÏÂÒÁÖÅÎÉÊ É ÒÅÎÄÅÒÉÎÇÁ ÄÌÑ Gdk
118 Summary(uk): â¦Â̦ÏÔÅËÁ ÚÁ×ÁÎÔÁÖÅÎÎÑ ÚÏÂÒÁÖÅÎØ ÔÁ ÒÅÎÄÅÒÉÎÇÕ ÄÌÑ Gdk
120 Requires: %{name} = %{version}
123 GNOME part of gdk-pixbuf library.
125 %description gnome -l pl
126 Czê¶æ gdk-pixbuf zwi±zana z GNOME.
128 %description gnome -l ru
129 âÉÂÌÉÏÔÅËÁ GdkPixBuf ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÚÁÇÒÕÖÁÔØ ÉÚÏÂÒÁÖÅÎÉÑ É
130 ÒÅÎÄÅÒÉÔØ ÉÈ × ÒÁÚÎÙÅ ÆÏÒÍÁÔÙ: ÏËÎÁ, ÐÉËÓÍÁÐÙ, ÂÕÆÅÒÙ GdkRGB.
132 %description gnome -l uk
133 â¦Â̦ÏÔÅËÁ GdkPixBuf ÎÁÄÁ¤ ÍÏÖÌÉ×ÏÓÔ¦ ÚÁ×ÁÎÔÁÖÕ×ÁÔÉ ÚÏÂÒÁÖÅÎÎÑ ÔÁ
134 ÒÅÎÄÅÒÉÔÉ §È × Ò¦ÚΦ ÆÏÒÍÁÔÉ: צËÎÁ, ЦËÓÍÁÐÉ, ÂÕÆÅÒÉ GdkRGB.
137 Summary: GNOME part of gdk-pixbuf library - development files
138 Summary(pl): Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów
139 Group: X11/Development/Libraries
140 Requires: %{name}-gnome = %{version}
141 Requires: %{name}-devel = %{version}
142 Requires: gnome-libs-devel
144 %description gnome-devel
145 GNOME part of gdk-pixbuf library - development files.
147 %description gnome-devel -l pl
148 Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów.
150 %package gnome-static
151 Summary: GNOME part of gdk-pixbuf library - static version
152 Summary(pl): Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna
153 Group: X11/Development/Libraries
154 Requires: %{name}-gnome-devel = %{version}
156 %description gnome-static
157 GNOME part of gdk-pixbuf library - static version.
159 %description gnome-static -l pl
160 Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna.
168 libtoolize --copy --force
172 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
173 CPPFLAGS="`pkg-config libpng12 --cflags`"
178 %{__make} AS="%{__cc}"
181 rm -rf $RPM_BUILD_ROOT
184 DESTDIR=$RPM_BUILD_ROOT \
185 m4datadir=%{_aclocaldir}
188 rm -rf $RPM_BUILD_ROOT
190 %post -p /sbin/ldconfig
191 %postun -p /sbin/ldconfig
193 %post gnome -p /sbin/ldconfig
194 %postun gnome -p /sbin/ldconfig
197 %defattr(644,root,root,755)
198 %attr(755,root,root) %{_libdir}/libgdk*.so.*.*
199 %dir %{_libdir}/gdk-pixbuf
200 %dir %{_libdir}/gdk-pixbuf/loaders
201 %attr(755,root,root) %{_libdir}/gdk-pixbuf/loaders/lib*.so*
204 %defattr(644,root,root,755)
205 %doc AUTHORS ChangeLog NEWS README
206 %attr(755,root,root) %{_bindir}/gdk-pixbuf-config
207 %attr(755,root,root) %{_libdir}/gdk*.sh
208 %attr(755,root,root) %{_libdir}/libgdk*.so
209 %attr(755,root,root) %{_libdir}/libgdk*.la
210 %dir %{_includedir}/gdk-pixbuf-1.0
211 %dir %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf
212 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gdk*.h
216 %defattr(644,root,root,755)
218 %{_libdir}/gdk-pixbuf/loaders/lib*.a
220 %if %{?_without_gnome:0}%{!?_without_gnome:1}
222 %defattr(644,root,root,755)
223 %attr(755,root,root) %{_libdir}/libgnome*.so.*.*
226 %defattr(644,root,root,755)
227 %attr(755,root,root) %{_libdir}/gnome*.sh
228 %attr(755,root,root) %{_libdir}/libgnome*.so
229 %attr(755,root,root) %{_libdir}/libgnome*.la
230 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gnome*.h
233 %defattr(644,root,root,755)
234 %{_libdir}/libgnome*.a