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