]>
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 |
8bba970f | 25 | Version: 2.4.7 |
26 | Release: 1 | |
3166825e | 27 | Epoch: 1 |
52484641 | 28 | License: GPL v2+ |
4fb170e2 | 29 | Group: X11/Applications/Graphics |
ad809b9e | 30 | Source0: ftp://ftp.gimp.org/pub/gimp/v2.4/%{name}-%{version}.tar.bz2 |
8bba970f | 31 | # Source0-md5: 8d0e059597d70fbdeb77e6447bae29c4 |
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 |
69287602 JB |
40 | BuildRequires: curl-devel >= 7.15.1 |
41 | BuildRequires: dbus-devel >= 0.70 | |
cc4df03d | 42 | BuildRequires: gettext-devel |
5a588737 | 43 | BuildRequires: giflib-devel |
69287602 JB |
44 | BuildRequires: glib2-devel >= 1:2.12.3 |
45 | BuildRequires: gtk+2-devel >= 2:2.10.13 | |
ad809b9e | 46 | BuildRequires: gtk-doc >= 1.6 |
69287602 | 47 | BuildRequires: hal-devel >= 0.5.7 |
ad809b9e | 48 | BuildRequires: intltool >= 0.35.0 |
9497dba2 | 49 | BuildRequires: lcms-devel |
a2c095ed | 50 | BuildRequires: libart_lgpl-devel |
69287602 | 51 | BuildRequires: libexif-devel >= 0.6.15 |
ad809b9e | 52 | BuildRequires: libgtkhtml-devel >= 2.6.3 |
589cb4c6 | 53 | BuildRequires: libjpeg-devel |
211ee8fb | 54 | BuildRequires: libmng-devel |
ad809b9e AM |
55 | BuildRequires: libpng-devel >= 1.2.12 |
56 | BuildRequires: librsvg-devel >= 1:2.15.0 | |
1e34549c | 57 | BuildRequires: libtiff-devel |
484cd167 | 58 | BuildRequires: libtool >= 1:1.4.2-9 |
67301082 | 59 | BuildRequires: libwmf-devel >= 2:0.2.8 |
69287602 | 60 | BuildRequires: pango-devel >= 1:1.12.2 |
34c29447 | 61 | BuildRequires: pkgconfig |
ad809b9e AM |
62 | BuildRequires: poppler-glib-devel >= 0.6 |
63 | BuildRequires: rpm-pythonprov | |
64 | BuildRequires: xorg-lib-libXpm-devel | |
69287602 JB |
65 | %{?with_python:BuildRequires: python-pygtk-devel >= 1:2.10.4} |
66 | %if %{with gnomevfs} | |
ad809b9e AM |
67 | BuildRequires: gnome-keyring-devel >= 0.5.1 |
68 | BuildRequires: gnome-vfs2-devel >= 2.15.91 | |
69 | BuildRequires: libgnomeui-devel >= 2.15.91 | |
70 | %endif | |
69287602 | 71 | Requires(post,postun): gtk+2 >= 2:2.10.13 |
ad809b9e | 72 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
69287602 JB |
73 | Requires: curl >= 7.15.1 |
74 | Requires: glib2 >= 1:2.12.3 | |
75 | Requires: gtk+2 >= 2:2.10.13 | |
ad809b9e | 76 | Requires: hicolor-icon-theme |
69287602 JB |
77 | Requires: pango >= 1:1.12.2 |
78 | %{?with_python:Requires: python-pygtk-gtk >= 1:2.10.4} | |
73ec8057 | 79 | Obsoletes: gimp-data-min |
80 | Obsoletes: gimp-libgimp | |
ad809b9e | 81 | Obsoletes: gimp-print |
1bc9bad9 | 82 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4fb170e2 | 83 | |
84 | %description | |
9732a65f | 85 | The GIMP is an image manipulation program suitable for photo |
86 | retouching, image composition and image authoring. Many people find it | |
87 | extremely useful in creating logos and other graphics for web pages. | |
88 | The GIMP has many of the tools and filters you would expect to find in | |
89 | similar commercial offerings, and some interesting extras as well. | |
4fb170e2 | 90 | |
9732a65f | 91 | The GIMP provides a large image manipulation toolbox, including |
92 | channel operations and layers, effects, sub-pixel imaging and | |
93 | anti-aliasing, and conversions, all with multi-level undo. | |
4fb170e2 | 94 | |
9732a65f | 95 | This version of The GIMP includes a scripting facility, but many of |
96 | the included scripts rely on fonts that we cannot distribute. The GIMP | |
d98f5926 | 97 | FTP site has a package of fonts that you can install by yourself, |
9732a65f | 98 | which includes all the fonts needed to run the included scripts. |
4fb170e2 | 99 | |
61ef8941 JR |
100 | %description -l es.UTF-8 |
101 | GIMP es un programa de manejo de imágenes adecuado para retoque de | |
102 | fotos, composición y editoración de imágenes. Muchas personas lo | |
103 | encuentran extremamente útil en la creación de logos y otros gráficos | |
104 | para páginas web. GIMP tiene muchas herramientas y filtros normalmente | |
105 | encontrados en aplicaciones comerciales similares, además de | |
106 | características extras bien interesantes. GIMP ofrece una extensa caja | |
50e3b3c9 | 107 | de herramientas de manejo de imagen, incluyendo camadas, efectos, |
61ef8941 | 108 | formación de imagen subpíxel y antialiasing, conversiones, todos con |
50e3b3c9 | 109 | deshacer en varios niveles (multi-level undo). |
110 | ||
61ef8941 | 111 | %description -l fr.UTF-8 |
9732a65f | 112 | Le Programme de Manipulation d'Image de GNU permet de retoucher des |
61ef8941 JR |
113 | photos, de réaliser des compositions. Beaucoup de gens l'apprécient |
114 | pour la création de logos et de graphismes pour les pages web. GIMP | |
9732a65f | 115 | dispose d'un grand nombre de filtres et de plug-ins que l'on ne trouve |
116 | que dans les logiciels commerciaux haut de gamme ainsi que de | |
61ef8941 | 117 | nombreuses fonctionnalité inédites. |
69866f7f | 118 | |
61ef8941 | 119 | GIMP fournit une boite à outil permettant de gérer plusieurs calques, |
9732a65f | 120 | de nombreux effets, l'anti-aliasing, les conversions de fichiers ainsi |
121 | qu'un grand nombre de niveaux d'annulation. | |
69866f7f | 122 | |
61ef8941 JR |
123 | %description -l pl.UTF-8 |
124 | Program GIMP jest przeznaczony do obróbki i tworzenia plików w różnych | |
125 | formatach graficznych. Przy jego użyciu można tworzyć grafikę dla | |
126 | stron WWW, retuszować zdjęcia, czy stworzyć własne logo. | |
fab1a3fd | 127 | |
61ef8941 JR |
128 | GIMP dostarcza duży zestaw narzędzi do obróbki obrazów, w tym do |
129 | operowania na kanałach i warstwach, efektów, antyaliasingu oraz | |
fab1a3fd JB |
130 | konwersji, a to wszystko z wielopoziomowym cofaniem operacji. |
131 | ||
61ef8941 JR |
132 | %description -l pt_BR.UTF-8 |
133 | O GIMP é um programa de manipulação de imagens adequado para retoque | |
134 | de fotos, composição e editoração de imagens. Muitas pessoas o acham | |
135 | extremamente útil na criação de logos e outros gráficos para páginas | |
50e3b3c9 | 136 | web. O GIMP tem muitas ferramentas e filtros normalmente encontrados |
61ef8941 | 137 | em aplicações comerciais similares, além de características extras bem |
50e3b3c9 | 138 | interessantes. |
139 | ||
61ef8941 JR |
140 | O GIMP fornece uma extensa caixa de ferramentas de manipulação de |
141 | imagem, incluindo camadas, efeitos, formação de imagem subpíxel e | |
142 | anti-aliasing, conversões, todos com desfazimento em vários níveis | |
50e3b3c9 | 143 | (multi-level undo). |
144 | ||
61ef8941 JR |
145 | %description -l ru.UTF-8 |
146 | GIMP - это программа для создания и обработки изображений. Ее считают | |
147 | исключительно полезной для создания логотипов и другой графики для | |
148 | web-страниц. GIMP имеет множество инструментов и фильтров, которые | |
149 | обычно включаются в аналогичные коммерческие пакеты, а также ряд | |
150 | возможностей, присущих только ей. | |
151 | ||
152 | GIMP предоставляет большой набор инструментов для работы с графикой, | |
153 | включающий операции над каналами, слоями, эффекты, sub-pixel imaging и | |
154 | антиалиасинг, всяческие конверторы и все это с многоуровневым откатом. | |
155 | ||
156 | GIMP включает поддержку создания сценариев (scripting facility), | |
157 | однако многие из поставляемых с программой сценариев предполагают | |
158 | наличие шрифтов, которые не могут быть включены в дистрибутив. | |
159 | FTP-сайт GIMP содержит пакет шрифтов, которые вы можете поставить | |
160 | самостоятельно, включающий все шрифты, необходимые для работы входящих | |
161 | в комплект сценариев. Некоторые из шрифтов имеют весьма необычные | |
162 | лицензионные требования; все лицензии включены в упомянутый пакет. | |
163 | Скачайте ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz и | |
164 | ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz, если хотите | |
165 | запускать сценарии без изменений или выберите те шрифты, которые | |
166 | установлены у вас в системе, перед запуском сценариев. | |
167 | ||
168 | %description -l uk.UTF-8 | |
169 | GIMP - це програма для створення та обробки зображень. Її вважають | |
170 | дуже корисною для створення логотипів та іншої графіки для | |
171 | web-сторінок. GIMP має багато інструментів та фільтрів, які звичайно | |
172 | включаються в аналогічні комерційні пакети, а також ряд можливостей, | |
173 | властивих саме їй. | |
174 | ||
175 | GIMP надає великий набір інструментів для роботи з графікою, що | |
176 | включає операції над каналами, шарами (layers), ефекти, sub-pixel | |
177 | imaging і антиаліасинг, різноманітні конвертори і все це з | |
178 | багаторівневим відкатом. | |
179 | ||
180 | GIMP має підтримку сценаріїв (scripting facility), проте багато з | |
181 | включених до поставки сценаріїв припускають наявність шрифтів, які не | |
182 | можуть бути включені в дистрибутив. FTP-сайт GIMP містить пакет | |
183 | шрифтів, котрі ви можете встановити самостійно, в який входять всі | |
184 | шрифти, необхідні для роботи сценаріїв з поставки GIMP. Деякі з | |
185 | шрифтів мають вельми незвичайні ліцензійні умови; всі ліцензії | |
186 | включено в згаданий пакет. Завантажте | |
187 | ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz та | |
188 | ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz. якщо хочете | |
189 | запускати сценарії без змін або ж виберіть встановалені у вас в | |
190 | системі шрифти перед запуском сценаріїв. | |
85e80133 | 191 | |
ad809b9e AM |
192 | %package libs |
193 | Summary: GIMP libraries | |
a062d2cc | 194 | Summary(pl.UTF-8): Biblioteki GIMPa |
52484641 | 195 | License: LGPL v2+ |
ad809b9e AM |
196 | Group: Libraries |
197 | Requires: gtk+2 >= 2:2.10.6 | |
198 | ||
199 | %description libs | |
200 | This package contains GIMP libraries. | |
201 | ||
202 | %description libs -l pl.UTF-8 | |
203 | Pakiet zawiera biblioteki GIMPa. | |
204 | ||
00347be4 | 205 | %package devel |
4fb170e2 | 206 | Summary: GIMP plugin and extension development kit |
a062d2cc | 207 | Summary(de.UTF-8): GIMP-Plugin und Extension Development Kit |
208 | Summary(es.UTF-8): Kit de desarrollo de "plugins" extensiones para GIMP | |
209 | Summary(fr.UTF-8): Plugin GIMP et kit de développement d'extensions | |
4ec919fd | 210 | Summary(pl.UTF-8): Pliki do budowania modułów i rozszerzeń dla GIMPa |
a062d2cc | 211 | Summary(pt_BR.UTF-8): Kit de desenvolvimento de "plugins" extensões para o GIMP |
212 | Summary(ru.UTF-8): Инструментарий для разработки плагинов и расширений GIMP | |
213 | Summary(tr.UTF-8): GIMP plugin ve uzantı geliştirme araçları | |
214 | Summary(uk.UTF-8): Інструментарій для розробки плагінів та розширень GIMP | |
215 | Summary(zh_CN.UTF-8): [开发]gimp的开发包 | |
216 | Summary(zh_TW.UTF-8): [開發]gimp的開發包 | |
52484641 | 217 | License: LGPL v2+ |
50e3b3c9 | 218 | Group: X11/Development/Libraries |
ad809b9e | 219 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
ad809b9e | 220 | Requires: gtk+2-devel >= 2:2.10.0 |
4fb170e2 | 221 | |
222 | %description devel | |
223 | Header files for writing GIMP plugins and extensions. | |
224 | ||
61ef8941 | 225 | %description devel -l de.UTF-8 |
9732a65f | 226 | Header-Dateien zum Schreiben von GIMP-Plugins und -Erweiterungen. |
4fb170e2 | 227 | |
61ef8941 JR |
228 | %description devel -l es.UTF-8 |
229 | Bibliotecas y archivos de inclusión para escribir extensiones y | |
4ec919fd | 230 | plugins para GIMP. |
50e3b3c9 | 231 | |
61ef8941 | 232 | %description devel -l pl.UTF-8 |
4ec919fd | 233 | Pliki nagłówkowe do tworzenia wtyczek i rozszerzeń dla GIMPa. |
73ec8057 | 234 | |
61ef8941 JR |
235 | %description devel -l pt_BR.UTF-8 |
236 | Bibliotecas e arquivos de inclusão para escrever extensões e plugins | |
4ec919fd | 237 | para o GIMP. |
50e3b3c9 | 238 | |
4fb170e2 | 239 | %package static |
00347be4 | 240 | Summary: GIMP static libraries |
4ec919fd | 241 | Summary(pl.UTF-8): Biblioteki statyczne GIMPa |
52484641 | 242 | License: LGPL v2+ |
50e3b3c9 | 243 | Group: X11/Development/Libraries |
77278c4a | 244 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
4fb170e2 | 245 | |
246 | %description static | |
00347be4 | 247 | GIMP static libraries. |
4fb170e2 | 248 | |
61ef8941 | 249 | %description static -l es.UTF-8 |
4ec919fd | 250 | Bibliotecas estáticas para escribir extensiones y plugins para GIMP. |
50e3b3c9 | 251 | |
61ef8941 | 252 | %description static -l pl.UTF-8 |
4ec919fd | 253 | Biblioteki statyczne GIMPa. |
4fb170e2 | 254 | |
61ef8941 JR |
255 | %description static -l pt_BR.UTF-8 |
256 | Bibliotecas estáticas para desenvolvimento de plugins e extensões do | |
50e3b3c9 | 257 | GIMP. |
258 | ||
4ec919fd MB |
259 | %package apidocs |
260 | Summary: GIMP API documentation | |
261 | Summary(pl.UTF-8): Dokumentacja API GIMPa | |
262 | Group: Documentation | |
263 | Requires: gtk-doc-common | |
264 | ||
265 | %description apidocs | |
266 | GIMP API documentation. | |
267 | ||
268 | %description apidocs -l pl.UTF-8 | |
269 | Dokumentacja API GIMPa. | |
270 | ||
32d149f2 | 271 | %package aa |
4ec919fd MB |
272 | Summary: ASCII Art plugin for GIMP |
273 | Summary(fr.UTF-8): Plugin d'art ASCII pour GIMP | |
274 | Summary(pl.UTF-8): Wtyczka do ASCII Art do GIMPa | |
32d149f2 | 275 | Group: X11/Applications/Graphics |
77278c4a | 276 | Requires: %{name} = %{epoch}:%{version}-%{release} |
32d149f2 | 277 | |
278 | %description aa | |
9732a65f | 279 | This package contains the ASCII Art plugin which requires the aalib |
280 | shared library. | |
32d149f2 | 281 | |
61ef8941 JR |
282 | %description aa -l fr.UTF-8 |
283 | Ce paquet contient le plugin d'art ASCII qui nécéssite la librairie | |
284 | partagée aalib. | |
32d149f2 | 285 | |
61ef8941 | 286 | %description aa -l pl.UTF-8 |
4ec919fd | 287 | Ten pakiet zawiera wtyczkę do GIMPa ze wsparciem do ASCII Art. |
fa0aabeb | 288 | |
fc9fae14 | 289 | %package svg |
4ec919fd MB |
290 | Summary: SVG plugin for GIMP |
291 | Summary(pl.UTF-8): Wtyczka SVG dla GIMPa | |
fc9fae14 JB |
292 | Group: X11/Applications/Graphics |
293 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
294 | Requires: librsvg >= 2.2.0 | |
295 | ||
296 | %description svg | |
4ec919fd | 297 | SVG plugin for GIMP. |
fc9fae14 | 298 | |
61ef8941 | 299 | %description svg -l pl.UTF-8 |
4ec919fd | 300 | Wtyczka SVG dla GIMPa. |
fc9fae14 | 301 | |
d4aa4a70 | 302 | %prep |
7f01ce5f | 303 | %setup -q |
c3ea1d23 | 304 | %patch0 -p1 |
ad809b9e AM |
305 | %patch1 -p1 |
306 | %patch2 -p1 | |
4fb170e2 | 307 | |
308 | %build | |
a612bf8c AF |
309 | %{__libtoolize} |
310 | %{__aclocal} | |
a612bf8c | 311 | %{__autoconf} |
9917462c JB |
312 | %{__autoheader} |
313 | %{__automake} | |
a2c095ed | 314 | %configure \ |
69287602 | 315 | %{!?with_gnomevfs:--disable-gnomevfs} \ |
efc0b05c | 316 | --disable-rpath \ |
ad809b9e | 317 | %{!?with_python: --disable-python} \ |
77278c4a | 318 | --enable-mp \ |
f67c6b3a | 319 | --with-html-dir=%{_gtkdocdir} \ |
ad809b9e AM |
320 | --enable-default-binary \ |
321 | --enable-static \ | |
322 | --enable-gtk-doc \ | |
b43694c6 | 323 | %{?with_posix_shm:--with-shm=posix} |
ad809b9e | 324 | |
8bba970f | 325 | %{__make} |
4fb170e2 | 326 | |
327 | %install | |
328 | rm -rf $RPM_BUILD_ROOT | |
4fb170e2 | 329 | |
861ea416 | 330 | %{__make} install \ |
92ae10a0 | 331 | DESTDIR=$RPM_BUILD_ROOT |
4fb170e2 | 332 | |
4490db1c | 333 | # Link gimptool to gimptool-2.0 |
9a4c7b85 | 334 | ln -s gimptool-%{mver} $RPM_BUILD_ROOT%{_bindir}/gimptool |
335 | echo '.so gimptool-%{mver}' > $RPM_BUILD_ROOT%{_mandir}/man1/gimptool.1 | |
957f00ca JB |
336 | # replace symlinks with .so links |
337 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{gimp-console*,gimp-remote,gimp}.1 \ | |
338 | $RPM_BUILD_ROOT%{_mandir}/man5/gimprc.5 | |
339 | echo '.so gimp-2.4' > $RPM_BUILD_ROOT%{_mandir}/man1/gimp.1 | |
340 | echo '.so gimp-2.4' > $RPM_BUILD_ROOT%{_mandir}/man1/gimp-console-2.4.1 | |
341 | echo '.so gimp-2.4' > $RPM_BUILD_ROOT%{_mandir}/man1/gimp-console.1 | |
342 | echo '.so gimp-remote-2.4' > $RPM_BUILD_ROOT%{_mandir}/man1/gimp-remote.1 | |
343 | echo '.so gimprc-2.4' > $RPM_BUILD_ROOT%{_mandir}/man5/gimprc.5 | |
4490db1c | 344 | |
92ae10a0 | 345 | # Remove obsolete files |
f67c6b3a | 346 | rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.{a,la} |
347 | rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/python/*.{a,la,py} | |
ad809b9e | 348 | rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info} |
c3160bf9 | 349 | |
893e7980 | 350 | # error: gimp-2.4.6-1: req /usr/share/locale/ca@valencia/LC_MESSAGES not found |
351 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca@valencia | |
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 | |
ad809b9e | 376 | %attr(755,root,root) %{_bindir}/gimp-2.4 |
4707e19d | 377 | %attr(755,root,root) %{_bindir}/gimp |
ad809b9e | 378 | %attr(755,root,root) %{_bindir}/gimp-console-2.4 |
4ec919fd | 379 | %attr(755,root,root) %{_bindir}/gimp-console |
ad809b9e | 380 | %attr(755,root,root) %{_bindir}/gimp-remote-2.4 |
4707e19d | 381 | %attr(755,root,root) %{_bindir}/gimp-remote |
139a4615 | 382 | %{_desktopdir}/gimp.desktop |
957f00ca JB |
383 | %{_mandir}/man1/gimp-2.4.1* |
384 | %{_mandir}/man1/gimp.1* | |
385 | %{_mandir}/man1/gimp-console-2.4.1* | |
386 | %{_mandir}/man1/gimp-console.1* | |
387 | %{_mandir}/man1/gimp-remote-2.4.1* | |
388 | %{_mandir}/man1/gimp-remote.1* | |
389 | %{_mandir}/man5/gimprc-2.4.5* | |
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/* |
e30886a4 | 397 | %{?with_aalib:%exclude %{_libdir}/gimp/%{mver}/plug-ins/aa} |
fc9fae14 | 398 | %exclude %{_libdir}/gimp/%{mver}/plug-ins/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) |
b1fd7741 | 517 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/aa |
579bb1d3 | 518 | %endif |
9e868ea9 | 519 | |
fc9fae14 JB |
520 | %files svg |
521 | %defattr(644,root,root,755) | |
522 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/svg |