]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without aalib # without aa plugin (which requires aalib) | |
4 | %bcond_without python # without python plugins | |
5 | %bcond_without webkit # without webkit-based help browser | |
6 | %bcond_with posix_shm # with POSIX SHM (default is SysV SHM) | |
7 | ||
8 | %define mver 2.0 | |
9 | Summary: The GNU Image Manipulation Program | |
10 | Summary(de.UTF-8): Das GNU-Bildbearbeitungs-Programm | |
11 | Summary(es.UTF-8): Programa de manipulación de imagen GNU | |
12 | Summary(fr.UTF-8): Le programme de manipulation d'images de GNU | |
13 | Summary(pl.UTF-8): Program GNU do manipulacji formatami graficznymi (GIMP) | |
14 | Summary(pt_BR.UTF-8): Programa de manipulação de imagem GNU | |
15 | Summary(ru.UTF-8): The GNU Image Manipulation Program | |
16 | Summary(tr.UTF-8): Çizim, boyama ve görüntü işleme programı | |
17 | Summary(uk.UTF-8): The GNU Image Manipulation Program | |
18 | Summary(zh_CN.UTF-8): [图像]GNU图象处理工具 | |
19 | Summary(zh_TW.UTF-8): [圖像]GNU圖象處理工具 | |
20 | Name: gimp | |
21 | Version: 2.8.20 | |
22 | Release: 1 | |
23 | Epoch: 1 | |
24 | License: GPL v3+ | |
25 | Group: X11/Applications/Graphics | |
26 | Source0: http://ftp.gimp.org/pub/gimp/v2.8/%{name}-%{version}.tar.bz2 | |
27 | # Source0-md5: d405640c426b234d6efc36fb4f5bae57 | |
28 | Patch0: %{name}-home_etc.patch | |
29 | Patch1: %{name}-desktop.patch | |
30 | Patch2: %{name}-gcc4.patch | |
31 | Patch3: bump_Babl-GEGL_versions.patch | |
32 | Patch4: fix_GEGL_missing_symbol.patch | |
33 | URL: http://www.gimp.org/ | |
34 | %{?with_aalib:BuildRequires: aalib-devel} | |
35 | BuildRequires: alsa-lib-devel >= 1.0.11 | |
36 | BuildRequires: atk-devel >= 1:2.2.0 | |
37 | BuildRequires: autoconf >= 2.54 | |
38 | BuildRequires: automake | |
39 | BuildRequires: babl-devel >= 0.1.10 | |
40 | BuildRequires: cairo-devel >= 1.10.2 | |
41 | BuildRequires: curl-devel >= 7.15.1 | |
42 | BuildRequires: dbus-glib-devel >= 0.70 | |
43 | BuildRequires: docbook-dtd412-xml | |
44 | BuildRequires: fontconfig-devel >= 2.2.0 | |
45 | BuildRequires: gdk-pixbuf2-devel >= 2.24.1 | |
46 | BuildRequires: gegl-devel >= 0.3.0 | |
47 | BuildRequires: gettext-tools | |
48 | BuildRequires: ghostscript-devel | |
49 | BuildRequires: giflib-devel | |
50 | BuildRequires: glib2-devel >= 1:2.30.2 | |
51 | BuildRequires: gtk+2-devel >= 2:2.24.10 | |
52 | BuildRequires: gtk-doc >= 1.6 | |
53 | %{?with_webkit:BuildRequires: gtk-webkit-devel >= 1.6.1} | |
54 | BuildRequires: intltool >= 0.40.1 | |
55 | BuildRequires: iso-codes | |
56 | BuildRequires: jasper-devel | |
57 | BuildRequires: lcms2-devel >= 2.2 | |
58 | BuildRequires: libexif-devel >= 0.6.15 | |
59 | BuildRequires: libjpeg-devel | |
60 | BuildRequires: libmng-devel | |
61 | BuildRequires: libpng-devel >= 1.2.37 | |
62 | BuildRequires: librsvg-devel >= 1:2.36.0 | |
63 | BuildRequires: libtiff-devel | |
64 | BuildRequires: libtool >= 2:2.2 | |
65 | BuildRequires: libwmf-devel >= 2:0.2.8 | |
66 | BuildRequires: pango-devel >= 1:1.29.4 | |
67 | BuildRequires: pkgconfig >= 1:0.16 | |
68 | BuildRequires: poppler-devel >= 0.17 | |
69 | %{?with_python:BuildRequires: python >= 1:2.5.0} | |
70 | %{?with_python:BuildRequires: python-pygtk-devel >= 1:2.10.4} | |
71 | BuildRequires: rpm-pythonprov | |
72 | BuildRequires: rpmbuild(macros) >= 1.268 | |
73 | BuildRequires: udev-glib-devel >= 1:167 | |
74 | BuildRequires: xorg-lib-libXcursor-devel | |
75 | BuildRequires: xorg-lib-libXext-devel | |
76 | BuildRequires: xorg-lib-libXfixes-devel | |
77 | BuildRequires: xorg-lib-libXmu-devel | |
78 | BuildRequires: xorg-lib-libXpm-devel | |
79 | Requires(post,postun): gtk+2 >= 2:2.24.10 | |
80 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
81 | Requires: atk >= 1:2.2.0 | |
82 | Requires: babl >= 0.1.10 | |
83 | Requires: curl >= 7.15.1 | |
84 | Requires: dbus-glib >= 0.70 | |
85 | Requires: fontconfig-libs >= 2.2.0 | |
86 | Requires: gegl >= 0.3.0 | |
87 | Requires: hicolor-icon-theme | |
88 | Requires: lcms2 >= 2.2 | |
89 | Requires: libexif >= 0.6.15 | |
90 | %{?with_python:Requires: python-pygtk-gtk >= 1:2.10.4} | |
91 | Obsoletes: gimp-data-min | |
92 | Obsoletes: gimp-libgimp | |
93 | Obsoletes: gimp-print | |
94 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
95 | ||
96 | %description | |
97 | The GIMP is an image manipulation program suitable for photo | |
98 | retouching, image composition and image authoring. Many people find it | |
99 | extremely useful in creating logos and other graphics for web pages. | |
100 | The GIMP has many of the tools and filters you would expect to find in | |
101 | similar commercial offerings, and some interesting extras as well. | |
102 | ||
103 | The GIMP provides a large image manipulation toolbox, including | |
104 | channel operations and layers, effects, sub-pixel imaging and | |
105 | anti-aliasing, and conversions, all with multi-level undo. | |
106 | ||
107 | This version of The GIMP includes a scripting facility, but many of | |
108 | the included scripts rely on fonts that we cannot distribute. The GIMP | |
109 | FTP site has a package of fonts that you can install by yourself, | |
110 | which includes all the fonts needed to run the included scripts. | |
111 | ||
112 | %description -l es.UTF-8 | |
113 | GIMP es un programa de manejo de imágenes adecuado para retoque de | |
114 | fotos, composición y editoración de imágenes. Muchas personas lo | |
115 | encuentran extremamente útil en la creación de logos y otros gráficos | |
116 | para páginas web. GIMP tiene muchas herramientas y filtros normalmente | |
117 | encontrados en aplicaciones comerciales similares, además de | |
118 | características extras bien interesantes. GIMP ofrece una extensa caja | |
119 | de herramientas de manejo de imagen, incluyendo camadas, efectos, | |
120 | formación de imagen subpíxel y antialiasing, conversiones, todos con | |
121 | deshacer en varios niveles (multi-level undo). | |
122 | ||
123 | %description -l fr.UTF-8 | |
124 | Le Programme de Manipulation d'Image de GNU permet de retoucher des | |
125 | photos, de réaliser des compositions. Beaucoup de gens l'apprécient | |
126 | pour la création de logos et de graphismes pour les pages web. GIMP | |
127 | dispose d'un grand nombre de filtres et de plug-ins que l'on ne trouve | |
128 | que dans les logiciels commerciaux haut de gamme ainsi que de | |
129 | nombreuses fonctionnalité inédites. | |
130 | ||
131 | GIMP fournit une boite à outil permettant de gérer plusieurs calques, | |
132 | de nombreux effets, l'anti-aliasing, les conversions de fichiers ainsi | |
133 | qu'un grand nombre de niveaux d'annulation. | |
134 | ||
135 | %description -l pl.UTF-8 | |
136 | Program GIMP jest przeznaczony do obróbki i tworzenia plików w różnych | |
137 | formatach graficznych. Przy jego użyciu można tworzyć grafikę dla | |
138 | stron WWW, retuszować zdjęcia, czy stworzyć własne logo. | |
139 | ||
140 | GIMP dostarcza duży zestaw narzędzi do obróbki obrazów, w tym do | |
141 | operowania na kanałach i warstwach, efektów, antyaliasingu oraz | |
142 | konwersji, a to wszystko z wielopoziomowym cofaniem operacji. | |
143 | ||
144 | %description -l pt_BR.UTF-8 | |
145 | O GIMP é um programa de manipulação de imagens adequado para retoque | |
146 | de fotos, composição e editoração de imagens. Muitas pessoas o acham | |
147 | extremamente útil na criação de logos e outros gráficos para páginas | |
148 | web. O GIMP tem muitas ferramentas e filtros normalmente encontrados | |
149 | em aplicações comerciais similares, além de características extras bem | |
150 | interessantes. | |
151 | ||
152 | O GIMP fornece uma extensa caixa de ferramentas de manipulação de | |
153 | imagem, incluindo camadas, efeitos, formação de imagem subpíxel e | |
154 | anti-aliasing, conversões, todos com desfazimento em vários níveis | |
155 | (multi-level undo). | |
156 | ||
157 | %description -l ru.UTF-8 | |
158 | GIMP - это программа для создания и обработки изображений. Ее считают | |
159 | исключительно полезной для создания логотипов и другой графики для | |
160 | web-страниц. GIMP имеет множество инструментов и фильтров, которые | |
161 | обычно включаются в аналогичные коммерческие пакеты, а также ряд | |
162 | возможностей, присущих только ей. | |
163 | ||
164 | GIMP предоставляет большой набор инструментов для работы с графикой, | |
165 | включающий операции над каналами, слоями, эффекты, sub-pixel imaging и | |
166 | антиалиасинг, всяческие конверторы и все это с многоуровневым откатом. | |
167 | ||
168 | GIMP включает поддержку создания сценариев (scripting facility), | |
169 | однако многие из поставляемых с программой сценариев предполагают | |
170 | наличие шрифтов, которые не могут быть включены в дистрибутив. | |
171 | FTP-сайт GIMP содержит пакет шрифтов, которые вы можете поставить | |
172 | самостоятельно, включающий все шрифты, необходимые для работы входящих | |
173 | в комплект сценариев. Некоторые из шрифтов имеют весьма необычные | |
174 | лицензионные требования; все лицензии включены в упомянутый пакет. | |
175 | Скачайте ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz и | |
176 | ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz, если хотите | |
177 | запускать сценарии без изменений или выберите те шрифты, которые | |
178 | установлены у вас в системе, перед запуском сценариев. | |
179 | ||
180 | %description -l uk.UTF-8 | |
181 | GIMP - це програма для створення та обробки зображень. Її вважають | |
182 | дуже корисною для створення логотипів та іншої графіки для | |
183 | web-сторінок. GIMP має багато інструментів та фільтрів, які звичайно | |
184 | включаються в аналогічні комерційні пакети, а також ряд можливостей, | |
185 | властивих саме їй. | |
186 | ||
187 | GIMP надає великий набір інструментів для роботи з графікою, що | |
188 | включає операції над каналами, шарами (layers), ефекти, sub-pixel | |
189 | imaging і антиаліасинг, різноманітні конвертори і все це з | |
190 | багаторівневим відкатом. | |
191 | ||
192 | GIMP має підтримку сценаріїв (scripting facility), проте багато з | |
193 | включених до поставки сценаріїв припускають наявність шрифтів, які не | |
194 | можуть бути включені в дистрибутив. FTP-сайт GIMP містить пакет | |
195 | шрифтів, котрі ви можете встановити самостійно, в який входять всі | |
196 | шрифти, необхідні для роботи сценаріїв з поставки GIMP. Деякі з | |
197 | шрифтів мають вельми незвичайні ліцензійні умови; всі ліцензії | |
198 | включено в згаданий пакет. Завантажте | |
199 | ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz та | |
200 | ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz. якщо хочете | |
201 | запускати сценарії без змін або ж виберіть встановалені у вас в | |
202 | системі шрифти перед запуском сценаріїв. | |
203 | ||
204 | %package libs | |
205 | Summary: GIMP libraries | |
206 | Summary(pl.UTF-8): Biblioteki GIMP-a | |
207 | License: LGPL v2+ | |
208 | Group: Libraries | |
209 | Requires: cairo >= 1.10.2 | |
210 | Requires: gdk-pixbuf2 >= 2.24.1 | |
211 | Requires: glib2 >= 1:2.30.2 | |
212 | Requires: gtk+2 >= 2:2.24.10 | |
213 | Requires: pango >= 1:1.29.4 | |
214 | ||
215 | %description libs | |
216 | This package contains GIMP libraries. | |
217 | ||
218 | %description libs -l pl.UTF-8 | |
219 | Pakiet zawiera biblioteki GIMP-a. | |
220 | ||
221 | %package devel | |
222 | Summary: GIMP plugin and extension development kit | |
223 | Summary(de.UTF-8): GIMP-Plugin und Extension Development Kit | |
224 | Summary(es.UTF-8): Kit de desarrollo de "plugins" extensiones para GIMP | |
225 | Summary(fr.UTF-8): Plugin GIMP et kit de développement d'extensions | |
226 | Summary(pl.UTF-8): Pliki do budowania modułów i rozszerzeń dla GIMPa | |
227 | Summary(pt_BR.UTF-8): Kit de desenvolvimento de "plugins" extensões para o GIMP | |
228 | Summary(ru.UTF-8): Инструментарий для разработки плагинов и расширений GIMP | |
229 | Summary(tr.UTF-8): GIMP plugin ve uzantı geliştirme araçları | |
230 | Summary(uk.UTF-8): Інструментарій для розробки плагінів та розширень GIMP | |
231 | Summary(zh_CN.UTF-8): [开发]gimp的开发包 | |
232 | Summary(zh_TW.UTF-8): [開發]gimp的開發包 | |
233 | License: LGPL v2+ | |
234 | Group: X11/Development/Libraries | |
235 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
236 | Requires: cairo-devel >= 1.10.2 | |
237 | Requires: gdk-pixbuf2-devel >= 2.24.1 | |
238 | Requires: glib2-devel >= 1:2.30.2 | |
239 | Requires: gtk+2-devel >= 2:2.24.10 | |
240 | Requires: pango-devel >= 1:1.29.4 | |
241 | ||
242 | %description devel | |
243 | Header files for writing GIMP plugins and extensions. | |
244 | ||
245 | %description devel -l de.UTF-8 | |
246 | Header-Dateien zum Schreiben von GIMP-Plugins und -Erweiterungen. | |
247 | ||
248 | %description devel -l es.UTF-8 | |
249 | Bibliotecas y archivos de inclusión para escribir extensiones y | |
250 | plugins para GIMP. | |
251 | ||
252 | %description devel -l pl.UTF-8 | |
253 | Pliki nagłówkowe do tworzenia wtyczek i rozszerzeń dla GIMPa. | |
254 | ||
255 | %description devel -l pt_BR.UTF-8 | |
256 | Bibliotecas e arquivos de inclusão para escrever extensões e plugins | |
257 | para o GIMP. | |
258 | ||
259 | %package static | |
260 | Summary: GIMP static libraries | |
261 | Summary(pl.UTF-8): Biblioteki statyczne GIMPa | |
262 | License: LGPL v2+ | |
263 | Group: X11/Development/Libraries | |
264 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
265 | ||
266 | %description static | |
267 | GIMP static libraries. | |
268 | ||
269 | %description static -l es.UTF-8 | |
270 | Bibliotecas estáticas para escribir extensiones y plugins para GIMP. | |
271 | ||
272 | %description static -l pl.UTF-8 | |
273 | Biblioteki statyczne GIMPa. | |
274 | ||
275 | %description static -l pt_BR.UTF-8 | |
276 | Bibliotecas estáticas para desenvolvimento de plugins e extensões do | |
277 | GIMP. | |
278 | ||
279 | %package apidocs | |
280 | Summary: GIMP API documentation | |
281 | Summary(pl.UTF-8): Dokumentacja API GIMPa | |
282 | Group: Documentation | |
283 | Requires: gtk-doc-common | |
284 | %if "%{_rpmversion}" >= "5" | |
285 | BuildArch: noarch | |
286 | %endif | |
287 | ||
288 | %description apidocs | |
289 | GIMP API documentation. | |
290 | ||
291 | %description apidocs -l pl.UTF-8 | |
292 | Dokumentacja API GIMPa. | |
293 | ||
294 | %package aa | |
295 | Summary: ASCII Art plugin for GIMP | |
296 | Summary(fr.UTF-8): Plugin d'art ASCII pour GIMP | |
297 | Summary(pl.UTF-8): Wtyczka do ASCII Art do GIMPa | |
298 | Group: X11/Applications/Graphics | |
299 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
300 | ||
301 | %description aa | |
302 | This package contains the ASCII Art plugin which requires the aalib | |
303 | shared library. | |
304 | ||
305 | %description aa -l fr.UTF-8 | |
306 | Ce paquet contient le plugin d'art ASCII qui nécéssite la librairie | |
307 | partagée aalib. | |
308 | ||
309 | %description aa -l pl.UTF-8 | |
310 | Ten pakiet zawiera wtyczkę do GIMPa ze wsparciem do ASCII Art. | |
311 | ||
312 | %package svg | |
313 | Summary: SVG plugin for GIMP | |
314 | Summary(pl.UTF-8): Wtyczka SVG dla GIMPa | |
315 | Group: X11/Applications/Graphics | |
316 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
317 | Requires: librsvg >= 1:2.36.0 | |
318 | ||
319 | %description svg | |
320 | SVG plugin for GIMP. | |
321 | ||
322 | %description svg -l pl.UTF-8 | |
323 | Wtyczka SVG dla GIMPa. | |
324 | ||
325 | %prep | |
326 | %setup -q | |
327 | %patch0 -p1 | |
328 | %patch1 -p1 | |
329 | %patch2 -p1 | |
330 | %patch3 -p1 | |
331 | %patch4 -p1 | |
332 | ||
333 | %build | |
334 | %{__rm} acinclude.m4 | |
335 | %{__gtkdocize} | |
336 | %{__libtoolize} | |
337 | %{__aclocal} -I m4macros | |
338 | %{__autoconf} | |
339 | %{__autoheader} | |
340 | %{__automake} | |
341 | %configure \ | |
342 | %{!?with_python:--disable-python} \ | |
343 | --disable-silent-rules \ | |
344 | --enable-default-binary \ | |
345 | --enable-gtk-doc \ | |
346 | --enable-static \ | |
347 | --with-html-dir=%{_gtkdocdir} \ | |
348 | --with-lcms=2 \ | |
349 | %{?with_posix_shm:--with-shm=posix} \ | |
350 | %{!?with_webkit:--without-webkit} | |
351 | ||
352 | %{__make} | |
353 | ||
354 | %install | |
355 | rm -rf $RPM_BUILD_ROOT | |
356 | ||
357 | %{__make} install \ | |
358 | DESTDIR=$RPM_BUILD_ROOT | |
359 | ||
360 | # Link gimptool to gimptool-2.0.1 | |
361 | ln -s gimptool-2.0 $RPM_BUILD_ROOT%{_bindir}/gimptool | |
362 | echo '.so gimptool-2.0.1' > $RPM_BUILD_ROOT%{_mandir}/man1/gimptool.1 | |
363 | ||
364 | # Remove obsolete files | |
365 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.{a,la} | |
366 | %if %{with python} | |
367 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/python/*.{a,la,py} | |
368 | %endif | |
369 | ||
370 | %find_lang %{name} --all-name | |
371 | ||
372 | %clean | |
373 | rm -rf $RPM_BUILD_ROOT | |
374 | ||
375 | %post | |
376 | umask 022 | |
377 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: | |
378 | %update_icon_cache hicolor | |
379 | ||
380 | %postun | |
381 | umask 022 | |
382 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 | |
383 | %update_icon_cache hicolor | |
384 | ||
385 | %post libs -p /sbin/ldconfig | |
386 | %postun libs -p /sbin/ldconfig | |
387 | ||
388 | %files -f %{name}.lang | |
389 | %defattr(644,root,root,755) | |
390 | %doc AUTHORS ChangeLog LICENSE NEWS README | |
391 | %doc docs/Wilber* | |
392 | ||
393 | %attr(755,root,root) %{_bindir}/gimp-2.8 | |
394 | %attr(755,root,root) %{_bindir}/gimp | |
395 | %attr(755,root,root) %{_bindir}/gimp-console-2.8 | |
396 | %attr(755,root,root) %{_bindir}/gimp-console | |
397 | %{_datadir}/appdata/gimp.appdata.xml | |
398 | %{_desktopdir}/gimp.desktop | |
399 | %{_mandir}/man1/gimp-2.8.1* | |
400 | %{_mandir}/man1/gimp.1* | |
401 | %{_mandir}/man1/gimp-console-2.8.1* | |
402 | %{_mandir}/man1/gimp-console.1* | |
403 | %{_mandir}/man5/gimprc-2.8.5* | |
404 | %{_mandir}/man5/gimprc.5* | |
405 | ||
406 | %dir %{_libdir}/gimp | |
407 | %dir %{_libdir}/gimp/%{mver} | |
408 | %dir %{_libdir}/gimp/%{mver}/plug-ins | |
409 | %{_libdir}/gimp/%{mver}/interpreters | |
410 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/* | |
411 | %{?with_aalib:%exclude %{_libdir}/gimp/%{mver}/plug-ins/file-aa} | |
412 | %exclude %{_libdir}/gimp/%{mver}/plug-ins/file-svg | |
413 | ||
414 | %dir %{_libdir}/gimp/%{mver}/modules | |
415 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/modules/*.so | |
416 | %{_libdir}/gimp/%{mver}/environ | |
417 | ||
418 | %if %{with python} | |
419 | %dir %{_libdir}/gimp/%{mver}/python | |
420 | %{_libdir}/gimp/%{mver}/python/*.py[co] | |
421 | %{_libdir}/gimp/%{mver}/python/*.png | |
422 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/python/*.so | |
423 | %endif | |
424 | ||
425 | %dir %{_datadir}/gimp | |
426 | %dir %{_datadir}/gimp/%{mver} | |
427 | %{_datadir}/gimp/%{mver}/brushes | |
428 | %{_datadir}/gimp/%{mver}/dynamics | |
429 | %{_datadir}/gimp/%{mver}/fractalexplorer | |
430 | %{_datadir}/gimp/%{mver}/gfig | |
431 | %{_datadir}/gimp/%{mver}/gflare | |
432 | %{_datadir}/gimp/%{mver}/gimpressionist | |
433 | %{_datadir}/gimp/%{mver}/gradients | |
434 | %{_datadir}/gimp/%{mver}/images | |
435 | %{_datadir}/gimp/%{mver}/menus | |
436 | %{_datadir}/gimp/%{mver}/palettes | |
437 | %{_datadir}/gimp/%{mver}/patterns | |
438 | %{_datadir}/gimp/%{mver}/scripts | |
439 | %{_datadir}/gimp/%{mver}/tags | |
440 | %{_datadir}/gimp/%{mver}/themes | |
441 | %{_datadir}/gimp/%{mver}/tips | |
442 | %{_datadir}/gimp/%{mver}/tool-presets | |
443 | %{_datadir}/gimp/%{mver}/ui | |
444 | ||
445 | %dir %{_sysconfdir}/%{name} | |
446 | %dir %{_sysconfdir}/%{name}/%{mver} | |
447 | %config %verify(not md5 mtime) %{_sysconfdir}/%{name}/%{mver}/gimprc* | |
448 | %config(noreplace) %{_sysconfdir}/%{name}/%{mver}/templaterc | |
449 | %config %{_sysconfdir}/%{name}/%{mver}/controllerrc | |
450 | %config %{_sysconfdir}/%{name}/%{mver}/gtkrc* | |
451 | %config %{_sysconfdir}/%{name}/%{mver}/menurc | |
452 | %config %{_sysconfdir}/%{name}/%{mver}/sessionrc | |
453 | %config %{_sysconfdir}/%{name}/%{mver}/unitrc | |
454 | ||
455 | %{_iconsdir}/hicolor/*/apps/gimp.* | |
456 | ||
457 | %files libs | |
458 | %defattr(644,root,root,755) | |
459 | %attr(755,root,root) %{_libdir}/libgimp-2.0.so.*.*.* | |
460 | %attr(755,root,root) %ghost %{_libdir}/libgimp-2.0.so.0 | |
461 | %attr(755,root,root) %{_libdir}/libgimpbase-2.0.so.*.*.* | |
462 | %attr(755,root,root) %ghost %{_libdir}/libgimpbase-2.0.so.0 | |
463 | %attr(755,root,root) %{_libdir}/libgimpcolor-2.0.so.*.*.* | |
464 | %attr(755,root,root) %ghost %{_libdir}/libgimpcolor-2.0.so.0 | |
465 | %attr(755,root,root) %{_libdir}/libgimpconfig-2.0.so.*.*.* | |
466 | %attr(755,root,root) %ghost %{_libdir}/libgimpconfig-2.0.so.0 | |
467 | %attr(755,root,root) %{_libdir}/libgimpmath-2.0.so.*.*.* | |
468 | %attr(755,root,root) %ghost %{_libdir}/libgimpmath-2.0.so.0 | |
469 | %attr(755,root,root) %{_libdir}/libgimpmodule-2.0.so.*.*.* | |
470 | %attr(755,root,root) %ghost %{_libdir}/libgimpmodule-2.0.so.0 | |
471 | %attr(755,root,root) %{_libdir}/libgimpthumb-2.0.so.*.*.* | |
472 | %attr(755,root,root) %ghost %{_libdir}/libgimpthumb-2.0.so.0 | |
473 | %attr(755,root,root) %{_libdir}/libgimpui-2.0.so.*.*.* | |
474 | %attr(755,root,root) %ghost %{_libdir}/libgimpui-2.0.so.0 | |
475 | %attr(755,root,root) %{_libdir}/libgimpwidgets-2.0.so.*.*.* | |
476 | %attr(755,root,root) %ghost %{_libdir}/libgimpwidgets-2.0.so.0 | |
477 | ||
478 | %files devel | |
479 | %defattr(644,root,root,755) | |
480 | %attr(755,root,root) %{_bindir}/gimptool-%{mver} | |
481 | %attr(755,root,root) %{_bindir}/gimptool | |
482 | %attr(755,root,root) %{_libdir}/libgimp-2.0.so | |
483 | %attr(755,root,root) %{_libdir}/libgimpbase-2.0.so | |
484 | %attr(755,root,root) %{_libdir}/libgimpcolor-2.0.so | |
485 | %attr(755,root,root) %{_libdir}/libgimpconfig-2.0.so | |
486 | %attr(755,root,root) %{_libdir}/libgimpmath-2.0.so | |
487 | %attr(755,root,root) %{_libdir}/libgimpmodule-2.0.so | |
488 | %attr(755,root,root) %{_libdir}/libgimpthumb-2.0.so | |
489 | %attr(755,root,root) %{_libdir}/libgimpui-2.0.so | |
490 | %attr(755,root,root) %{_libdir}/libgimpwidgets-2.0.so | |
491 | %{_libdir}/libgimp-2.0.la | |
492 | %{_libdir}/libgimpbase-2.0.la | |
493 | %{_libdir}/libgimpcolor-2.0.la | |
494 | %{_libdir}/libgimpconfig-2.0.la | |
495 | %{_libdir}/libgimpmath-2.0.la | |
496 | %{_libdir}/libgimpmodule-2.0.la | |
497 | %{_libdir}/libgimpthumb-2.0.la | |
498 | %{_libdir}/libgimpui-2.0.la | |
499 | %{_libdir}/libgimpwidgets-2.0.la | |
500 | %{_pkgconfigdir}/gimp-2.0.pc | |
501 | %{_pkgconfigdir}/gimpthumb-2.0.pc | |
502 | %{_pkgconfigdir}/gimpui-2.0.pc | |
503 | %{_includedir}/gimp-2.0 | |
504 | %{_aclocaldir}/gimp-2.0.m4 | |
505 | %{_mandir}/man1/gimptool-%{mver}.1* | |
506 | %{_mandir}/man1/gimptool.1* | |
507 | ||
508 | %files static | |
509 | %defattr(644,root,root,755) | |
510 | %{_libdir}/libgimp-2.0.a | |
511 | %{_libdir}/libgimpbase-2.0.a | |
512 | %{_libdir}/libgimpcolor-2.0.a | |
513 | %{_libdir}/libgimpconfig-2.0.a | |
514 | %{_libdir}/libgimpmath-2.0.a | |
515 | %{_libdir}/libgimpmodule-2.0.a | |
516 | %{_libdir}/libgimpthumb-2.0.a | |
517 | %{_libdir}/libgimpui-2.0.a | |
518 | %{_libdir}/libgimpwidgets-2.0.a | |
519 | ||
520 | %files apidocs | |
521 | %defattr(644,root,root,755) | |
522 | %{_gtkdocdir}/libgimp | |
523 | %{_gtkdocdir}/libgimpbase | |
524 | %{_gtkdocdir}/libgimpcolor | |
525 | %{_gtkdocdir}/libgimpconfig | |
526 | %{_gtkdocdir}/libgimpmath | |
527 | %{_gtkdocdir}/libgimpmodule | |
528 | %{_gtkdocdir}/libgimpthumb | |
529 | %{_gtkdocdir}/libgimpwidgets | |
530 | ||
531 | %if %{with aalib} | |
532 | %files aa | |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/file-aa | |
535 | %endif | |
536 | ||
537 | %files svg | |
538 | %defattr(644,root,root,755) | |
539 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/file-svg |