]>
Commit | Line | Data |
---|---|---|
760952c4 MM |
1 | # |
2 | # Conditional build: | |
6063094e | 3 | %bcond_without aalib # without aa plugin (which requires aalib) |
efc0b05c | 4 | %bcond_without apidocs # disable gtk-doc |
6063094e | 5 | %bcond_without print # without print plugin (which requires gimp-print 4.2.x) |
6 | %bcond_without python # without python plugins | |
b43694c6 | 7 | %bcond_with posix_shm # with POSIX SHM (default is SysV SHM) |
efc0b05c | 8 | %bcond_without static_libs # do not build static libraries |
b1fd7741 | 9 | # |
50b28bc3 | 10 | %define mver 2.0 |
4fb170e2 | 11 | Summary: The GNU Image Manipulation Program |
6bed7f44 ER |
12 | Summary(de.UTF-8): Das GNU-Bildbearbeitungs-Programm |
13 | Summary(es.UTF-8): Programa de manipulación de imagen GNU | |
14 | Summary(fr.UTF-8): Le programme de manipulation d'images de GNU | |
15 | Summary(pl.UTF-8): Program GNU do manipulacji formatami graficznymi (GIMP) | |
16 | Summary(pt_BR.UTF-8): Programa de manipulação de imagem GNU | |
17 | Summary(ru.UTF-8): The GNU Image Manipulation Program | |
18 | Summary(tr.UTF-8): Çizim, boyama ve görüntü işleme programı | |
19 | Summary(uk.UTF-8): The GNU Image Manipulation Program | |
20 | Summary(zh_CN.UTF-8): [图像]GNU图象处理工具 | |
21 | Summary(zh_TW.UTF-8): [圖像]GNU圖象處理工具 | |
4fb170e2 | 22 | Name: gimp |
71900306 | 23 | Version: 2.2.13 |
e14d6c1f | 24 | Release: 1 |
3166825e | 25 | Epoch: 1 |
3037d88f | 26 | License: GPL |
4fb170e2 | 27 | Group: X11/Applications/Graphics |
7f01ce5f | 28 | Source0: ftp://ftp.gimp.org/pub/gimp/v2.2/%{name}-%{version}.tar.bz2 |
71900306 | 29 | # Source0-md5: d84a4a476a0c4fae24602db67f6fe49a |
98cdf971 | 30 | Patch0: %{name}-home_etc.patch |
4fb170e2 | 31 | URL: http://www.gimp.org/ |
e30886a4 | 32 | %{?with_aalib:BuildRequires: aalib-devel} |
3d4d3597 | 33 | BuildRequires: alsa-lib-devel >= 1.0.0 |
484cd167 | 34 | BuildRequires: autoconf >= 2.54 |
b03404b8 | 35 | BuildRequires: automake |
cc4df03d | 36 | BuildRequires: gettext-devel |
5a588737 | 37 | BuildRequires: giflib-devel |
484cd167 | 38 | %{?with_print:BuildRequires: gimp-print-devel < 4.3.0} |
53edd09b | 39 | %{?with_print:BuildRequires: gimp-print-devel >= 4.2.6} |
3d4d3597 | 40 | BuildRequires: gtk+2-devel >= 2:2.4.4 |
efc0b05c | 41 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.0} |
6678f2fa | 42 | BuildRequires: intltool |
9497dba2 | 43 | BuildRequires: lcms-devel |
a2c095ed | 44 | BuildRequires: libart_lgpl-devel |
04fb536f | 45 | BuildRequires: libexif-devel |
77278c4a | 46 | BuildRequires: libgtkhtml-devel >= 2.0.0 |
589cb4c6 | 47 | BuildRequires: libjpeg-devel |
211ee8fb | 48 | BuildRequires: libmng-devel |
13f6b3e2 | 49 | BuildRequires: libpng-devel >= 1.0.8 |
77278c4a | 50 | BuildRequires: librsvg-devel >= 2.2.0 |
1e34549c | 51 | BuildRequires: libtiff-devel |
484cd167 | 52 | BuildRequires: libtool >= 1:1.4.2-9 |
67301082 | 53 | BuildRequires: libwmf-devel >= 2:0.2.8 |
34c29447 | 54 | BuildRequires: pkgconfig |
77278c4a | 55 | %{?with_python:BuildRequires: python-pygtk-devel >= 1.99.15} |
8dfde541 | 56 | %{?with_python:BuildRequires: rpm-pythonprov} |
3d4d3597 | 57 | Requires: gtk+2 >= 2:2.4.4 |
77278c4a | 58 | %{?with_python:Requires: python-pygtk-gtk >= 1.99.15} |
73ec8057 | 59 | Obsoletes: gimp-data-min |
60 | Obsoletes: gimp-libgimp | |
1bc9bad9 | 61 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4fb170e2 | 62 | |
63 | %description | |
9732a65f | 64 | The GIMP is an image manipulation program suitable for photo |
65 | retouching, image composition and image authoring. Many people find it | |
66 | extremely useful in creating logos and other graphics for web pages. | |
67 | The GIMP has many of the tools and filters you would expect to find in | |
68 | similar commercial offerings, and some interesting extras as well. | |
4fb170e2 | 69 | |
9732a65f | 70 | The GIMP provides a large image manipulation toolbox, including |
71 | channel operations and layers, effects, sub-pixel imaging and | |
72 | anti-aliasing, and conversions, all with multi-level undo. | |
4fb170e2 | 73 | |
9732a65f | 74 | This version of The GIMP includes a scripting facility, but many of |
75 | the included scripts rely on fonts that we cannot distribute. The GIMP | |
d98f5926 | 76 | FTP site has a package of fonts that you can install by yourself, |
9732a65f | 77 | which includes all the fonts needed to run the included scripts. |
4fb170e2 | 78 | |
61ef8941 JR |
79 | %description -l es.UTF-8 |
80 | GIMP es un programa de manejo de imágenes adecuado para retoque de | |
81 | fotos, composición y editoración de imágenes. Muchas personas lo | |
82 | encuentran extremamente útil en la creación de logos y otros gráficos | |
83 | para páginas web. GIMP tiene muchas herramientas y filtros normalmente | |
84 | encontrados en aplicaciones comerciales similares, además de | |
85 | características extras bien interesantes. GIMP ofrece una extensa caja | |
50e3b3c9 | 86 | de herramientas de manejo de imagen, incluyendo camadas, efectos, |
61ef8941 | 87 | formación de imagen subpíxel y antialiasing, conversiones, todos con |
50e3b3c9 | 88 | deshacer en varios niveles (multi-level undo). |
89 | ||
61ef8941 | 90 | %description -l fr.UTF-8 |
9732a65f | 91 | Le Programme de Manipulation d'Image de GNU permet de retoucher des |
61ef8941 JR |
92 | photos, de réaliser des compositions. Beaucoup de gens l'apprécient |
93 | pour la création de logos et de graphismes pour les pages web. GIMP | |
9732a65f | 94 | dispose d'un grand nombre de filtres et de plug-ins que l'on ne trouve |
95 | que dans les logiciels commerciaux haut de gamme ainsi que de | |
61ef8941 | 96 | nombreuses fonctionnalité inédites. |
69866f7f | 97 | |
61ef8941 | 98 | GIMP fournit une boite à outil permettant de gérer plusieurs calques, |
9732a65f | 99 | de nombreux effets, l'anti-aliasing, les conversions de fichiers ainsi |
100 | qu'un grand nombre de niveaux d'annulation. | |
69866f7f | 101 | |
61ef8941 JR |
102 | %description -l pl.UTF-8 |
103 | Program GIMP jest przeznaczony do obróbki i tworzenia plików w różnych | |
104 | formatach graficznych. Przy jego użyciu można tworzyć grafikę dla | |
105 | stron WWW, retuszować zdjęcia, czy stworzyć własne logo. | |
fab1a3fd | 106 | |
61ef8941 JR |
107 | GIMP dostarcza duży zestaw narzędzi do obróbki obrazów, w tym do |
108 | operowania na kanałach i warstwach, efektów, antyaliasingu oraz | |
fab1a3fd JB |
109 | konwersji, a to wszystko z wielopoziomowym cofaniem operacji. |
110 | ||
61ef8941 JR |
111 | %description -l pt_BR.UTF-8 |
112 | O GIMP é um programa de manipulação de imagens adequado para retoque | |
113 | de fotos, composição e editoração de imagens. Muitas pessoas o acham | |
114 | extremamente útil na criação de logos e outros gráficos para páginas | |
50e3b3c9 | 115 | web. O GIMP tem muitas ferramentas e filtros normalmente encontrados |
61ef8941 | 116 | em aplicações comerciais similares, além de características extras bem |
50e3b3c9 | 117 | interessantes. |
118 | ||
61ef8941 JR |
119 | O GIMP fornece uma extensa caixa de ferramentas de manipulação de |
120 | imagem, incluindo camadas, efeitos, formação de imagem subpíxel e | |
121 | anti-aliasing, conversões, todos com desfazimento em vários níveis | |
50e3b3c9 | 122 | (multi-level undo). |
123 | ||
61ef8941 JR |
124 | %description -l ru.UTF-8 |
125 | GIMP - это программа для создания и обработки изображений. Ее считают | |
126 | исключительно полезной для создания логотипов и другой графики для | |
127 | web-страниц. GIMP имеет множество инструментов и фильтров, которые | |
128 | обычно включаются в аналогичные коммерческие пакеты, а также ряд | |
129 | возможностей, присущих только ей. | |
130 | ||
131 | GIMP предоставляет большой набор инструментов для работы с графикой, | |
132 | включающий операции над каналами, слоями, эффекты, sub-pixel imaging и | |
133 | антиалиасинг, всяческие конверторы и все это с многоуровневым откатом. | |
134 | ||
135 | GIMP включает поддержку создания сценариев (scripting facility), | |
136 | однако многие из поставляемых с программой сценариев предполагают | |
137 | наличие шрифтов, которые не могут быть включены в дистрибутив. | |
138 | FTP-сайт GIMP содержит пакет шрифтов, которые вы можете поставить | |
139 | самостоятельно, включающий все шрифты, необходимые для работы входящих | |
140 | в комплект сценариев. Некоторые из шрифтов имеют весьма необычные | |
141 | лицензионные требования; все лицензии включены в упомянутый пакет. | |
142 | Скачайте ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz и | |
143 | ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz, если хотите | |
144 | запускать сценарии без изменений или выберите те шрифты, которые | |
145 | установлены у вас в системе, перед запуском сценариев. | |
146 | ||
147 | %description -l uk.UTF-8 | |
148 | GIMP - це програма для створення та обробки зображень. Її вважають | |
149 | дуже корисною для створення логотипів та іншої графіки для | |
150 | web-сторінок. GIMP має багато інструментів та фільтрів, які звичайно | |
151 | включаються в аналогічні комерційні пакети, а також ряд можливостей, | |
152 | властивих саме їй. | |
153 | ||
154 | GIMP надає великий набір інструментів для роботи з графікою, що | |
155 | включає операції над каналами, шарами (layers), ефекти, sub-pixel | |
156 | imaging і антиаліасинг, різноманітні конвертори і все це з | |
157 | багаторівневим відкатом. | |
158 | ||
159 | GIMP має підтримку сценаріїв (scripting facility), проте багато з | |
160 | включених до поставки сценаріїв припускають наявність шрифтів, які не | |
161 | можуть бути включені в дистрибутив. FTP-сайт GIMP містить пакет | |
162 | шрифтів, котрі ви можете встановити самостійно, в який входять всі | |
163 | шрифти, необхідні для роботи сценаріїв з поставки GIMP. Деякі з | |
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 | системі шрифти перед запуском сценаріїв. | |
85e80133 | 170 | |
00347be4 | 171 | %package devel |
4fb170e2 | 172 | Summary: GIMP plugin and extension development kit |
6bed7f44 ER |
173 | Summary(de.UTF-8): GIMP-Plugin und Extension Development Kit |
174 | Summary(es.UTF-8): Kit de desarrollo de "plugins" extensiones para GIMP | |
175 | Summary(fr.UTF-8): Plugin GIMP et kit de développement d'extensions | |
176 | Summary(pl.UTF-8): Pliki do budowania modułów i rozszerzeń dla Gimpa | |
177 | Summary(pt_BR.UTF-8): Kit de desenvolvimento de "plugins" extensões para o GIMP | |
178 | Summary(ru.UTF-8): Инструментарий для разработки плагинов и расширений GIMP | |
179 | Summary(tr.UTF-8): GIMP plugin ve uzantı geliştirme araçları | |
180 | Summary(uk.UTF-8): Інструментарій для розробки плагінів та розширень GIMP | |
181 | Summary(zh_CN.UTF-8): [开发]gimp的开发包 | |
182 | Summary(zh_TW.UTF-8): [開發]gimp的開發包 | |
3037d88f | 183 | License: LGPL |
50e3b3c9 | 184 | Group: X11/Development/Libraries |
9a4c7b85 | 185 | Requires(post,postun): /sbin/ldconfig |
77278c4a | 186 | Requires: %{name} = %{epoch}:%{version}-%{release} |
3d4d3597 | 187 | Requires: gtk+2-devel >= 2:2.4.4 |
53edd09b | 188 | Requires: gtk-doc-common |
4fb170e2 | 189 | |
190 | %description devel | |
191 | Header files for writing GIMP plugins and extensions. | |
192 | ||
61ef8941 | 193 | %description devel -l de.UTF-8 |
9732a65f | 194 | Header-Dateien zum Schreiben von GIMP-Plugins und -Erweiterungen. |
4fb170e2 | 195 | |
61ef8941 JR |
196 | %description devel -l es.UTF-8 |
197 | Bibliotecas y archivos de inclusión para escribir extensiones y | |
50e3b3c9 | 198 | plugins para Gimp. |
199 | ||
61ef8941 JR |
200 | %description devel -l pl.UTF-8 |
201 | Pliki nagłówkowe do tworzenia wtyczek i rozszerzeń dla Gimpa. | |
73ec8057 | 202 | |
61ef8941 JR |
203 | %description devel -l pt_BR.UTF-8 |
204 | Bibliotecas e arquivos de inclusão para escrever extensões e plugins | |
50e3b3c9 | 205 | para o Gimp. |
206 | ||
4fb170e2 | 207 | %package static |
00347be4 | 208 | Summary: GIMP static libraries |
6bed7f44 | 209 | Summary(pl.UTF-8): Biblioteki statyczne Gimpa |
50e3b3c9 | 210 | Group: X11/Development/Libraries |
77278c4a | 211 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
4fb170e2 | 212 | |
213 | %description static | |
00347be4 | 214 | GIMP static libraries. |
4fb170e2 | 215 | |
61ef8941 JR |
216 | %description static -l es.UTF-8 |
217 | Bibliotecas estáticas para escribir extensiones y plugins para Gimp. | |
50e3b3c9 | 218 | |
61ef8941 | 219 | %description static -l pl.UTF-8 |
fab1a3fd | 220 | Biblioteki statyczne Gimpa. |
4fb170e2 | 221 | |
61ef8941 JR |
222 | %description static -l pt_BR.UTF-8 |
223 | Bibliotecas estáticas para desenvolvimento de plugins e extensões do | |
50e3b3c9 | 224 | GIMP. |
225 | ||
32d149f2 | 226 | %package aa |
227 | Summary: ASCII Art plugin for Gimp | |
6bed7f44 ER |
228 | Summary(fr.UTF-8): Plugin d'art ASCII pour Gimp |
229 | Summary(pl.UTF-8): Wtyczka do ASCII Art do Gimpa | |
32d149f2 | 230 | Group: X11/Applications/Graphics |
77278c4a | 231 | Requires: %{name} = %{epoch}:%{version}-%{release} |
32d149f2 | 232 | |
233 | %description aa | |
9732a65f | 234 | This package contains the ASCII Art plugin which requires the aalib |
235 | shared library. | |
32d149f2 | 236 | |
61ef8941 JR |
237 | %description aa -l fr.UTF-8 |
238 | Ce paquet contient le plugin d'art ASCII qui nécéssite la librairie | |
239 | partagée aalib. | |
32d149f2 | 240 | |
61ef8941 JR |
241 | %description aa -l pl.UTF-8 |
242 | Ten pakiet zawiera wtyczkę do Gimpa ze wsparciem do ASCII Art. | |
fa0aabeb | 243 | |
9e868ea9 JB |
244 | %package print |
245 | Summary: Print plugin for Gimp | |
6bed7f44 | 246 | Summary(pl.UTF-8): Wtyczka do drukowania dla Gimpa |
9e868ea9 | 247 | Group: X11/Applications/Graphics |
77278c4a | 248 | Requires: %{name} = %{epoch}:%{version}-%{release} |
9173de14 | 249 | Requires: gimp-print-lib >= 4.2.6 |
9e868ea9 JB |
250 | |
251 | %description print | |
252 | Print plugin for Gimp. | |
253 | ||
61ef8941 | 254 | %description print -l pl.UTF-8 |
9e868ea9 JB |
255 | Wtyczka do drukowania dla Gimpa. |
256 | ||
fc9fae14 JB |
257 | %package svg |
258 | Summary: SVG plugin for Gimp | |
6bed7f44 | 259 | Summary(pl.UTF-8): Wtyczka SVG dla Gimpa |
fc9fae14 JB |
260 | Group: X11/Applications/Graphics |
261 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
262 | Requires: librsvg >= 2.2.0 | |
263 | ||
264 | %description svg | |
265 | SVG plugin for Gimp. | |
266 | ||
61ef8941 | 267 | %description svg -l pl.UTF-8 |
fc9fae14 JB |
268 | Wtyczka SVG dla Gimpa. |
269 | ||
d4aa4a70 | 270 | %prep |
7f01ce5f | 271 | %setup -q |
c3ea1d23 | 272 | %patch0 -p1 |
002734ec | 273 | |
274 | cp /usr/share/automake/py-compile plug-ins/pygimp | |
4fb170e2 | 275 | |
276 | %build | |
a612bf8c AF |
277 | %{__libtoolize} |
278 | %{__aclocal} | |
a612bf8c | 279 | %{__autoconf} |
9917462c JB |
280 | %{__autoheader} |
281 | %{__automake} | |
002734ec | 282 | |
a2c095ed | 283 | %configure \ |
729ea4f7 | 284 | %{!?with_print: --disable-print} \ |
efc0b05c | 285 | --disable-rpath \ |
286 | --enable-default-binary \ | |
287 | %{?with_apidocs:--enable-gtk-doc} \ | |
77278c4a | 288 | --enable-mp \ |
efc0b05c | 289 | %{?with_python: --enable-python} \ |
1f0404b3 | 290 | %{?with_static_libs:--enable-static} \ |
f67c6b3a | 291 | --with-html-dir=%{_gtkdocdir} \ |
b43694c6 | 292 | %{?with_posix_shm:--with-shm=posix} |
53edd09b | 293 | |
9986c4a2 | 294 | %{__make} |
4fb170e2 | 295 | |
296 | %install | |
297 | rm -rf $RPM_BUILD_ROOT | |
f67c6b3a | 298 | install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} |
4fb170e2 | 299 | |
861ea416 | 300 | %{__make} install \ |
92ae10a0 | 301 | DESTDIR=$RPM_BUILD_ROOT |
4fb170e2 | 302 | |
39c686e1 | 303 | ######################################################### |
304 | # This is hack indeed, but it was supposed to disappear # | |
305 | # when version 2.0 will arrive but it doesn't :( # | |
306 | ######################################################### | |
4fb170e2 | 307 | |
b1fd7741 | 308 | cat $RPM_BUILD_ROOT%{_datadir}/gimp/%{mver}/misc/gimp.desktop | \ |
795282aa | 309 | sed 's@/usr/share/gimp/%{mver}/images/@@' > \ |
139a4615 | 310 | $RPM_BUILD_ROOT%{_desktopdir}/gimp.desktop |
a2c095ed | 311 | install data/images/wilber-icon.png $RPM_BUILD_ROOT%{_pixmapsdir} |
dabc55e7 | 312 | |
39c686e1 | 313 | ################### end hack ############################ |
f67c6b3a | 314 | |
4490db1c | 315 | # Link gimptool to gimptool-2.0 |
316 | ||
9a4c7b85 | 317 | ln -s gimptool-%{mver} $RPM_BUILD_ROOT%{_bindir}/gimptool |
318 | echo '.so gimptool-%{mver}' > $RPM_BUILD_ROOT%{_mandir}/man1/gimptool.1 | |
4490db1c | 319 | |
92ae10a0 | 320 | # Remove obsolete files |
f67c6b3a | 321 | rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.{a,la} |
322 | rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/python/*.{a,la,py} | |
323 | rm -f $RPM_BUILD_ROOT%{_datadir}/gimp/%{mver}/misc/gimp.{applications,desktop,keys} | |
c3160bf9 | 324 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no |
325 | ||
f67c6b3a | 326 | %find_lang %{name} --all-name |
327 | ||
e92dedfc | 328 | %clean |
329 | rm -rf $RPM_BUILD_ROOT | |
330 | ||
9a4c7b85 | 331 | %post |
1807b144 | 332 | umask 022 |
333 | /sbin/ldconfig | |
334 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: | |
9a4c7b85 | 335 | |
336 | %postun | |
1807b144 | 337 | umask 022 |
338 | /sbin/ldconfig | |
339 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 | |
1e34549c | 340 | |
71900306 JB |
341 | %if %{with posix_shm} |
342 | %verifyscript | |
343 | if ! grep -q -s '^[^ ]* /dev/shm tmpfs ' /proc/mounts ; then | |
344 | echo "/dev/shm is not mounted, but GIMP was compiled to use POSIX SHM" | |
345 | fi | |
346 | %endif | |
347 | ||
270bb890 | 348 | %files -f %{name}.lang |
a070df27 | 349 | %defattr(644,root,root,755) |
9a4c7b85 | 350 | %doc AUTHORS ChangeLog NEWS README |
a2c095ed | 351 | %doc docs/{*.txt,quick_reference.*,Wilber*} |
0b48eaed | 352 | |
9a4c7b85 | 353 | %attr(755,root,root) %{_bindir}/gimp-2.2 |
4707e19d | 354 | %attr(755,root,root) %{_bindir}/gimp |
9a4c7b85 | 355 | %attr(755,root,root) %{_bindir}/gimp-remote-2.2 |
4707e19d | 356 | %attr(755,root,root) %{_bindir}/gimp-remote |
139a4615 | 357 | %{_desktopdir}/gimp.desktop |
37a4df9e | 358 | %{_mandir}/man1/gimp-2* |
9a4c7b85 | 359 | %{_mandir}/man1/gimp-remote-2* |
360 | %{_mandir}/man5/gimprc-2* | |
4fb170e2 | 361 | |
ffff73ae | 362 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
b1fd7741 | 363 | %dir %{_libdir}/gimp |
364 | %dir %{_libdir}/gimp/%{mver} | |
365 | %dir %{_libdir}/gimp/%{mver}/plug-ins | |
f67c6b3a | 366 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/* |
e30886a4 | 367 | %{?with_aalib:%exclude %{_libdir}/gimp/%{mver}/plug-ins/aa} |
368 | %{?with_print:%exclude %{_libdir}/gimp/%{mver}/plug-ins/print} | |
fc9fae14 | 369 | %exclude %{_libdir}/gimp/%{mver}/plug-ins/svg |
f67c6b3a | 370 | |
b1fd7741 | 371 | %dir %{_libdir}/gimp/%{mver}/modules |
372 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/modules/*.so | |
795282aa | 373 | %{_libdir}/gimp/%{mver}/environ |
b1fd7741 | 374 | |
e30886a4 | 375 | %if %{with python} |
5e1b99fc | 376 | %dir %{_libdir}/gimp/%{mver}/python |
377 | %{_libdir}/gimp/%{mver}/python/*.py[co] | |
5f53c47d | 378 | %{_libdir}/gimp/%{mver}/python/*.png |
5e1b99fc | 379 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/python/*.so |
e30886a4 | 380 | %endif |
5e1b99fc | 381 | |
6d30914e | 382 | %dir %{_datadir}/gimp |
b1fd7741 | 383 | %dir %{_datadir}/gimp/%{mver} |
384 | %{_datadir}/gimp/%{mver}/brushes | |
385 | %{_datadir}/gimp/%{mver}/fractalexplorer | |
386 | %{_datadir}/gimp/%{mver}/gfig | |
387 | %{_datadir}/gimp/%{mver}/gflare | |
388 | %{_datadir}/gimp/%{mver}/gimpressionist | |
389 | %{_datadir}/gimp/%{mver}/gradients | |
390 | %{_datadir}/gimp/%{mver}/images | |
9a4c7b85 | 391 | %{_datadir}/gimp/%{mver}/menus |
b1fd7741 | 392 | %{_datadir}/gimp/%{mver}/palettes |
393 | %{_datadir}/gimp/%{mver}/patterns | |
394 | %{_datadir}/gimp/%{mver}/scripts | |
395 | %{_datadir}/gimp/%{mver}/themes | |
396 | %{_datadir}/gimp/%{mver}/tips | |
397 | %dir %{_datadir}/gimp/%{mver}/misc | |
b1fd7741 | 398 | |
c2ff8846 | 399 | %dir %{_sysconfdir}/%{name} |
400 | %dir %{_sysconfdir}/%{name}/%{mver} | |
401 | %config %verify(not md5 mtime) %{_sysconfdir}/%{name}/%{mver}/gimprc* | |
402 | %config(noreplace) %{_sysconfdir}/%{name}/%{mver}/templaterc | |
403 | %config %{_sysconfdir}/%{name}/%{mver}/gtkrc* | |
404 | %config %{_sysconfdir}/%{name}/%{mver}/ps-menurc | |
96930415 | 405 | %config %{_sysconfdir}/%{name}/%{mver}/sessionrc |
c2ff8846 | 406 | %config %{_sysconfdir}/%{name}/%{mver}/unitrc |
9a4c7b85 | 407 | %config %{_sysconfdir}/%{name}/%{mver}/controllerrc |
a2c095ed | 408 | |
409 | %{_pixmapsdir}/* | |
4fb170e2 | 410 | |
411 | %files devel | |
412 | %defattr(644,root,root,755) | |
9a4c7b85 | 413 | %attr(755,root,root) %{_bindir}/gimptool-%{mver} |
4490db1c | 414 | %attr(755,root,root) %{_bindir}/gimptool |
05f33191 | 415 | %attr(755,root,root) %{_libdir}/lib*.so |
dc5134ee | 416 | %{_libdir}/lib*.la |
9e868ea9 | 417 | %{_pkgconfigdir}/* |
34c29447 | 418 | %{_gtkdocdir}/* |
73ec8057 | 419 | |
9a4c7b85 | 420 | %{_includedir}/gimp-2.0 |
3a9958b6 | 421 | %{_aclocaldir}/gimp-2.0.m4 |
a070df27 | 422 | |
9a4c7b85 | 423 | %{_mandir}/man1/gimptool-%{mver}* |
1c8473da | 424 | %{_mandir}/man1/gimptool.1* |
4fb170e2 | 425 | |
efc0b05c | 426 | %if %{with static_libs} |
4fb170e2 | 427 | %files static |
dd12c98b | 428 | %defattr(644,root,root,755) |
429 | %{_libdir}/lib*.a | |
efc0b05c | 430 | %endif |
32d149f2 | 431 | |
e30886a4 | 432 | %if %{with aalib} |
32d149f2 | 433 | %files aa |
dd12c98b | 434 | %defattr(644,root,root,755) |
b1fd7741 | 435 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/aa |
579bb1d3 | 436 | %endif |
9e868ea9 | 437 | |
e30886a4 | 438 | %if %{with print} |
9e868ea9 JB |
439 | %files print |
440 | %defattr(644,root,root,755) | |
441 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/print | |
442 | %endif | |
fc9fae14 JB |
443 | |
444 | %files svg | |
445 | %defattr(644,root,root,755) | |
446 | %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/svg |