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