]>
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 |
1bba32d9 | 27 | Release: 4.1 |
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 | |
1bba32d9 | 36 | Patch3: %{name}-udev.patch |
4fb170e2 | 37 | URL: http://www.gimp.org/ |
e30886a4 | 38 | %{?with_aalib:BuildRequires: aalib-devel} |
ad809b9e | 39 | BuildRequires: alsa-lib-devel >= 1.0.11 |
484cd167 | 40 | BuildRequires: autoconf >= 2.54 |
b03404b8 | 41 | BuildRequires: automake |
d4575fcf | 42 | BuildRequires: babl-devel >= 0.0.22 |
69287602 | 43 | BuildRequires: curl-devel >= 7.15.1 |
ee10671e | 44 | BuildRequires: dbus-glib-devel >= 0.70 |
6843b505 | 45 | BuildRequires: docbook-dtd412-xml |
d4575fcf | 46 | BuildRequires: gegl-devel >= 0.0.18 |
cc4df03d | 47 | BuildRequires: gettext-devel |
5a588737 | 48 | BuildRequires: giflib-devel |
651794d4 SS |
49 | BuildRequires: glib2-devel >= 1:2.16.1 |
50 | BuildRequires: gtk+2-devel >= 2:2.12.5 | |
ad809b9e | 51 | BuildRequires: gtk-doc >= 1.6 |
9b6bf357 | 52 | %{?with_webkit:BuildRequires: gtk-webkit-devel >= 1.0} |
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 |
b94aba6c | 70 | BuildRequires: udev-glib-devel >= 167 |
9b6bf357 JB |
71 | BuildRequires: xorg-lib-libXext-devel |
72 | BuildRequires: xorg-lib-libXfixes-devel | |
651794d4 | 73 | BuildRequires: xorg-lib-libXmu-devel |
ad809b9e | 74 | BuildRequires: xorg-lib-libXpm-devel |
9b6bf357 | 75 | BuildRequires: zlib-devel |
69287602 | 76 | %if %{with gnomevfs} |
ad809b9e | 77 | BuildRequires: gnome-vfs2-devel >= 2.15.91 |
9b6bf357 | 78 | BuildRequires: libgnome-keyring-devel >= 0.5.1 |
ad809b9e AM |
79 | BuildRequires: libgnomeui-devel >= 2.15.91 |
80 | %endif | |
9b6bf357 JB |
81 | %if %{with python} |
82 | BuildRequires: python-devel >= 1:2.5 | |
83 | BuildRequires: python-pygtk-devel >= 2:2.10.4 | |
84 | %endif | |
6f8083d8 AF |
85 | Requires(post,postun): gtk-update-icon-cache |
86 | Requires(post,postun): hicolor-icon-theme | |
ad809b9e | 87 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
69287602 | 88 | Requires: curl >= 7.15.1 |
9b6bf357 | 89 | Requires: dbus-glib >= 0.70 |
ad809b9e | 90 | Requires: hicolor-icon-theme |
9b6bf357 JB |
91 | Requires: lcms >= 1.16 |
92 | Requires: libexif >= 0.6.15 | |
69287602 | 93 | %{?with_python:Requires: python-pygtk-gtk >= 1:2.10.4} |
73ec8057 | 94 | Obsoletes: gimp-data-min |
95 | Obsoletes: gimp-libgimp | |
ad809b9e | 96 | Obsoletes: gimp-print |
1bc9bad9 | 97 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4fb170e2 | 98 | |
99 | %description | |
9732a65f | 100 | The GIMP is an image manipulation program suitable for photo |
101 | retouching, image composition and image authoring. Many people find it | |
102 | extremely useful in creating logos and other graphics for web pages. | |
103 | The GIMP has many of the tools and filters you would expect to find in | |
104 | similar commercial offerings, and some interesting extras as well. | |
4fb170e2 | 105 | |
9732a65f | 106 | The GIMP provides a large image manipulation toolbox, including |
107 | channel operations and layers, effects, sub-pixel imaging and | |
108 | anti-aliasing, and conversions, all with multi-level undo. | |
4fb170e2 | 109 | |
9732a65f | 110 | This version of The GIMP includes a scripting facility, but many of |
111 | the included scripts rely on fonts that we cannot distribute. The GIMP | |
d98f5926 | 112 | FTP site has a package of fonts that you can install by yourself, |
9732a65f | 113 | which includes all the fonts needed to run the included scripts. |
4fb170e2 | 114 | |
61ef8941 JR |
115 | %description -l es.UTF-8 |
116 | GIMP es un programa de manejo de imágenes adecuado para retoque de | |
117 | fotos, composición y editoración de imágenes. Muchas personas lo | |
118 | encuentran extremamente útil en la creación de logos y otros gráficos | |
119 | para páginas web. GIMP tiene muchas herramientas y filtros normalmente | |
120 | encontrados en aplicaciones comerciales similares, además de | |
121 | características extras bien interesantes. GIMP ofrece una extensa caja | |
50e3b3c9 | 122 | de herramientas de manejo de imagen, incluyendo camadas, efectos, |
61ef8941 | 123 | formación de imagen subpíxel y antialiasing, conversiones, todos con |
50e3b3c9 | 124 | deshacer en varios niveles (multi-level undo). |
125 | ||
61ef8941 | 126 | %description -l fr.UTF-8 |
9732a65f | 127 | Le Programme de Manipulation d'Image de GNU permet de retoucher des |
61ef8941 JR |
128 | photos, de réaliser des compositions. Beaucoup de gens l'apprécient |
129 | pour la création de logos et de graphismes pour les pages web. GIMP | |
9732a65f | 130 | dispose d'un grand nombre de filtres et de plug-ins que l'on ne trouve |
131 | que dans les logiciels commerciaux haut de gamme ainsi que de | |
61ef8941 | 132 | nombreuses fonctionnalité inédites. |
69866f7f | 133 | |
61ef8941 | 134 | GIMP fournit une boite à outil permettant de gérer plusieurs calques, |
9732a65f | 135 | de nombreux effets, l'anti-aliasing, les conversions de fichiers ainsi |
136 | qu'un grand nombre de niveaux d'annulation. | |
69866f7f | 137 | |
61ef8941 JR |
138 | %description -l pl.UTF-8 |
139 | Program GIMP jest przeznaczony do obróbki i tworzenia plików w różnych | |
140 | formatach graficznych. Przy jego użyciu można tworzyć grafikę dla | |
141 | stron WWW, retuszować zdjęcia, czy stworzyć własne logo. | |
fab1a3fd | 142 | |
61ef8941 JR |
143 | GIMP dostarcza duży zestaw narzędzi do obróbki obrazów, w tym do |
144 | operowania na kanałach i warstwach, efektów, antyaliasingu oraz | |
fab1a3fd JB |
145 | konwersji, a to wszystko z wielopoziomowym cofaniem operacji. |
146 | ||
61ef8941 JR |
147 | %description -l pt_BR.UTF-8 |
148 | O GIMP é um programa de manipulação de imagens adequado para retoque | |
149 | de fotos, composição e editoração de imagens. Muitas pessoas o acham | |
150 | extremamente útil na criação de logos e outros gráficos para páginas | |
50e3b3c9 | 151 | web. O GIMP tem muitas ferramentas e filtros normalmente encontrados |
61ef8941 | 152 | em aplicações comerciais similares, além de características extras bem |
50e3b3c9 | 153 | interessantes. |
154 | ||
61ef8941 JR |
155 | O GIMP fornece uma extensa caixa de ferramentas de manipulação de |
156 | imagem, incluindo camadas, efeitos, formação de imagem subpíxel e | |
157 | anti-aliasing, conversões, todos com desfazimento em vários níveis | |
50e3b3c9 | 158 | (multi-level undo). |
159 | ||
61ef8941 JR |
160 | %description -l ru.UTF-8 |
161 | GIMP - это программа для создания и обработки изображений. Ее считают | |
162 | исключительно полезной для создания логотипов и другой графики для | |
163 | web-страниц. GIMP имеет множество инструментов и фильтров, которые | |
164 | обычно включаются в аналогичные коммерческие пакеты, а также ряд | |
165 | возможностей, присущих только ей. | |
166 | ||
167 | GIMP предоставляет большой набор инструментов для работы с графикой, | |
168 | включающий операции над каналами, слоями, эффекты, sub-pixel imaging и | |
169 | антиалиасинг, всяческие конверторы и все это с многоуровневым откатом. | |
170 | ||
171 | GIMP включает поддержку создания сценариев (scripting facility), | |
172 | однако многие из поставляемых с программой сценариев предполагают | |
173 | наличие шрифтов, которые не могут быть включены в дистрибутив. | |
174 | FTP-сайт GIMP содержит пакет шрифтов, которые вы можете поставить | |
175 | самостоятельно, включающий все шрифты, необходимые для работы входящих | |
176 | в комплект сценариев. Некоторые из шрифтов имеют весьма необычные | |
177 | лицензионные требования; все лицензии включены в упомянутый пакет. | |
178 | Скачайте ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz и | |
179 | ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz, если хотите | |
180 | запускать сценарии без изменений или выберите те шрифты, которые | |
181 | установлены у вас в системе, перед запуском сценариев. | |
182 | ||
183 | %description -l uk.UTF-8 | |
184 | GIMP - це програма для створення та обробки зображень. Її вважають | |
185 | дуже корисною для створення логотипів та іншої графіки для | |
186 | web-сторінок. GIMP має багато інструментів та фільтрів, які звичайно | |
187 | включаються в аналогічні комерційні пакети, а також ряд можливостей, | |
188 | властивих саме їй. | |
189 | ||
190 | GIMP надає великий набір інструментів для роботи з графікою, що | |
191 | включає операції над каналами, шарами (layers), ефекти, sub-pixel | |
192 | imaging і антиаліасинг, різноманітні конвертори і все це з | |
193 | багаторівневим відкатом. | |
194 | ||
195 | GIMP має підтримку сценаріїв (scripting facility), проте багато з | |
196 | включених до поставки сценаріїв припускають наявність шрифтів, які не | |
197 | можуть бути включені в дистрибутив. FTP-сайт GIMP містить пакет | |
198 | шрифтів, котрі ви можете встановити самостійно, в який входять всі | |
199 | шрифти, необхідні для роботи сценаріїв з поставки GIMP. Деякі з | |
200 | шрифтів мають вельми незвичайні ліцензійні умови; всі ліцензії | |
201 | включено в згаданий пакет. Завантажте | |
202 | ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz та | |
203 | ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz. якщо хочете | |
204 | запускати сценарії без змін або ж виберіть встановалені у вас в | |
205 | системі шрифти перед запуском сценаріїв. | |
85e80133 | 206 | |
ad809b9e AM |
207 | %package libs |
208 | Summary: GIMP libraries | |
9b6bf357 | 209 | Summary(pl.UTF-8): Biblioteki GIMP-a |
52484641 | 210 | License: LGPL v2+ |
ad809b9e | 211 | Group: Libraries |
9b6bf357 JB |
212 | Requires: glib2 >= 1:2.16.1 |
213 | Requires: gtk+2 >= 2:2.12.5 | |
214 | Requires: pango >= 1:1.18.0 | |
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} |
9b6bf357 JB |
237 | Requires: glib2-devel >= 1:2.16.1 |
238 | Requires: gtk+2-devel >= 2:2.12.5 | |
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} | |
9b6bf357 | 312 | Requires: librsvg >= 2.15.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 | |
1bba32d9 | 325 | %patch3 -p1 |
4fb170e2 | 326 | |
327 | %build | |
fd63ac9e | 328 | rm acinclude.m4 m4macros/gtk-doc.m4 |
ed6d7c60 | 329 | %{__gtkdocize} |
a612bf8c | 330 | %{__libtoolize} |
fd63ac9e | 331 | %{__aclocal} -I m4macros |
a612bf8c | 332 | %{__autoconf} |
9917462c JB |
333 | %{__autoheader} |
334 | %{__automake} | |
a2c095ed | 335 | %configure \ |
69287602 | 336 | %{!?with_gnomevfs:--disable-gnomevfs} \ |
ee10671e | 337 | %{!?with_python:--disable-python} \ |
ad809b9e | 338 | --enable-default-binary \ |
d4575fcf | 339 | --enable-gimp-remote \ |
ad809b9e | 340 | --enable-gtk-doc \ |
ee10671e JB |
341 | --enable-static \ |
342 | --with-html-dir=%{_gtkdocdir} \ | |
343 | %{?with_posix_shm:--with-shm=posix} \ | |
344 | %{!?with_webkit:--without-webkit} | |
6843b505 | 345 | |
8bba970f | 346 | %{__make} |
4fb170e2 | 347 | |
348 | %install | |
349 | rm -rf $RPM_BUILD_ROOT | |
4fb170e2 | 350 | |
861ea416 | 351 | %{__make} install \ |
92ae10a0 | 352 | DESTDIR=$RPM_BUILD_ROOT |
4fb170e2 | 353 | |
d4575fcf | 354 | # Link gimptool to gimptool-2.0.1 |
245195de | 355 | ln -s gimptool-2.0 $RPM_BUILD_ROOT%{_bindir}/gimptool |
d4575fcf | 356 | echo '.so gimptool-2.0.1' > $RPM_BUILD_ROOT%{_mandir}/man1/gimptool.1 |
4490db1c | 357 | |
1f31051b JB |
358 | # remove unneeded files |
359 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.{a,la} | |
360 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/python/*.{a,la,py} | |
893e7980 | 361 | |
f67c6b3a | 362 | %find_lang %{name} --all-name |
363 | ||
e92dedfc | 364 | %clean |
365 | rm -rf $RPM_BUILD_ROOT | |
366 | ||
9a4c7b85 | 367 | %post |
1807b144 | 368 | umask 022 |
1807b144 | 369 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: |
6f8083d8 | 370 | %update_icon_cache hicolor |
9a4c7b85 | 371 | |
372 | %postun | |
1807b144 | 373 | umask 022 |
1807b144 | 374 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 |
6f8083d8 | 375 | %update_icon_cache hicolor |
1e34549c | 376 | |
ad809b9e AM |
377 | %post libs -p /sbin/ldconfig |
378 | %postun libs -p /sbin/ldconfig | |
71900306 | 379 | |
270bb890 | 380 | %files -f %{name}.lang |
a070df27 | 381 | %defattr(644,root,root,755) |
9b6bf357 | 382 | %doc AUTHORS ChangeLog LICENSE NEWS README |
ad809b9e | 383 | %doc docs/Wilber* |
0b48eaed | 384 | |
d4575fcf | 385 | %attr(755,root,root) %{_bindir}/gimp-2.6 |
4707e19d | 386 | %attr(755,root,root) %{_bindir}/gimp |
d4575fcf | 387 | %attr(755,root,root) %{_bindir}/gimp-console-2.6 |
4ec919fd | 388 | %attr(755,root,root) %{_bindir}/gimp-console |
d4575fcf | 389 | %attr(755,root,root) %{_bindir}/gimp-remote-2.6 |
4707e19d | 390 | %attr(755,root,root) %{_bindir}/gimp-remote |
139a4615 | 391 | %{_desktopdir}/gimp.desktop |
d4575fcf | 392 | %{_mandir}/man1/gimp-2.6.1* |
957f00ca | 393 | %{_mandir}/man1/gimp.1* |
d4575fcf | 394 | %{_mandir}/man1/gimp-console-2.6.1* |
957f00ca | 395 | %{_mandir}/man1/gimp-console.1* |
d4575fcf | 396 | %{_mandir}/man1/gimp-remote-2.6.1* |
957f00ca | 397 | %{_mandir}/man1/gimp-remote.1* |
d4575fcf | 398 | %{_mandir}/man5/gimprc-2.6.5* |
957f00ca | 399 | %{_mandir}/man5/gimprc.5* |
4fb170e2 | 400 | |
b1fd7741 | 401 | %dir %{_libdir}/gimp |
402 | %dir %{_libdir}/gimp/%{mver} | |
403 | %dir %{_libdir}/gimp/%{mver}/plug-ins | |
ad809b9e | 404 | %{_libdir}/gimp/%{mver}/interpreters |
f67c6b3a | 405 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/* |
d4575fcf AM |
406 | %{?with_aalib:%exclude %{_libdir}/gimp/%{mver}/plug-ins/file-aa} |
407 | %exclude %{_libdir}/gimp/%{mver}/plug-ins/file-svg | |
f67c6b3a | 408 | |
b1fd7741 | 409 | %dir %{_libdir}/gimp/%{mver}/modules |
410 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/modules/*.so | |
795282aa | 411 | %{_libdir}/gimp/%{mver}/environ |
b1fd7741 | 412 | |
e30886a4 | 413 | %if %{with python} |
5e1b99fc | 414 | %dir %{_libdir}/gimp/%{mver}/python |
415 | %{_libdir}/gimp/%{mver}/python/*.py[co] | |
5f53c47d | 416 | %{_libdir}/gimp/%{mver}/python/*.png |
5e1b99fc | 417 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/python/*.so |
e30886a4 | 418 | %endif |
5e1b99fc | 419 | |
6d30914e | 420 | %dir %{_datadir}/gimp |
b1fd7741 | 421 | %dir %{_datadir}/gimp/%{mver} |
422 | %{_datadir}/gimp/%{mver}/brushes | |
423 | %{_datadir}/gimp/%{mver}/fractalexplorer | |
424 | %{_datadir}/gimp/%{mver}/gfig | |
425 | %{_datadir}/gimp/%{mver}/gflare | |
426 | %{_datadir}/gimp/%{mver}/gimpressionist | |
427 | %{_datadir}/gimp/%{mver}/gradients | |
428 | %{_datadir}/gimp/%{mver}/images | |
9a4c7b85 | 429 | %{_datadir}/gimp/%{mver}/menus |
b1fd7741 | 430 | %{_datadir}/gimp/%{mver}/palettes |
431 | %{_datadir}/gimp/%{mver}/patterns | |
432 | %{_datadir}/gimp/%{mver}/scripts | |
433 | %{_datadir}/gimp/%{mver}/themes | |
434 | %{_datadir}/gimp/%{mver}/tips | |
b1fd7741 | 435 | |
c2ff8846 | 436 | %dir %{_sysconfdir}/%{name} |
437 | %dir %{_sysconfdir}/%{name}/%{mver} | |
438 | %config %verify(not md5 mtime) %{_sysconfdir}/%{name}/%{mver}/gimprc* | |
439 | %config(noreplace) %{_sysconfdir}/%{name}/%{mver}/templaterc | |
ad809b9e | 440 | %config %{_sysconfdir}/%{name}/%{mver}/controllerrc |
c2ff8846 | 441 | %config %{_sysconfdir}/%{name}/%{mver}/gtkrc* |
ad809b9e | 442 | %config %{_sysconfdir}/%{name}/%{mver}/menurc |
c2ff8846 | 443 | %config %{_sysconfdir}/%{name}/%{mver}/ps-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 |