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