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