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