]> git.pld-linux.org Git - packages/gdk-pixbuf.git/blob - gdk-pixbuf.spec
- security note
[packages/gdk-pixbuf.git] / gdk-pixbuf.spec
1 #
2 # TODO: CAN-2004-0753 CAN-2004-0782 CAN-2004-0783 CAN-2004-0788
3 #
4 # Conditional build:
5 %bcond_without  gnome1  # build without libgnomecanvaspixbuf (which requires GNOME)
6 #
7 Summary:        Image loading library used with GNOME
8 Summary(pl):    Biblioteka ³aduj±ca obrazki u¿ywana w GNOME
9 Summary(pt_BR): Biblioteca GdkPixBuf para manipulação de imagens
10 Summary(ko):    ±×³ð¿¡¼­ »ç¿ëµÇ´Â ±×¸² Àб⠶óÀ̺귯¸®
11 Summary(ru):    âÉÂÌÉÏÔÅËÁ ÚÁÇÒÕÚËÉ ÉÚÏÂÒÁÖÅÎÉÊ É ÒÅÎÄÅÒÉÎÇÁ ÄÌÑ Gdk
12 Summary(uk):    â¦Â̦ÏÔÅËÁ ÚÁ×ÁÎÔÁÖÅÎÎÑ ÚÏÂÒÁÖÅÎØ ÔÁ ÒÅÎÄÅÒÉÎÇÕ ÄÌÑ Gdk
13 Name:           gdk-pixbuf
14 Version:        0.22.0
15 Release:        8
16 Epoch:          1
17 License:        LGPL
18 Group:          X11/Libraries
19 Source0:        ftp://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/0.22/%{name}-%{version}.tar.bz2
20 # Source0-md5: 05fcb68ceaa338614ab650c775efc2f2
21 Patch0:         %{name}-am.patch
22 Patch1:         %{name}-nognome.patch
23 Patch2:         %{name}-am18.patch
24 URL:            http://www.gnome.org/
25 BuildRequires:  autoconf
26 BuildRequires:  automake
27 BuildRequires:  gtk+-devel
28 %{?with_gnome1:BuildRequires:   gnome-libs-devel}
29 BuildRequires:  libjpeg-devel
30 BuildRequires:  libtiff-devel
31 BuildRequires:  libtool
32 BuildRequires:  libpng-devel >= 1.0.8
33 BuildRequires:  libungif-devel
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %define         _gtkdocdir      %{_defaultdocdir}/gtk-doc/html
37
38 %description
39 The GdkPixBuf library provides a number of features:
40  - image loading facilities,
41  - rendering of a GdkPixBuf into various formats: drawables (windows,
42    pixmaps), GdkRGB buffers,
43  - a cache interface.
44
45 %description -l pl
46 Biblioteka GdkPixBuf posiada du¿e mo¿liwo¶ci:
47  - funkcje wspomagaj±ce ³adowanie obrazków,
48  - oddanie GdkPixBuf w ró¿nych formatach, do rysowania (okna, pixmapy)
49    czy bufory GdkRGB,
50  - interfejs pamiêci podrêcznej.
51
52 %description -l pt_BR
53 A biblioteca GdkPixBuf oferece:
54
55 - Estrutura GdkPixBuf para representar imagens.
56 - Facilidades para carga de imagens.
57 - Maneira simples de carregar imagens animadas.
58 - Vários formatos: desenháveis (windows, pixmaps), buffers GdkRGB.
59
60 %description -l ru
61 âÉÂÌÉÏÔÅËÁ GdkPixBuf ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÚÁÇÒÕÖÁÔØ ÉÚÏÂÒÁÖÅÎÉÑ É
62 ÒÅÎÄÅÒÉÔØ ÉÈ × ÒÁÚÎÙÅ ÆÏÒÍÁÔÙ: ÏËÎÁ, ÐÉËÓÍÁÐÙ, ÂÕÆÅÒÙ GdkRGB.
63
64 %description -l uk
65 â¦Â̦ÏÔÅËÁ GdkPixBuf ÎÁÄÁ¤ ÍÏÖÌÉ×ÏÓÔ¦ ÚÁ×ÁÎÔÁÖÕ×ÁÔÉ ÚÏÂÒÁÖÅÎÎÑ ÔÁ
66 ÒÅÎÄÅÒÉÔÉ §È × Ò¦ÚΦ ÆÏÒÍÁÔÉ: ×¦ËÎÁ, Ð¦ËÓÍÁÐÉ, ÂÕÆÅÒÉ GdkRGB.
67
68 %package devel
69 Summary:        Include files for the gdk-pixbuf
70 Summary(pl):    Pliki nag³ówkowe dla gdk-pixbuf
71 Summary(pt_BR): Bibliotecas e arquivos cabeçalhos para desenvolvimento
72 Summary(ko):    gdk-pixbuf ÀÀ¿ëÇÁ·Î±×·¥À» °³¹ßÇÒ¶§ »ç¿ëµÇ´Â ¶óÀ̺귯¸®¿Í Çì´õÆÄÀÏ
73 Summary(ru):    óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ Ó GdkPixBuf
74 Summary(uk):    úÁÓÏÂÉ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÒÏÇÒÁÍ Ú GdkPixBuf
75 Group:          X11/Development/Libraries
76 Requires:       %{name} = %{epoch}:%{version}-%{release}
77 Requires:       gtk+-devel
78 Requires:       gtk-doc-common
79
80 %description devel
81 Include files for the gdk-pixbuf.
82
83 %description devel -l pl
84 Pliki nag³ówkowe dla gdk-pixbuf.
85
86 %description devel -l pt_BR
87 Bibliotecas e arquivos cabeçalhos para desenvolvimento de aplicativos
88 baseados nessa biblioteca.
89
90 %description devel -l ru
91 æÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ GdkPixBuf.
92
93 %description devel -l uk
94 æÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ËÏÒÉÓÔÕÀÔØÓÑ GdkPixBuf.
95
96 %package static
97 Summary:        Static gdk-pixbuf libraries
98 Summary(pl):    Biblioteki statyczne gdk-pixbuf
99 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gdk-pixbuf
100 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ Ó GdkPixBuf
101 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ Ú GdkPixBuf
102 Group:          X11/Development/Libraries
103 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
104
105 %description static
106 Static gdk-pixbuf libraries.
107
108 %description static -l pl
109 Statyczne biblioteki gdk-pixbuf.
110
111 %description static -l pt_BR
112 Bibliotecas estáticas para desenvolvimento com gdk-pixbuf.
113
114 %description static -l ru
115 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÓÂÏÒËÉ ÐÒÏÇÒÁÍÍ,
116 ÉÓÐÏÌØÚÕÀÝÉÈ GdkPixBuf.
117
118 %description static -l uk
119 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ
120 GdkPixBuf.
121
122 %package gnome
123 Summary:        GNOME part of gdk-pixbuf library
124 Summary(pl):    Czê¶æ gdk-pixbuf zwi±zana z GNOME
125 Summary(ru):    âÉÂÌÉÏÔÅËÁ ÚÁÇÒÕÚËÉ ÉÚÏÂÒÁÖÅÎÉÊ É ÒÅÎÄÅÒÉÎÇÁ ÄÌÑ Gdk
126 Summary(uk):    â¦Â̦ÏÔÅËÁ ÚÁ×ÁÎÔÁÖÅÎÎÑ ÚÏÂÒÁÖÅÎØ ÔÁ ÒÅÎÄÅÒÉÎÇÕ ÄÌÑ Gdk
127 Group:          X11/Libraries
128 Requires:       %{name} = %{epoch}:%{version}-%{release}
129
130 %description gnome
131 GNOME part of gdk-pixbuf library.
132
133 %description gnome -l pl
134 Czê¶æ gdk-pixbuf zwi±zana z GNOME.
135
136 %description gnome -l ru
137 âÉÂÌÉÏÔÅËÁ GdkPixBuf ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÚÁÇÒÕÖÁÔØ ÉÚÏÂÒÁÖÅÎÉÑ É
138 ÒÅÎÄÅÒÉÔØ ÉÈ × ÒÁÚÎÙÅ ÆÏÒÍÁÔÙ: ÏËÎÁ, ÐÉËÓÍÁÐÙ, ÂÕÆÅÒÙ GdkRGB.
139
140 %description gnome -l uk
141 â¦Â̦ÏÔÅËÁ GdkPixBuf ÎÁÄÁ¤ ÍÏÖÌÉ×ÏÓÔ¦ ÚÁ×ÁÎÔÁÖÕ×ÁÔÉ ÚÏÂÒÁÖÅÎÎÑ ÔÁ
142 ÒÅÎÄÅÒÉÔÉ §È × Ò¦ÚΦ ÆÏÒÍÁÔÉ: ×¦ËÎÁ, Ð¦ËÓÍÁÐÉ, ÂÕÆÅÒÉ GdkRGB.
143
144 %package gnome-devel
145 Summary:        GNOME part of gdk-pixbuf library - development files
146 Summary(pl):    Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów
147 Group:          X11/Development/Libraries
148 Requires:       %{name}-gnome = %{epoch}:%{version}-%{release}
149 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
150 Requires:       gnome-libs-devel
151
152 %description gnome-devel
153 GNOME part of gdk-pixbuf library - development files.
154
155 %description gnome-devel -l pl
156 Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów.
157
158 %package gnome-static
159 Summary:        GNOME part of gdk-pixbuf library - static version
160 Summary(pl):    Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna
161 Group:          X11/Development/Libraries
162 Requires:       %{name}-gnome-devel = %{epoch}:%{version}-%{release}
163
164 %description gnome-static
165 GNOME part of gdk-pixbuf library - static version.
166
167 %description gnome-static -l pl
168 Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna.
169
170 %prep
171 %setup -q
172 %patch0 -p1
173 %patch1 -p1
174 %patch2 -p1
175
176 %build
177 %{__libtoolize}
178 %{__aclocal}
179 %{__autoconf}
180 %{__automake}
181 %configure \
182         --disable-gtk-doc \
183         --with-html-dir=%{_gtkdocdir} \
184         %{!?with_gnome1:--without-gnome}
185
186 %{__make} \
187         AS="%{__cc}"
188
189 %install
190 rm -rf $RPM_BUILD_ROOT
191
192 %{__make} install \
193         DESTDIR=$RPM_BUILD_ROOT \
194         m4datadir=%{_aclocaldir} \
195         HTML_DIR=%{_gtkdocdir}
196
197 # resolve conflict with gtk+2-devel
198 mv -f $RPM_BUILD_ROOT%{_gtkdocdir}/gdk-pixbuf{,-1.0}
199
200 # no *.{a,la} for plugins - shut up check-files
201 rm -f $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf/loaders/lib*.{a,la}
202
203 %clean
204 rm -rf $RPM_BUILD_ROOT
205
206 %post   -p /sbin/ldconfig
207 %postun -p /sbin/ldconfig
208
209 %post   gnome -p /sbin/ldconfig
210 %postun gnome -p /sbin/ldconfig
211
212 %files
213 %defattr(644,root,root,755)
214 %attr(755,root,root) %{_libdir}/libgdk*.so.*.*
215 %dir %{_libdir}/gdk-pixbuf
216 %dir %{_libdir}/gdk-pixbuf/loaders
217 %attr(755,root,root) %{_libdir}/gdk-pixbuf/loaders/lib*.so*
218
219 %files devel
220 %defattr(644,root,root,755)
221 %doc AUTHORS ChangeLog NEWS README
222 %attr(755,root,root) %{_bindir}/gdk-pixbuf-config
223 %attr(755,root,root) %{_libdir}/gdk*.sh
224 %attr(755,root,root) %{_libdir}/libgdk*.so
225 %{_libdir}/libgdk*.la
226 %dir %{_includedir}/gdk-pixbuf-1.0
227 %dir %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf
228 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gdk*.h
229 %{_aclocaldir}/*
230 %dir %{_gtkdocdir}/gdk-pixbuf-1.0
231 %{_gtkdocdir}/gdk-pixbuf-1.0/[!g]*
232 %{_gtkdocdir}/gdk-pixbuf-1.0/g[!n]*
233
234 %files static
235 %defattr(644,root,root,755)
236 %{_libdir}/libgdk*.a
237
238 %if %{with gnome1}
239 %files gnome
240 %defattr(644,root,root,755)
241 %attr(755,root,root) %{_libdir}/libgnome*.so.*.*
242
243 %files gnome-devel
244 %defattr(644,root,root,755)
245 %attr(755,root,root) %{_libdir}/gnome*.sh
246 %attr(755,root,root) %{_libdir}/libgnome*.so
247 %{_libdir}/libgnome*.la
248 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gnome*.h
249 %{_gtkdocdir}/gdk-pixbuf-1.0/gnome*
250
251 %files gnome-static
252 %defattr(644,root,root,755)
253 %{_libdir}/libgnome*.a
254 %endif
This page took 0.406449 seconds and 3 git commands to generate.