]>
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 |
3b97d1cd | 25 | Version: 2.4.2 |
e14d6c1f | 26 | Release: 1 |
3166825e | 27 | Epoch: 1 |
3037d88f | 28 | License: GPL |
4fb170e2 | 29 | Group: X11/Applications/Graphics |
ad809b9e | 30 | Source0: ftp://ftp.gimp.org/pub/gimp/v2.4/%{name}-%{version}.tar.bz2 |
3b97d1cd | 31 | # Source0-md5: ebd8902d29753d41c8d51a3efd84d1bf |
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 |
ad809b9e AM |
195 | Group: Libraries |
196 | Requires: gtk+2 >= 2:2.10.6 | |
197 | ||
198 | %description libs | |
199 | This package contains GIMP libraries. | |
200 | ||
201 | %description libs -l pl.UTF-8 | |
202 | Pakiet zawiera biblioteki GIMPa. | |
203 | ||
00347be4 | 204 | %package devel |
4fb170e2 | 205 | Summary: GIMP plugin and extension development kit |
a062d2cc | 206 | Summary(de.UTF-8): GIMP-Plugin und Extension Development Kit |
207 | Summary(es.UTF-8): Kit de desarrollo de "plugins" extensiones para GIMP | |
208 | Summary(fr.UTF-8): Plugin GIMP et kit de développement d'extensions | |
209 | Summary(pl.UTF-8): Pliki do budowania modułów i rozszerzeń dla Gimpa | |
210 | Summary(pt_BR.UTF-8): Kit de desenvolvimento de "plugins" extensões para o GIMP | |
211 | Summary(ru.UTF-8): Инструментарий для разработки плагинов и расширений GIMP | |
212 | Summary(tr.UTF-8): GIMP plugin ve uzantı geliştirme araçları | |
213 | Summary(uk.UTF-8): Інструментарій для розробки плагінів та розширень GIMP | |
214 | Summary(zh_CN.UTF-8): [开发]gimp的开发包 | |
215 | Summary(zh_TW.UTF-8): [開發]gimp的開發包 | |
3037d88f | 216 | License: LGPL |
50e3b3c9 | 217 | Group: X11/Development/Libraries |
ad809b9e | 218 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
53edd09b | 219 | Requires: gtk-doc-common |
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 | |
50e3b3c9 | 230 | plugins para Gimp. |
231 | ||
61ef8941 JR |
232 | %description devel -l pl.UTF-8 |
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 | |
50e3b3c9 | 237 | para o Gimp. |
238 | ||
4fb170e2 | 239 | %package static |
00347be4 | 240 | Summary: GIMP static libraries |
a062d2cc | 241 | Summary(pl.UTF-8): Biblioteki statyczne Gimpa |
50e3b3c9 | 242 | Group: X11/Development/Libraries |
77278c4a | 243 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
4fb170e2 | 244 | |
245 | %description static | |
00347be4 | 246 | GIMP static libraries. |
4fb170e2 | 247 | |
61ef8941 JR |
248 | %description static -l es.UTF-8 |
249 | Bibliotecas estáticas para escribir extensiones y plugins para Gimp. | |
50e3b3c9 | 250 | |
61ef8941 | 251 | %description static -l pl.UTF-8 |
fab1a3fd | 252 | Biblioteki statyczne Gimpa. |
4fb170e2 | 253 | |
61ef8941 JR |
254 | %description static -l pt_BR.UTF-8 |
255 | Bibliotecas estáticas para desenvolvimento de plugins e extensões do | |
50e3b3c9 | 256 | GIMP. |
257 | ||
32d149f2 | 258 | %package aa |
259 | Summary: ASCII Art plugin for Gimp | |
a062d2cc | 260 | Summary(fr.UTF-8): Plugin d'art ASCII pour Gimp |
261 | Summary(pl.UTF-8): Wtyczka do ASCII Art do Gimpa | |
32d149f2 | 262 | Group: X11/Applications/Graphics |
77278c4a | 263 | Requires: %{name} = %{epoch}:%{version}-%{release} |
32d149f2 | 264 | |
265 | %description aa | |
9732a65f | 266 | This package contains the ASCII Art plugin which requires the aalib |
267 | shared library. | |
32d149f2 | 268 | |
61ef8941 JR |
269 | %description aa -l fr.UTF-8 |
270 | Ce paquet contient le plugin d'art ASCII qui nécéssite la librairie | |
271 | partagée aalib. | |
32d149f2 | 272 | |
61ef8941 JR |
273 | %description aa -l pl.UTF-8 |
274 | Ten pakiet zawiera wtyczkę do Gimpa ze wsparciem do ASCII Art. | |
fa0aabeb | 275 | |
fc9fae14 JB |
276 | %package svg |
277 | Summary: SVG plugin for Gimp | |
a062d2cc | 278 | Summary(pl.UTF-8): Wtyczka SVG dla Gimpa |
fc9fae14 JB |
279 | Group: X11/Applications/Graphics |
280 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
281 | Requires: librsvg >= 2.2.0 | |
282 | ||
283 | %description svg | |
284 | SVG plugin for Gimp. | |
285 | ||
61ef8941 | 286 | %description svg -l pl.UTF-8 |
fc9fae14 JB |
287 | Wtyczka SVG dla Gimpa. |
288 | ||
d4aa4a70 | 289 | %prep |
7f01ce5f | 290 | %setup -q |
c3ea1d23 | 291 | %patch0 -p1 |
ad809b9e AM |
292 | %patch1 -p1 |
293 | %patch2 -p1 | |
4fb170e2 | 294 | |
295 | %build | |
a612bf8c AF |
296 | %{__libtoolize} |
297 | %{__aclocal} | |
a612bf8c | 298 | %{__autoconf} |
9917462c JB |
299 | %{__autoheader} |
300 | %{__automake} | |
a2c095ed | 301 | %configure \ |
69287602 | 302 | %{!?with_gnomevfs:--disable-gnomevfs} \ |
efc0b05c | 303 | --disable-rpath \ |
ad809b9e | 304 | %{!?with_python: --disable-python} \ |
77278c4a | 305 | --enable-mp \ |
f67c6b3a | 306 | --with-html-dir=%{_gtkdocdir} \ |
ad809b9e AM |
307 | --enable-default-binary \ |
308 | --enable-static \ | |
309 | --enable-gtk-doc \ | |
b43694c6 | 310 | %{?with_posix_shm:--with-shm=posix} |
ad809b9e AM |
311 | |
312 | %{__make} -j1 | |
4fb170e2 | 313 | |
314 | %install | |
315 | rm -rf $RPM_BUILD_ROOT | |
4fb170e2 | 316 | |
861ea416 | 317 | %{__make} install \ |
92ae10a0 | 318 | DESTDIR=$RPM_BUILD_ROOT |
4fb170e2 | 319 | |
39c686e1 | 320 | ################### end hack ############################ |
f67c6b3a | 321 | |
4490db1c | 322 | # Link gimptool to gimptool-2.0 |
323 | ||
9a4c7b85 | 324 | ln -s gimptool-%{mver} $RPM_BUILD_ROOT%{_bindir}/gimptool |
325 | echo '.so gimptool-%{mver}' > $RPM_BUILD_ROOT%{_mandir}/man1/gimptool.1 | |
4490db1c | 326 | |
92ae10a0 | 327 | # Remove obsolete files |
f67c6b3a | 328 | rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.{a,la} |
329 | rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/python/*.{a,la,py} | |
ad809b9e | 330 | rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info} |
c3160bf9 | 331 | |
f67c6b3a | 332 | %find_lang %{name} --all-name |
333 | ||
e92dedfc | 334 | %clean |
335 | rm -rf $RPM_BUILD_ROOT | |
336 | ||
9a4c7b85 | 337 | %post |
1807b144 | 338 | umask 022 |
1807b144 | 339 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: |
ad809b9e | 340 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor |
9a4c7b85 | 341 | |
342 | %postun | |
1807b144 | 343 | umask 022 |
1807b144 | 344 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 |
ad809b9e | 345 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor |
1e34549c | 346 | |
ad809b9e AM |
347 | %post libs -p /sbin/ldconfig |
348 | %postun libs -p /sbin/ldconfig | |
71900306 | 349 | |
270bb890 | 350 | %files -f %{name}.lang |
a070df27 | 351 | %defattr(644,root,root,755) |
9a4c7b85 | 352 | %doc AUTHORS ChangeLog NEWS README |
ad809b9e | 353 | %doc docs/Wilber* |
0b48eaed | 354 | |
ad809b9e | 355 | %attr(755,root,root) %{_bindir}/gimp-2.4 |
4707e19d | 356 | %attr(755,root,root) %{_bindir}/gimp |
ad809b9e AM |
357 | %attr(755,root,root) %{_bindir}/gimp-console-2.4 |
358 | %attr(755,root,root) %{_bindir}/gimp-remote-2.4 | |
4707e19d | 359 | %attr(755,root,root) %{_bindir}/gimp-remote |
139a4615 | 360 | %{_desktopdir}/gimp.desktop |
37a4df9e | 361 | %{_mandir}/man1/gimp-2* |
9a4c7b85 | 362 | %{_mandir}/man1/gimp-remote-2* |
363 | %{_mandir}/man5/gimprc-2* | |
4fb170e2 | 364 | |
b1fd7741 | 365 | %dir %{_libdir}/gimp |
366 | %dir %{_libdir}/gimp/%{mver} | |
367 | %dir %{_libdir}/gimp/%{mver}/plug-ins | |
ad809b9e | 368 | %{_libdir}/gimp/%{mver}/interpreters |
f67c6b3a | 369 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/* |
e30886a4 | 370 | %{?with_aalib:%exclude %{_libdir}/gimp/%{mver}/plug-ins/aa} |
fc9fae14 | 371 | %exclude %{_libdir}/gimp/%{mver}/plug-ins/svg |
f67c6b3a | 372 | |
b1fd7741 | 373 | %dir %{_libdir}/gimp/%{mver}/modules |
374 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/modules/*.so | |
795282aa | 375 | %{_libdir}/gimp/%{mver}/environ |
b1fd7741 | 376 | |
e30886a4 | 377 | %if %{with python} |
5e1b99fc | 378 | %dir %{_libdir}/gimp/%{mver}/python |
379 | %{_libdir}/gimp/%{mver}/python/*.py[co] | |
5f53c47d | 380 | %{_libdir}/gimp/%{mver}/python/*.png |
5e1b99fc | 381 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/python/*.so |
e30886a4 | 382 | %endif |
5e1b99fc | 383 | |
6d30914e | 384 | %dir %{_datadir}/gimp |
b1fd7741 | 385 | %dir %{_datadir}/gimp/%{mver} |
386 | %{_datadir}/gimp/%{mver}/brushes | |
387 | %{_datadir}/gimp/%{mver}/fractalexplorer | |
388 | %{_datadir}/gimp/%{mver}/gfig | |
389 | %{_datadir}/gimp/%{mver}/gflare | |
390 | %{_datadir}/gimp/%{mver}/gimpressionist | |
391 | %{_datadir}/gimp/%{mver}/gradients | |
392 | %{_datadir}/gimp/%{mver}/images | |
9a4c7b85 | 393 | %{_datadir}/gimp/%{mver}/menus |
b1fd7741 | 394 | %{_datadir}/gimp/%{mver}/palettes |
395 | %{_datadir}/gimp/%{mver}/patterns | |
396 | %{_datadir}/gimp/%{mver}/scripts | |
397 | %{_datadir}/gimp/%{mver}/themes | |
398 | %{_datadir}/gimp/%{mver}/tips | |
b1fd7741 | 399 | |
c2ff8846 | 400 | %dir %{_sysconfdir}/%{name} |
401 | %dir %{_sysconfdir}/%{name}/%{mver} | |
402 | %config %verify(not md5 mtime) %{_sysconfdir}/%{name}/%{mver}/gimprc* | |
403 | %config(noreplace) %{_sysconfdir}/%{name}/%{mver}/templaterc | |
ad809b9e | 404 | %config %{_sysconfdir}/%{name}/%{mver}/controllerrc |
c2ff8846 | 405 | %config %{_sysconfdir}/%{name}/%{mver}/gtkrc* |
ad809b9e | 406 | %config %{_sysconfdir}/%{name}/%{mver}/menurc |
c2ff8846 | 407 | %config %{_sysconfdir}/%{name}/%{mver}/ps-menurc |
96930415 | 408 | %config %{_sysconfdir}/%{name}/%{mver}/sessionrc |
c2ff8846 | 409 | %config %{_sysconfdir}/%{name}/%{mver}/unitrc |
a2c095ed | 410 | |
ad809b9e AM |
411 | %{_iconsdir}/hicolor/*/apps/gimp.* |
412 | ||
413 | %files libs | |
414 | %defattr(644,root,root,755) | |
415 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
4fb170e2 | 416 | |
417 | %files devel | |
418 | %defattr(644,root,root,755) | |
9a4c7b85 | 419 | %attr(755,root,root) %{_bindir}/gimptool-%{mver} |
4490db1c | 420 | %attr(755,root,root) %{_bindir}/gimptool |
05f33191 | 421 | %attr(755,root,root) %{_libdir}/lib*.so |
dc5134ee | 422 | %{_libdir}/lib*.la |
9e868ea9 | 423 | %{_pkgconfigdir}/* |
34c29447 | 424 | %{_gtkdocdir}/* |
73ec8057 | 425 | |
9a4c7b85 | 426 | %{_includedir}/gimp-2.0 |
3a9958b6 | 427 | %{_aclocaldir}/gimp-2.0.m4 |
a070df27 | 428 | |
9a4c7b85 | 429 | %{_mandir}/man1/gimptool-%{mver}* |
1c8473da | 430 | %{_mandir}/man1/gimptool.1* |
4fb170e2 | 431 | |
432 | %files static | |
dd12c98b | 433 | %defattr(644,root,root,755) |
434 | %{_libdir}/lib*.a | |
32d149f2 | 435 | |
e30886a4 | 436 | %if %{with aalib} |
32d149f2 | 437 | %files aa |
dd12c98b | 438 | %defattr(644,root,root,755) |
b1fd7741 | 439 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/aa |
579bb1d3 | 440 | %endif |
9e868ea9 | 441 | |
fc9fae14 JB |
442 | %files svg |
443 | %defattr(644,root,root,755) | |
444 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/svg |