]> git.pld-linux.org Git - packages/gimp.git/blob - gimp.spec
- updated to 2.0.2; removed patch2
[packages/gimp.git] / gimp.spec
1 #
2 # Conditional build:
3 %bcond_without  aalib           # without aa plugin (which requires aalib)
4 %bcond_without  print           # without print plugin (which requires gimp-print 4.2.x)
5 %bcond_without  python          # without python plugins
6 %bcond_with     file_chooser    # use new file chooser introduced in gtk+2 2.4
7 #
8 %define mver    2.0
9 %define pre     rc1
10 Summary:        The GNU Image Manipulation Program
11 Summary(de):    Das GNU-Bildbearbeitungs-Programm
12 Summary(es):    Programa de manipulación de imagen GNU
13 Summary(fr):    Le programme de manipulation d'images de GNU
14 Summary(pl):    Program GNU do manipulacji formatami graficznymi (GIMP)
15 Summary(pt_BR): Programa de manipulação de imagem GNU
16 Summary(ru):    The GNU Image Manipulation Program
17 Summary(tr):    Çizim, boyama ve görüntü iþleme programý
18 Summary(uk):    The GNU Image Manipulation Program
19 Summary(zh_CN): [ͼÏñ]GNUͼÏó´¦Àí¹¤¾ß
20 Summary(zh_TW): [¹Ï¹³]GNU¹Ï¶H³B²z¤u¨ã
21 Name:           gimp
22 Version:        2.0.2
23 Release:        1
24 Epoch:          1
25 License:        GPL
26 Group:          X11/Applications/Graphics
27 Source0:        ftp://ftp.gimp.org/pub/gimp/v2.0/%{name}-%{version}.tar.bz2
28 # Source0-md5:  b0dfdf4720e09ffa44fdc4d1bb48f82b
29 Patch0:         %{name}-home_etc.patch
30 Patch1:         %{name}-locale-names.patch
31 # Patch3 comes from http://mitch.gimp.org/filechooser/
32 Patch3:         %{name}-file-chooser-10.patch
33 URL:            http://www.gimp.org/
34 Icon:           gimp.gif
35 %{?with_aalib:BuildRequires:    aalib-devel}
36 BuildRequires:  autoconf >= 2.54
37 BuildRequires:  automake
38 BuildRequires:  gettext-devel
39 %{?with_print:BuildRequires:    gimp-print-devel >= 4.2.6}
40 %{?with_print:BuildRequires:    gimp-print-devel < 4.3.0}
41 %{?with_file_chooser:BuildRequires:     gtk+2-devel >= 2:2.4.0}
42 %{!?with_file_chooser:BuildRequires:    gtk+2-devel >= 1:2.2.2}
43 BuildRequires:  gtk-doc >= 1.0
44 BuildRequires:  intltool
45 BuildRequires:  lcms-devel
46 BuildRequires:  libart_lgpl-devel
47 BuildRequires:  libexif-devel
48 BuildRequires:  libgtkhtml-devel >= 2.0.0
49 BuildRequires:  libjpeg-devel
50 BuildRequires:  libmng-devel
51 BuildRequires:  libpng-devel >= 1.0.8
52 BuildRequires:  librsvg-devel >= 2.2.0
53 BuildRequires:  libtiff-devel
54 BuildRequires:  libtool >= 1:1.4.2-9
55 BuildRequires:  libungif-devel
56 BuildRequires:  libwmf-devel >= 0.2.8
57 BuildRequires:  pkgconfig
58 %{?with_python:BuildRequires:   python-pygtk-devel >= 1.99.15}
59 BuildRequires:  rpm-build >= 4.1-13
60 %{?with_file_chooser:Requires:  gtk+2 >= 2:2.4.0}
61 %{!?with_file_chooser:Requires: gtk+2 >= 1:2.2.2}
62 %{?with_python:Requires:        python-pygtk-gtk >= 1.99.15}
63 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 Obsoletes:      gimp-data-min
65 Obsoletes:      gimp-libgimp
66 Obsoletes:      gimp-svg
67
68 %description
69 The GIMP is an image manipulation program suitable for photo
70 retouching, image composition and image authoring. Many people find it
71 extremely useful in creating logos and other graphics for web pages.
72 The GIMP has many of the tools and filters you would expect to find in
73 similar commercial offerings, and some interesting extras as well.
74
75 The GIMP provides a large image manipulation toolbox, including
76 channel operations and layers, effects, sub-pixel imaging and
77 anti-aliasing, and conversions, all with multi-level undo.
78
79 This version of The GIMP includes a scripting facility, but many of
80 the included scripts rely on fonts that we cannot distribute. The GIMP
81 ftp site has a package of fonts that you can install by yourself,
82 which includes all the fonts needed to run the included scripts.
83
84 %description -l es
85 GIMP es un programa de manejo de imágenes adecuado para retoque de
86 fotos, composición y editoración de imágenes. Muchas personas lo
87 encuentran extremamente útil en la creación de logos y otros gráficos
88 para páginas web. GIMP tiene muchas herramientas y filtros normalmente
89 encontrados en aplicaciones comerciales similares, además de
90 características extras bien interesantes. GIMP ofrece una extensa caja
91 de herramientas de manejo de imagen, incluyendo camadas, efectos,
92 formación de imagen subpíxel y antialiasing, conversiones, todos con
93 deshacer en varios niveles (multi-level undo).
94
95 %description -l fr
96 Le Programme de Manipulation d'Image de GNU permet de retoucher des
97 photos, de réaliser des compositions. Beaucoup de gens l'apprécient
98 pour la création de logos et de graphismes pour les pages web. GIMP
99 dispose d'un grand nombre de filtres et de plug-ins que l'on ne trouve
100 que dans les logiciels commerciaux haut de gamme ainsi que de
101 nombreuses fonctionnalité inédites.
102
103 GIMP fournit une boite à outil permettant de gérer plusieurs calques,
104 de nombreux effets, l'anti-aliasing, les conversions de fichiers ainsi
105 qu'un grand nombre de niveaux d'annulation.
106
107 %description -l pl
108 Program GIMP jest przeznaczony do obróbki i tworzenia plików w ró¿nych
109 formatach graficznych. Przy jego u¿yciu mo¿na tworzyæ grafikê dla
110 stron WWW, retuszowaæ zdjêcia, czy stworzyæ w³asne logo.
111
112 GIMP dostarcza du¿y zestaw narzêdzi do obróbki obrazów, w tym do
113 operowania na kana³ach i warstwach, efektów, antyaliasingu oraz
114 konwersji, a to wszystko z wielopoziomowym cofaniem operacji.
115
116 %description -l pt_BR
117 O GIMP é um programa de manipulação de imagens adequado para retoque
118 de fotos, composição e editoração de imagens. Muitas pessoas o acham
119 extremamente útil na criação de logos e outros gráficos para páginas
120 web. O GIMP tem muitas ferramentas e filtros normalmente encontrados
121 em aplicações comerciais similares, além de características extras bem
122 interessantes.
123
124 O GIMP fornece uma extensa caixa de ferramentas de manipulação de
125 imagem, incluindo camadas, efeitos, formação de imagem subpíxel e
126 anti-aliasing, conversões, todos com desfazimento em vários níveis
127 (multi-level undo).
128
129 %description -l ru
130 GIMP - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÓÏÚÄÁÎÉÑ É ÏÂÒÁÂÏÔËÉ ÉÚÏÂÒÁÖÅÎÉÊ. åÅ ÓÞÉÔÁÀÔ
131 ÉÓËÌÀÞÉÔÅÌØÎÏ ÐÏÌÅÚÎÏÊ ÄÌÑ ÓÏÚÄÁÎÉÑ ÌÏÇÏÔÉÐÏ× É ÄÒÕÇÏÊ ÇÒÁÆÉËÉ ÄÌÑ
132 web-ÓÔÒÁÎÉÃ. GIMP ÉÍÅÅÔ ÍÎÏÖÅÓÔ×Ï ÉÎÓÔÒÕÍÅÎÔÏ× É ÆÉÌØÔÒÏ×, ËÏÔÏÒÙÅ
133 ÏÂÙÞÎÏ ×ËÌÀÞÁÀÔÓÑ × ÁÎÁÌÏÇÉÞÎÙÅ ËÏÍÍÅÒÞÅÓËÉÅ ÐÁËÅÔÙ, Á ÔÁËÖÅ ÒÑÄ
134 ×ÏÚÍÏÖÎÏÓÔÅÊ, ÐÒÉÓÕÝÉÈ ÔÏÌØËÏ ÅÊ.
135
136 GIMP ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÂÏÌØÛÏÊ ÎÁÂÏÒ ÉÎÓÔÒÕÍÅÎÔÏ× ÄÌÑ ÒÁÂÏÔÙ Ó ÇÒÁÆÉËÏÊ,
137 ×ËÌÀÞÁÀÝÉÊ ÏÐÅÒÁÃÉÉ ÎÁÄ ËÁÎÁÌÁÍÉ, ÓÌÏÑÍÉ, ÜÆÆÅËÔÙ, sub-pixel imaging É
138 ÁÎÔÉÁÌÉÁÓÉÎÇ, ×ÓÑÞÅÓËÉÅ ËÏÎ×ÅÒÔÏÒÙ É ×ÓÅ ÜÔÏ Ó ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÍ ÏÔËÁÔÏÍ.
139
140 GIMP ×ËÌÀÞÁÅÔ ÐÏÄÄÅÒÖËÕ ÓÏÚÄÁÎÉÑ ÓÃÅÎÁÒÉÅ× (scripting facility),
141 ÏÄÎÁËÏ ÍÎÏÇÉÅ ÉÚ ÐÏÓÔÁ×ÌÑÅÍÙÈ Ó ÐÒÏÇÒÁÍÍÏÊ ÓÃÅÎÁÒÉÅ× ÐÒÅÄÐÏÌÁÇÁÀÔ
142 ÎÁÌÉÞÉÅ ÛÒÉÆÔÏ×, ËÏÔÏÒÙÅ ÎÅ ÍÏÇÕÔ ÂÙÔØ ×ËÌÀÞÅÎÙ × ÄÉÓÔÒÉÂÕÔÉ×.
143 ftp-ÓÁÊÔ GIMP ÓÏÄÅÒÖÉÔ ÐÁËÅÔ ÛÒÉÆÔÏ×, ËÏÔÏÒÙÅ ×Ù ÍÏÖÅÔÅ ÐÏÓÔÁ×ÉÔØ
144 ÓÁÍÏÓÔÏÑÔÅÌØÎÏ, ×ËÌÀÞÁÀÝÉÊ ×ÓÅ ÛÒÉÆÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ ×ÈÏÄÑÝÉÈ
145 × ËÏÍÐÌÅËÔ ÓÃÅÎÁÒÉÅ×. îÅËÏÔÏÒÙÅ ÉÚ ÛÒÉÆÔÏ× ÉÍÅÀÔ ×ÅÓØÍÁ ÎÅÏÂÙÞÎÙÅ
146 ÌÉÃÅÎÚÉÏÎÎÙÅ ÔÒÅÂÏ×ÁÎÉÑ; ×ÓÅ ÌÉÃÅÎÚÉÉ ×ËÌÀÞÅÎÙ × ÕÐÏÍÑÎÕÔÙÊ ÐÁËÅÔ.
147 óËÁÞÁÊÔÅ ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz É
148 ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz, ÅÓÌÉ ÈÏÔÉÔÅ
149 ÚÁÐÕÓËÁÔØ ÓÃÅÎÁÒÉÉ ÂÅÚ ÉÚÍÅÎÅÎÉÊ ÉÌÉ ×ÙÂÅÒÉÔÅ ÔÅ ÛÒÉÆÔÙ, ËÏÔÏÒÙÅ
150 ÕÓÔÁÎÏ×ÌÅÎÙ Õ ×ÁÓ × ÓÉÓÔÅÍÅ, ÐÅÒÅÄ ÚÁÐÕÓËÏÍ ÓÃÅÎÁÒÉÅ×.
151
152 %description -l uk
153 GIMP - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ ÓÔ×ÏÒÅÎÎÑ ÔÁ ÏÂÒÏÂËÉ ÚÏÂÒÁÖÅÎØ. ·§ ××ÁÖÁÀÔØ
154 ÄÕÖÅ ËÏÒÉÓÎÏÀ ÄÌÑ ÓÔ×ÏÒÅÎÎÑ ÌÏÇÏÔÉЦנÔÁ ¦ÎÛϧ ÇÒÁƦËÉ ÄÌÑ
155 web-ÓÔÏÒ¦ÎÏË. GIMP ÍÁ¤ ÂÁÇÁÔÏ ¦ÎÓÔÒÕÍÅÎԦנÔÁ Æ¦ÌØÔÒ¦×, Ñ˦ Ú×ÉÞÁÊÎÏ
156 ×ËÌÀÞÁÀÔØÓÑ × ÁÎÁÌÏǦÞΦ ËÏÍÅÒæÊΦ ÐÁËÅÔÉ, Á ÔÁËÏÖ ÒÑÄ ÍÏÖÌÉ×ÏÓÔÅÊ,
157 ×ÌÁÓÔÉ×ÉÈ ÓÁÍÅ §Ê.
158
159 GIMP ÎÁÄÁ¤ ×ÅÌÉËÉÊ ÎÁ¦Ҡ¦ÎÓÔÒÕÍÅÎԦנÄÌÑ ÒÏÂÏÔÉ Ú ÇÒÁƦËÏÀ, ÝÏ
160 ×ËÌÀÞÁ¤ ÏÐÅÒÁ槠ÎÁÄ ËÁÎÁÌÁÍÉ, ÛÁÒÁÍÉ (layers), ÅÆÅËÔÉ, sub-pixel
161 imaging ¦ ÁÎÔÉÁ̦ÁÓÉÎÇ, Ò¦ÚÎÏÍÁΦÔΦ ËÏÎ×ÅÒÔÏÒÉ ¦ ×ÓÅ ÃÅ Ú
162 ÂÁÇÁÔÏÒ¦×ÎÅ×É͠צÄËÁÔÏÍ.
163
164 GIMP ÍÁ¤ Ð¦ÄÔÒÉÍËÕ ÓÃÅÎÁÒ¦§× (scripting facility), ÐÒÏÔÅ ÂÁÇÁÔÏ Ú
165 ×ËÌÀÞÅÎÉÈ ÄÏ ÐÏÓÔÁ×ËÉ ÓÃÅÎÁÒ¦§× ÐÒÉÐÕÓËÁÀÔØ ÎÁÑ×ΦÓÔØ ÛÒÉÆÔ¦×, Ñ˦ ÎÅ
166 ÍÏÖÕÔØ ÂÕÔÉ ×ËÌÀÞÅΦ × ÄÉÓÔÒÉÂÕÔÉ×. ftp-ÓÁÊÔ GIMP Í¦ÓÔÉÔØ ÐÁËÅÔ
167 ÛÒÉÆÔ¦×, ËÏÔÒ¦ ×É ÍÏÖÅÔÅ ×ÓÔÁÎÏ×ÉÔÉ ÓÁÍÏÓÔ¦ÊÎÏ, × ÑËÉÊ ×ÈÏÄÑÔØ ×Ó¦
168 ÛÒÉÆÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ ÓÃÅÎÁÒ¦§× Ú ÐÏÓÔÁ×ËÉ GIMP. äÅÑ˦ Ú
169 ÛÒÉÆԦנÍÁÀÔØ ×ÅÌØÍÉ ÎÅÚ×ÉÞÁÊΦ Ì¦ÃÅÎÚ¦ÊΦ ÕÍÏ×É; ×Ó¦ Ì¦ÃÅÎÚ¦§
170 ×ËÌÀÞÅÎÏ × ÚÇÁÄÁÎÉÊ ÐÁËÅÔ. úÁ×ÁÎÔÁÖÔÅ
171 ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz ÔÁ
172 ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz. ÑËÝÏ ÈÏÞÅÔÅ
173 ÚÁÐÕÓËÁÔÉ ÓÃÅÎÁÒ¦§ ÂÅÚ ÚͦΠÁÂÏ Ö ×ÉÂÅÒ¦ÔØ ×ÓÔÁÎÏ×ÁÌÅΦ Õ ×ÁÓ ×
174 ÓÉÓÔÅͦ ÛÒÉÆÔÉ ÐÅÒÅÄ ÚÁÐÕÓËÏÍ ÓÃÅÎÁÒ¦§×.
175
176 %package devel
177 Summary:        GIMP plugin and extension development kit
178 Summary(de):    GIMP-Plugin und Extension Development Kit
179 Summary(es):    Kit de desarrollo de "plugins" extensiones para GIMP
180 Summary(fr):    Plugin GIMP et kit de développement d'extensions
181 Summary(pl):    Pliki do budowania modu³ów i rozszerzeñ dla Gimpa
182 Summary(pt_BR): Kit de desenvolvimento de "plugins" extensões para o GIMP
183 Summary(ru):    éÎÓÔÒÕÍÅÎÔÁÒÉÊ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÌÁÇÉÎÏ× É ÒÁÓÛÉÒÅÎÉÊ GIMP
184 Summary(tr):    GIMP plugin ve uzantý geliþtirme araçlarý
185 Summary(uk):    ¶ÎÓÔÒÕÍÅÎÔÁҦʠÄÌÑ ÒÏÚÒÏÂËÉ ÐÌÁǦΦנÔÁ ÒÏÚÛÉÒÅÎØ GIMP
186 Summary(zh_CN): [¿ª·¢]gimpµÄ¿ª·¢°ü
187 Summary(zh_TW): [¶}µo]gimpªº¶}µo¥]
188 License:        LGPL
189 Group:          X11/Development/Libraries
190 Requires:       %{name} = %{epoch}:%{version}-%{release}
191 Requires:       gtk-doc-common
192 Requires:       gtk+2-devel >= 1:2.2.2
193
194 %description devel
195 Header files for writing GIMP plugins and extensions.
196
197 %description devel -l de
198 Header-Dateien zum Schreiben von GIMP-Plugins und -Erweiterungen.
199
200 %description devel -l es
201 Bibliotecas y archivos de inclusión para escribir extensiones y
202 plugins para Gimp.
203
204 %description devel -l pl
205 Pliki nag³ówkowe do tworzenia wtyczek i rozszerzeñ dla Gimpa.
206
207 %description devel -l pt_BR
208 Bibliotecas e arquivos de inclusão para escrever extensões e plugins
209 para o Gimp.
210
211 %package static
212 Summary:        GIMP static libraries
213 Summary(pl):    Biblioteki statyczne Gimpa
214 Group:          X11/Development/Libraries
215 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
216
217 %description static
218 GIMP static libraries.
219
220 %description static -l es
221 Bibliotecas estáticas para escribir extensiones y plugins para Gimp.
222
223 %description static -l pl
224 Biblioteki statyczne Gimpa.
225
226 %description static -l pt_BR
227 Bibliotecas estáticas para desenvolvimento de plugins e extensões do
228 GIMP.
229
230 %package aa
231 Summary:        ASCII Art plugin for Gimp
232 Summary(fr):    Plugin d'art ASCII pour Gimp
233 Summary(pl):    Wtyczka do ASCII Art do Gimpa
234 Group:          X11/Applications/Graphics
235 Requires:       %{name} = %{epoch}:%{version}-%{release}
236
237 %description aa
238 This package contains the ASCII Art plugin which requires the aalib
239 shared library.
240
241 %description aa -l fr
242 Ce paquet contient le plugin d'art ASCII qui nécéssite la librairie
243 partagée aalib.
244
245 %description aa -l pl
246 Ten pakiet zawiera wtyczkê do Gimpa ze wsparciem do ASCII Art.
247
248 %package print
249 Summary:        Print plugin for Gimp
250 Summary(pl):    Wtyczka do drukowania dla Gimpa
251 Group:          X11/Applications/Graphics
252 Requires:       %{name} = %{epoch}:%{version}-%{release}
253 Requires:       gimp-print-lib >= 4.2.6
254
255 %description print
256 Print plugin for Gimp.
257
258 %description print -l pl
259 Wtyczka do drukowania dla Gimpa.
260
261 %prep
262 %setup -q
263 %patch0 -p1
264 %patch1 -p1
265 %{?with_file_chooser:%patch3 -p0}
266
267 for dir in po po-libgimp po-plug-ins po-script-fu; do
268         mv $dir/{no,nb}.po
269 done
270
271 %build
272 %{__libtoolize}
273 %{__aclocal}
274 %{__autoconf}
275 %{__autoheader}
276 %{__automake}
277 %configure \
278         --disable-rpath \
279         %{!?with_print: --disable-print} \
280         %{?with_python: --enable-python} \
281         --enable-mp \
282         --with-html-dir=%{_gtkdocdir} \
283         --enable-default-binary \
284         --enable-static \
285         --enable-gtk-doc
286 %{__make}
287
288 %install
289 rm -rf $RPM_BUILD_ROOT
290 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
291 install -d $RPM_BUILD_ROOT%{_datadir}/application-registry
292 install -d $RPM_BUILD_ROOT%{_datadir}/mime-info
293
294 %{__make} install \
295         DESTDIR=$RPM_BUILD_ROOT
296
297 #############################################################
298 # This is hack indeed, but it is supposed to disappear when #
299 # version 2.0 will arrive                                   #
300 # but it doesn't :(
301 #############################################################
302
303 cat $RPM_BUILD_ROOT%{_datadir}/gimp/%{mver}/misc/gimp.desktop | \
304         sed 's@/usr/share/gimp/%{mver}/images/@@' > \
305         $RPM_BUILD_ROOT%{_desktopdir}/gimp.desktop
306 install data/images/wilber-icon.png $RPM_BUILD_ROOT%{_pixmapsdir}
307 install data/misc/gimp.applications $RPM_BUILD_ROOT%{_datadir}/application-registry
308 install data/misc/gimp.keys $RPM_BUILD_ROOT%{_datadir}/mime-info
309
310 ###################### end hack #############################
311
312 # Link gimptool to gimptool-2.0
313
314 ln -s gimptool-2.0 $RPM_BUILD_ROOT%{_bindir}/gimptool
315 echo '.so gimptool-2.0.1' > $RPM_BUILD_ROOT%{_mandir}/man1/gimptool.1
316
317 # Remove obsolete files
318 rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.{a,la}
319 rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/python/*.{a,la,py}
320 rm -f $RPM_BUILD_ROOT%{_datadir}/gimp/%{mver}/misc/gimp.{applications,desktop,keys}
321
322 %find_lang %{name} --all-name
323
324 %clean
325 rm -rf $RPM_BUILD_ROOT
326
327 %post   -p /sbin/ldconfig
328 %postun -p /sbin/ldconfig
329
330 %files -f %{name}.lang
331 %defattr(644,root,root,755)
332 %doc AUTHORS ChangeLog MAINTAINERS NEWS PLUGIN_MAINTAINERS README
333 %doc docs/{*.txt,quick_reference.*,Wilber*}
334
335 %attr(755,root,root) %{_bindir}/gimp-%{mver}
336 %attr(755,root,root) %{_bindir}/gimp
337 %attr(755,root,root) %{_bindir}/gimp-remote-%{mver}
338 %attr(755,root,root) %{_bindir}/gimp-remote
339 %{_desktopdir}/gimp.desktop
340 %{_datadir}/application-registry/gimp.applications
341 %{_datadir}/mime-info/gimp.keys
342 %{_mandir}/man1/gimp-%{mver}*
343 %{_mandir}/man1/gimp-remote-%{mver}*
344 %{_mandir}/man5/gimprc-%{mver}*
345
346 %attr(755,root,root) %{_libdir}/lib*.so.*.*
347 %dir %{_libdir}/gimp
348 %dir %{_libdir}/gimp/%{mver}
349 %dir %{_libdir}/gimp/%{mver}/plug-ins
350 %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/*
351 %{?with_aalib:%exclude %{_libdir}/gimp/%{mver}/plug-ins/aa}
352 %{?with_print:%exclude %{_libdir}/gimp/%{mver}/plug-ins/print}
353
354 %dir %{_libdir}/gimp/%{mver}/modules
355 %attr(755,root,root) %{_libdir}/gimp/%{mver}/modules/*.so
356 %{_libdir}/gimp/%{mver}/environ
357
358 %if %{with python}
359 %dir %{_libdir}/gimp/%{mver}/python
360 %{_libdir}/gimp/%{mver}/python/*.py[co]
361 %attr(755,root,root) %{_libdir}/gimp/%{mver}/python/*.so
362 %endif
363
364 %dir %{_datadir}/gimp
365 %dir %{_datadir}/gimp/%{mver}
366 %{_datadir}/gimp/%{mver}/brushes
367 %{_datadir}/gimp/%{mver}/fractalexplorer
368 %{_datadir}/gimp/%{mver}/gfig
369 %{_datadir}/gimp/%{mver}/gflare
370 %{_datadir}/gimp/%{mver}/gimpressionist
371 %{_datadir}/gimp/%{mver}/gradients
372 %{_datadir}/gimp/%{mver}/images
373 %{_datadir}/gimp/%{mver}/palettes
374 %{_datadir}/gimp/%{mver}/patterns
375 %{_datadir}/gimp/%{mver}/scripts
376 %{_datadir}/gimp/%{mver}/themes
377 %{_datadir}/gimp/%{mver}/tips
378 %dir %{_datadir}/gimp/%{mver}/misc
379
380 %dir %{_sysconfdir}/%{name}
381 %dir %{_sysconfdir}/%{name}/%{mver}
382 %config %verify(not md5 mtime) %{_sysconfdir}/%{name}/%{mver}/gimprc*
383 %config(noreplace) %{_sysconfdir}/%{name}/%{mver}/templaterc
384 %config %{_sysconfdir}/%{name}/%{mver}/gtkrc*
385 %config %{_sysconfdir}/%{name}/%{mver}/ps-menurc
386 %config %{_sysconfdir}/%{name}/%{mver}/sessionrc
387 %config %{_sysconfdir}/%{name}/%{mver}/unitrc
388
389 %{_pixmapsdir}/*
390
391 %files devel
392 %defattr(644,root,root,755)
393 %attr(755,root,root) %{_bindir}/gimptool-2.0
394 %attr(755,root,root) %{_bindir}/gimptool
395 %attr(755,root,root) %{_libdir}/lib*.so
396 %{_libdir}/lib*.la
397 %{_pkgconfigdir}/*
398 %{_gtkdocdir}/*
399
400 %{_includedir}/gimp-%{mver}
401 %{_aclocaldir}/gimp-2.0.m4
402
403 %{_mandir}/man1/gimptool-2.0.1*
404 %{_mandir}/man1/gimptool.1*
405
406 %files static
407 %defattr(644,root,root,755)
408 %{_libdir}/lib*.a
409
410 %if %{with aalib}
411 %files aa
412 %defattr(644,root,root,755)
413 %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/aa
414 %endif
415
416 %if %{with print}
417 %files print
418 %defattr(644,root,root,755)
419 %attr(755,root,root) %{_libdir}/gimp/%{mver}/plug-ins/print
420 %endif
This page took 0.059683 seconds and 4 git commands to generate.