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