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