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