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