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