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