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