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