]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- it looks pt-like...
[packages/vim.git] / vim.spec
1 # TODO:
2 # - fix man dirs (encodings in paths - such dirs don't exist in system)
3 # - separate vim-spell-en
4 # - some nice icon
5 # - bonobo patches need update
6 #
7 # Conditional build:
8 %bcond_without  static          # don't build static version
9 %bcond_without  athena          # don't build Athena Widgets-based gvim
10 %bcond_without  motif           # don't build Motif-based gvim
11 %bcond_without  gtk             # don't build GTK+-based gvim support
12 %bcond_without  gnome           # don't build GNOME-based gvim support
13 %bcond_without  perl            # without Perl interp
14 %bcond_without  python          # without Python interp
15 %bcond_with     ruby            # with Ruby interp
16 %bcond_with     tcl             # with Tcl interp
17 %bcond_with     bonobo          # with bonobo component (breaks other things)
18 %bcond_without  selinux         # without selinux support
19 %bcond_without  home_etc        # without home_etc support
20 #
21 %define         _ver            7.0
22 %define         _patchlevel     017
23 %define         _rel            3
24
25 # cflags get changed while configuring
26 %undefine       configure_cache
27 #
28 Summary:        Vi IMproved - a Vi clone
29 Summary(de):    VIsual editor iMproved
30 Summary(es):    Editor visual incrementado
31 Summary(fr):    Editeur VIM : VIsual editor iMproved
32 Summary(pl):    Vi IMproved - klon edytora Vi
33 Summary(pt_BR): Editor visual incrementado
34 Summary(ru):    Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
35 Summary(tr):    Geliþmiþ bir vi sürümü
36 Summary(uk):    Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
37 Name:           vim
38 Version:        %{_ver}.%{_patchlevel}
39 Release:        %{_rel}
40 Epoch:          4
41 License:        Charityware
42 Group:          Applications/Editors/Vim
43 Source0:        ftp://ftp.vim.org/pub/vim/unix/%{name}-%{_ver}.tar.bz2
44 # Source0-md5:  4ca69757678272f718b1041c810d82d8
45 Source1:        ftp://ftp.vim.org/pub/vim/extra/vim-%{_ver}-lang.tar.gz
46 # Source1-md5:  6d43efaff570b5c86e76b833ea0c6a04
47 Source2:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
48 # Source2-md5:  bc4d1e115ca506ad7751b9bd2b773a7f
49 Source3:        http://skawina.eu.org/mikolaj/usr_doc_pl.zip
50 # Source3-md5:  ff96284b1c913d55cf0877839b34d490
51 Source10:       g%{name}-athena.desktop
52 Source11:       g%{name}-motif.desktop
53 Source12:       g%{name}-gtk.desktop
54 Source13:       g%{name}-gnome.desktop
55 Source14:       %{name}.desktop
56 # http://www.vim.org/scripts/script.php?script_id=415 (1.13)
57 Source15:       zenburn.%{name}
58 Source16:       spec.%{name}
59 # http://www.vim.org/scripts/script.php?script_id=1491 (0.5)
60 Source17:       javascript.%{name}
61 Source18:       nagios.vim
62 Source19:       vim-ftplugin-spec.vim
63 Patch0:         %{name}-sysconfdir.patch
64 Patch1:         %{name}-visual.patch
65 Patch2:         %{name}-paths.patch
66 Patch3:         %{name}-%{name}rc.patch
67 Patch4:         %{name}-no_libelf.patch
68 Patch5:         %{name}-egrep.patch
69 Patch6:         %{name}-awk.patch
70 Patch7:         %{name}-filetype_vim-perl_tests.patch
71 Patch8:         %{name}-apache.patch
72 Patch9:         %{name}-po-syntax.patch
73 Patch10:        %{name}-modprobe.patch
74 Patch11:        %{name}-doubleparenthesis.patch
75 Patch12:        %{name}-syntax-fstab.patch
76 Patch13:        010_all_%{name}-6.3-vixie.patch
77 Patch14:        013_all_%{name}-7.0-cron-vars-79981.patch
78 Patch15:        020_all_%{name}-7.0-fstab-tmpfs-size.patch
79 Patch16:        021_all_%{name}-7.0-fstab-bogus-errors.patch
80 Patch17:        024_all_%{name}-6.3-bash-83565.patch
81 Patch18:        027_all_%{name}-7.0-automake-substitutions-93378.patch
82 Patch19:        %{name}-smarty.patch
83 Patch20:        %{name}-tutor-lessdeps.patch
84 Patch21:        %{name}-nagios.patch
85 Patch22:        %{name}-filetypes.patch
86 Patch100:       %{name}-bonobo-20050909.patch
87 Patch101:       %{name}-bonobo.patch
88 Patch102:       %{name}-gtkfilechooser.patch
89 Patch103:       %{name}-gtkfilechooser-bonobo.patch
90 Patch104:       %{name}-home_etc.patch
91 Patch105:       %{name}-selinux.patch
92 Patch201:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.001
93 Patch202:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.002
94 Patch203:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.003
95 Patch204:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.004
96 # patch for -extra
97 #Patch205:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.005
98 Patch206:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.006
99 Patch207:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.007
100 Patch208:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.008
101 Patch209:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.009
102 Patch210:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.010
103 Patch211:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.011
104 Patch212:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.012
105 Patch213:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.013
106 Patch214:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.014
107 Patch215:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.015
108 Patch216:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.016
109 Patch217:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.017
110 URL:            http://www.vim.org/
111 BuildRequires:  acl-devel
112 BuildRequires:  autoconf
113 BuildRequires:  gettext-devel
114 BuildRequires:  gpm-devel
115 %{?with_gtk:BuildRequires:      gtk+2-devel >= 2:2.6.0}
116 %{?with_gnome:BuildRequires:    libgnomeui-devel >= 2.2.0.1}
117 %{?with_selinux:BuildRequires:  libselinux-devel}
118 BuildRequires:  ncurses-devel
119 %{?with_motif:BuildRequires:    openmotif-devel}
120 %{?with_perl:BuildRequires:     perl-devel}
121 %{?with_python:BuildRequires:   python-devel}
122 %{?with_ruby:BuildRequires:     ruby-devel}
123 %{?with_tcl:BuildRequires:      tcl-devel}
124 %{?with_athena:BuildRequires:   xorg-lib-libXaw-devel}
125 Obsoletes:      kvim
126 %if %{with bonobo}
127 BuildRequires:  ORBit2-devel
128 BuildRequires:  libbonoboui-devel >= 2.2.0
129 BuildRequires:  libgnomeui-devel >= 2.2.0.1
130 BuildRequires:  nautilus-devel >= 2.2.0
131 %endif
132 BuildRequires:  rpmbuild(macros) >= 1.210
133 %if %{with static}
134 BuildRequires:  acl-static
135 BuildRequires:  attr-static
136 BuildRequires:  glibc-static
137 %{?with_selinux:BuildRequires:  libselinux-static}
138 BuildRequires:  ncurses-static
139 %else
140 Provides:       %{name}-static = %{epoch}:%{version}-%{release}
141 Obsoletes:      elvis-static
142 Obsoletes:      nvi
143 Obsoletes:      vi
144 Obsoletes:      vim-minimal
145 Obsoletes:      vim-static
146 %endif
147 BuildRequires:  unzip
148 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
149 Provides:       vi-editor
150 Provides:       vi
151 Obsoletes:      vim-enhanced
152 Obsoletes:      vim-ispell
153 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
154
155 # that's example script
156 %define         _noautoreq      '/bin/csh'
157
158 %description
159 Text editor similar to Vi. Important improvements: multiple windows,
160 multi-level undo, block highliting, folding, and many other.
161
162 %description -l cs
163 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
164 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
165 populární. ViM je obohacený funkcemi jako: podpora více oken,
166 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
167 funkcí.
168
169 %description -l de
170 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
171 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
172 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
173 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
174 Standard-vi-Programm.
175
176 %description -l es
177 El editor Visual Mejorado es una versión actualizada y con nuevas
178 características adicionales del mundialmente famoso 'vi' que acompaña
179 prácticamente todos los sistemas UN*X. Posibilita trabajar con
180 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
181 otras muchas características del 'vi'.
182
183 %description -l fr
184 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
185 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
186 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
187 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
188 blocs et autres caractéristiques au vi de base.
189
190 %description -l id
191 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
192 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
193 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
194 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
195 windows, multi-level undo, block highlighting, dll.
196
197 %description -l is
198 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
199 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
200 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
201 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
202 fleira.
203
204 %description -l it
205 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
206 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
207 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
208 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
209 dei blocchi e altro.
210
211 %description -l pl
212 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
213 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
214 folding i wiele innych.
215
216 %description -l pt
217 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
218 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
219 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
220 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
221 de blocos e mais.
222
223 %description -l pt_BR
224 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
225 características do mundialmente famoso 'vi' que acompanha praticamente
226 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
227 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
228 outras características do 'vi'.
229
230 %description -l ru
231 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
232 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
233 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
234 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
235
236 %description -l sk
237 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
238 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
239 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
240 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
241
242 %description -l sv
243 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
244 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
245 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
246 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
247 ändå.
248
249 %description -l tr
250 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
251 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
252
253 %description -l uk
254 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
255 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
256 æʠ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉʠצÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
257 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
258
259 %package -n xxd
260 Summary:        Utility to convert files to hexdump or do the reverse
261 Summary(pl):    Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
262 Group:          Applications/Editors/Vim
263
264 %description -n xxd
265 xxd creates a hex dump of a given file or standard input. It can also
266 convert a hex dump back to its original binary form. Like uuencode and
267 uudecode it allows the transmission of binary data in a `mail-safe'
268 ASCII representation, but has the advantage of decoding to standard
269 output. Moreover, it can be used to perform binary file patching.
270
271 %description -n xxd -l pl
272 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
273 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
274 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
275 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
276 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
277
278 %package static
279 Summary:        Statically linked Vim
280 Summary(pl):    Statycznie skonsolidowany Vim
281 Group:          Applications/Editors/Vim
282 Provides:       vi-editor
283 Provides:       vi
284 Obsoletes:      elvis-static
285 Obsoletes:      nvi
286 Obsoletes:      vim-minimal
287
288 %description static
289 Text editor similar to Vi. This version is built with minimal feature
290 and is installed in /bin as a rescue tool. The installation of this
291 package is STRONGLY recommended.
292
293 %description static -l pl
294 Edytor tekstu podobny do Vi. Ta wersja zosta³a skonsolidowana
295 statycznie i posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin
296 jako narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
297 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
298
299 %description static -l ru
300 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
301 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
302 ÓÉÓÔÅÍÁ.
303
304 %description static -l uk
305 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
306 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
307
308 %package rt
309 Summary:        Vim runtime files
310 Summary(cs):    Soubory nezbytné pro libovolný editor ViM
311 Summary(da):    Fælles filer som er nødvendige for enhver version af VIM editoren
312 Summary(de):    Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
313 Summary(es):    Ficheros comunes a todas las versiones de VIM
314 Summary(fr):    Fichiers communs indispensables pour toute version de l'éditeur VIM
315 Summary(id):    File umum yang dibutuhkan oleh semua versi editor VIM
316 Summary(is):    Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
317 Summary(it):    File comuni necessari per tutte le versioni dell'editor VIM
318 Summary(ja):    ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
319 Summary(nb):    Felles filer som er nødvendige for enhver versjon av VIM editoren
320 Summary(pl):    Pliki przydatne edytorowi Vim
321 Summary(pt):    Os ficheiros comuns necessários para qualquer versão do editor VIM
322 Summary(ru):    æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
323 Summary(sk):    Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
324 Summary(sl):    Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
325 Summary(sv):    De gemensamma filerna som behövs av alla versioner av redigeraren VIM
326 Summary(uk):    æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
327 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼­Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
328 Group:          Applications/Editors/Vim
329 # mktemp is for vimtutor
330 Requires:       mktemp
331 Requires:       vi-editor
332 Obsoletes:      vim-common
333
334 %description rt
335 This package contains macros, documentation, syntax configuration and
336 manual pages for Vim. If you want to take advantage of Vim more
337 powerful features, you should install this package.
338
339 %description rt -l cs
340 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
341 vim.
342
343 %description rt -l da
344 The vim-rt package contains files which every VIM binary will need in
345 order to run.
346
347 %description rt -l de
348 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
349 Ausführung benötigt.
350
351 %description rt -l fr
352 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
353 VIM a besoin pour fonctionner.
354
355 %description rt -l id
356 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
357 berjalan.
358
359 %description rt -l is
360 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
361 til að keyra.
362
363 %description rt -l it
364 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
365 per poter funzionare.
366
367 %description rt -l pl
368 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
369 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
370 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
371
372 %description rt -l pt
373 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
374 irão necessitar para correr.
375
376 %description rt -l ru
377 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
378 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
379
380 %description rt -l sk
381 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
382 funkciu ka¾dá verzia editoru VIM.
383
384 %description rt -l sv
385 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
386 köra.
387
388 %description rt -l uk
389 ðÁËÅÔ vim-rt Í¦ÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
390 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
391
392 %package -n gvim-athena
393 Summary:        Vim for X Window built with Athena
394 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Athena
395 Group:          Applications/Editors/Vim
396 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
397 Requires:       iconv
398 Provides:       vi-editor
399 Obsoletes:      vim-X11
400
401 %description -n gvim-athena
402 The classic Unix text editor now also under X Window System! This
403 version is built with Athena Widget Set.
404
405 %description -n gvim-athena -l pl
406 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
407 biblioteki Athena Widget Set.
408
409 %description -n gvim-athena -l ru
410 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
411 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
412 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
413
414 %description -n gvim-athena -l uk
415 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Athena Widget
416 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
417 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
418
419 %package -n gvim-motif
420 Summary:        Vim for X Window built with Motif
421 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Motif
422 Group:          Applications/Editors/Vim
423 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
424 Requires:       iconv
425 Provides:       vi-editor
426 Obsoletes:      vim-X11
427
428 %description -n gvim-motif
429 The classic Unix text editor now also under X Window System! This
430 version is built with Motif.
431
432 %description -n gvim-motif -l pl
433 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
434 biblioteki Motif.
435
436 %description -n gvim-motif -l ru
437 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
438 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
439 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
440
441 %description -n gvim-motif -l uk
442 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
443 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
444 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
445
446 %package -n gvim-gtk
447 Summary:        Vim for X Window built with gtk
448 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GTK
449 Group:          Applications/Editors/Vim
450 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
451 Requires:       iconv
452 Provides:       vi-editor
453 Obsoletes:      vim-X11
454
455 %description -n gvim-gtk
456 The classic Unix text editor now also under X Window System! This
457 version is built with GTK.
458
459 %description -n gvim-gtk -l pl
460 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
461 biblioteki GTK.
462
463 %description -n gvim-gtk -l ru
464 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
465 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
466 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
467 'gvim'...
468
469 %description -n gvim-gtk -l uk
470 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
471 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
472 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
473
474 %package -n gvim-gnome
475 Summary:        Vim for X Window built with GNOME
476 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GNOME
477 Group:          Applications/Editors/Vim
478 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
479 Requires:       iconv
480 Provides:       vi-editor
481 Obsoletes:      vim-X11
482
483 %description -n gvim-gnome
484 The classic Unix text editor now also under X Window System! This
485 version is build with GNOME.
486
487 %description -n gvim-gnome -l pl
488 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
489 bibliotek GNOME.
490
491 %description -n gvim-gnome -l ru
492 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
493 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
494 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
495
496 %description -n gvim-gnome -l uk
497 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
498 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
499 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
500
501 %package -n gvim-bonobo
502 Summary:        Vim for X Window built as bonobo component
503 Summary(pl):    Vim dla X Window zbudowany jako element bonobo
504 Group:          Applications/Editors/Vim
505 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
506 Requires:       iconv
507 Provides:       vi-editor
508 Obsoletes:      vim-X11
509
510 %description -n gvim-bonobo
511 The classic Unix text editor now also under X Window System! This
512 version is build as bonobo component.
513
514 %description -n gvim-bonobo -l pl
515 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window, zbudowana jako
516 element bonobo.
517
518 %prep
519 %setup -q -n vim70 -b1
520 %patch0 -p1
521 %patch1 -p1
522 %patch2 -p1
523 %patch3 -p1
524 %patch4 -p1
525 %patch5 -p1
526 %patch6 -p1
527 %patch7 -p1
528 %patch8 -p1
529 %patch9 -p1
530 %patch10 -p0
531 %patch11 -p1
532 %patch12 -p1
533 %patch13 -p1
534 %patch14 -p1
535 %patch15 -p1
536 %patch16 -p1
537 %patch17 -p0
538 %patch18 -p0
539 %patch19 -p1
540 %patch20 -p1
541 %patch21 -p1
542 %patch22 -p1
543
544 # official patches
545 %patch201 -p0
546 %patch202 -p0
547 %patch203 -p0
548 %patch204 -p0
549 # patch for -extra
550 #%patch205 -p0
551 %patch206 -p0
552 %patch207 -p0
553 %patch208 -p0
554 %patch209 -p0
555 %patch210 -p0
556 %patch211 -p0
557 %patch212 -p0
558 %patch213 -p0
559 %patch214 -p0
560 %patch215 -p0
561 %patch216 -p0
562 %patch217 -p0
563
564 # bonobo
565 %if %{with bonobo}
566 %patch100 -p1
567 %patch101 -p1
568 %patch102 -p1
569 %patch103 -p1
570 %endif
571
572 # home etc
573 %{?with_home_etc:%patch104 -p1}
574
575 # selinux
576 %{?with_selinux:%patch105 -p1}
577
578 install %{SOURCE14} runtime/indent
579 install %{SOURCE15} runtime/colors
580 install %{SOURCE16} runtime/syntax
581 install %{SOURCE17} runtime/syntax
582 install %{SOURCE18} runtime/syntax
583 install %{SOURCE19} runtime/ftplugin/spec.vim
584
585 %build
586 cd src
587 %{__autoconf}
588 # needed to prevent deconfiguring
589 cp -f configure auto
590
591 install -d bin
592
593 %if %{with bonobo}
594 %{__make} distclean
595 %configure \
596         --with-features=huge \
597         --enable-gui=gnome2 \
598         --enable-bonobo \
599         --enable-gtk2-check \
600         --enable-gnome-check \
601         --with-x \
602         %{!?with_perl:--disable-perlinterp} \
603         %{?with_perl:--enable-perlinterp} \
604         %{!?with_python:--disable-pythoninterp} \
605         %{?with_python:--enable-pythoninterp} \
606         %{!?with_ruby:--disable-rubyinterp} \
607         %{?with_ruby:--enable-rubyinterp} \
608         %{!?with_tcl:--disable-tclinterp} \
609         %{?with_tcl:--enable-tclinterp} \
610         --disable-gpm \
611         --enable-cscope \
612         --enable-nls \
613         --with-modifiedby="PLD Linux Distribution" \
614         --with-compiledby="PLD Linux Distribution"
615
616 %{__make} vim-component vim-factory Vim_Control.server
617 mv vim-component vim-factory Vim_Control.server bin/
618 %endif
619
620 %if %{with static}
621 %{__make} distclean
622 LDFLAGS="%{rpmldflags} -static"
623 %configure \
624         --disable-gui \
625         --without-x \
626         --disable-perlinterp \
627         --disable-pythoninterp \
628         --disable-rubyinterp \
629         --disable-tclinterp \
630         --disable-cscope \
631         --disable-gpm \
632         --disable-multibyte \
633         %{?with_bonobo:--disable-bonobo} \
634         --with-features=small \
635         --with-tlib=tinfo \
636         --disable-nls \
637         --with-modifiedby="PLD Linux Distribution" \
638         --with-compiledby="PLD Linux Distribution"
639
640 %{__make} vim
641
642 mv -f vim bin/vim.static
643 LDFLAGS="%{rpmldflags}"
644 %endif
645
646 %{__make} distclean
647 %configure \
648         --disable-gui \
649         --without-x \
650         %{!?with_perl:--disable-perlinterp} \
651         %{?with_perl:--enable-perlinterp} \
652         %{!?with_python:--disable-pythoninterp} \
653         %{?with_python:--enable-pythoninterp} \
654         %{!?with_ruby:--disable-rubyinterp} \
655         %{?with_ruby:--enable-rubyinterp} \
656         %{!?with_tcl:--disable-tclinterp} \
657         %{?with_tcl:--enable-tclinterp} \
658         %{?with_bonobo:--disable-bonobo} \
659         --enable-cscope \
660         --enable-gpm \
661         --with-features=huge \
662         --enable-multibyte \
663         --with-tlib=ncurses \
664         --enable-nls \
665         --with-modifiedby="PLD Linux Distribution" \
666         --with-compiledby="PLD Linux Distribution"
667
668 %{__make} vim
669
670 mv -f vim bin/vim.ncurses
671
672 %if %{with athena}
673 %{__make} distclean
674 %configure \
675         --with-features=huge \
676         --enable-gui=athena \
677         --with-x \
678         %{!?with_perl:--disable-perlinterp} \
679         %{?with_perl:--enable-perlinterp} \
680         %{!?with_python:--disable-pythoninterp} \
681         %{?with_python:--enable-pythoninterp} \
682         %{!?with_ruby:--disable-rubyinterp} \
683         %{?with_ruby:--enable-rubyinterp} \
684         %{!?with_tcl:--disable-tclinterp} \
685         %{?with_tcl:--enable-tclinterp} \
686         %{?with_bonobo:--disable-bonobo} \
687         --enable-cscope \
688         --enable-fontset \
689         --disable-gpm \
690         --without-gnome \
691         --enable-nls \
692         --with-modifiedby="PLD Linux Distribution" \
693         --with-compiledby="PLD Linux Distribution"
694
695 %{__make} vim
696 mv -f vim bin/gvim.athena
697 %endif
698
699
700 %if %{with motif}
701 %{__make} distclean
702 %configure \
703         --with-features=huge \
704         --enable-gui=motif \
705         --with-x \
706         %{!?with_perl:--disable-perlinterp} \
707         %{?with_perl:--enable-perlinterp} \
708         %{!?with_python:--disable-pythoninterp} \
709         %{?with_python:--enable-pythoninterp} \
710         %{!?with_ruby:--disable-rubyinterp} \
711         %{?with_ruby:--enable-rubyinterp} \
712         %{!?with_tcl:--disable-tclinterp} \
713         %{?with_tcl:--enable-tclinterp} \
714         %{?with_bonobo:--disable-bonobo} \
715         --enable-multibyte \
716         --enable-cscope \
717         --enable-fontset \
718         --disable-gpm \
719         --without-gnome \
720         --enable-nls \
721         --with-modifiedby="PLD Linux Distribution" \
722         --with-compiledby="PLD Linux Distribution"
723
724 %{__make} vim
725 mv -f vim bin/gvim.motif
726 %endif
727
728 %if %{with gtk}
729 %{__make} distclean
730 %configure \
731         --with-features=huge \
732         --enable-gui=gtk2 \
733         --enable-gtk2-check \
734         --with-x \
735         %{!?with_perl:--disable-perlinterp} \
736         %{?with_perl:--enable-perlinterp} \
737         %{!?with_python:--disable-pythoninterp} \
738         %{?with_python:--enable-pythoninterp} \
739         %{!?with_ruby:--disable-rubyinterp} \
740         %{?with_ruby:--enable-rubyinterp} \
741         %{!?with_tcl:--disable-tclinterp} \
742         %{?with_tcl:--enable-tclinterp} \
743         %{?with_bonobo:--disable-bonobo} \
744         --disable-gpm \
745         --enable-cscope \
746         --enable-nls \
747         --with-modifiedby="PLD Linux Distribution" \
748         --with-compiledby="PLD Linux Distribution"
749
750 %{__make} vim
751 mv -f vim bin/gvim.gtk
752 %endif
753
754 %if %{with gnome}
755 %{__make} distclean
756 %configure \
757         --with-features=huge \
758         --enable-gui=gnome2 \
759         %{?with_bonobo:--disable-bonobo} \
760         --enable-gtk2-check \
761         --enable-gnome-check \
762         --with-x \
763         %{!?with_perl:--disable-perlinterp} \
764         %{?with_perl:--enable-perlinterp} \
765         %{!?with_python:--disable-pythoninterp} \
766         %{?with_python:--enable-pythoninterp} \
767         %{!?with_ruby:--disable-rubyinterp} \
768         %{?with_ruby:--enable-rubyinterp} \
769         %{!?with_tcl:--disable-tclinterp} \
770         %{?with_tcl:--enable-tclinterp} \
771         --disable-gpm \
772         --enable-cscope \
773         --enable-nls \
774         --with-modifiedby="PLD Linux Distribution" \
775         --with-compiledby="PLD Linux Distribution"
776
777 %{__make} vim
778 mv -f vim bin/gvim.gnome
779 %endif
780
781 %{__make} xxd/xxd languages
782
783 %install
784 rm -rf $RPM_BUILD_ROOT
785
786 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
787         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
788         $RPM_BUILD_ROOT%{_desktopdir}
789
790 %{__make} install \
791         DESTDIR=$RPM_BUILD_ROOT
792
793 rm -f $RPM_BUILD_ROOT%{_bindir}/*
794
795 %if %{with static}
796 install src/bin/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim
797 install src/bin/vim.static      $RPM_BUILD_ROOT/bin/vi
798 %else
799 install src/bin/vim.ncurses     $RPM_BUILD_ROOT/bin/vi
800 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
801 %endif
802 install src/xxd/xxd     $RPM_BUILD_ROOT%{_bindir}/xxd
803 install src/vimtutor    $RPM_BUILD_ROOT%{_bindir}/vimtutor
804
805 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
806
807 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
808 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
809
810 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
811
812 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
813 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
814 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
815 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
816 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
817
818 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
819 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
820
821 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
822 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
823 ln -sf vi  $RPM_BUILD_ROOT/bin/view
824 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
825
826 install %{SOURCE14}     $RPM_BUILD_ROOT%{_desktopdir}
827
828 %if %{with athena}
829 install src/bin/gvim.athena     $RPM_BUILD_ROOT%{_bindir}/gvim.athena
830 install %{SOURCE10}     $RPM_BUILD_ROOT%{_desktopdir}
831 %endif
832 %if %{with motif}
833 install src/bin/gvim.motif      $RPM_BUILD_ROOT%{_bindir}/gvim.motif
834 install %{SOURCE11}     $RPM_BUILD_ROOT%{_desktopdir}
835 %endif
836 %if %{with gnome}
837 install src/bin/gvim.gnome      $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
838 install %{SOURCE13}     $RPM_BUILD_ROOT%{_desktopdir}
839 %endif
840 %if %{with gtk}
841 install src/bin/gvim.gtk        $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
842 ln -sf gvim.gtk         $RPM_BUILD_ROOT%{_bindir}/gvim
843 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgvim
844 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gview
845 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgview
846 install %{SOURCE12}     $RPM_BUILD_ROOT%{_desktopdir}
847 %endif
848
849 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
850 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
851 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
852 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
853
854 # Bonobo
855 %if %{with bonobo}
856 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
857 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
858 install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
859 %endif
860
861 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
862 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE3}
863
864 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
865 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
866
867 %clean
868 rm -rf $RPM_BUILD_ROOT
869
870 %post
871 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
872
873 %postun
874 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
875
876 %post -n gvim-athena
877 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
878
879 %postun -n gvim-athena
880 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
881
882 %post -n gvim-motif
883 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
884
885 %postun -n gvim-motif
886 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
887
888 %post -n gvim-gtk
889 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
890
891 %postun -n gvim-gtk
892 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
893
894 %post -n gvim-gnome
895 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
896
897 %postun -n gvim-gnome
898 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
899
900 %files
901 %defattr(644,root,root,755)
902 %attr(755,root,root) %{_bindir}/vim
903 %attr(755,root,root) %{_bindir}/rvim
904 %{_desktopdir}/%{name}.desktop
905
906 %if %{with static}
907 %files static
908 %endif
909 %defattr(644,root,root,755)
910 %attr(755,root,root) /bin/*
911
912 %{_mandir}/man1/vi.1*
913 %{_mandir}/man1/ex.1*
914 %{_mandir}/man1/view.1*
915 %{_mandir}/man1/rview.1*
916 %lang(fi) %{_mandir}/fi/man1/vi.1*
917 %lang(fi) %{_mandir}/fi/man1/ex.1*
918 %lang(fi) %{_mandir}/fi/man1/view.1*
919 %lang(fi) %{_mandir}/fi/man1/rview.1*
920 %lang(fr) %{_mandir}/fr*/man1/vi.1*
921 %lang(fr) %{_mandir}/fr*/man1/evim.1*
922 %lang(fr) %{_mandir}/fr*/man1/vim.1*
923 %lang(fr) %{_mandir}/fr*/man1/vimdiff.1*
924 %lang(fr) %{_mandir}/fr*/man1/vimtutor.1*
925 %lang(fr) %{_mandir}/fr*/man1/ex.1*
926 %lang(fr) %{_mandir}/fr*/man1/view.1*
927 %lang(fr) %{_mandir}/fr*/man1/rview.1*
928 %lang(id) %{_mandir}/id/man1/vi.1*
929 %lang(id) %{_mandir}/id/man1/ex.1*
930 %lang(id) %{_mandir}/id/man1/view.1*
931 %lang(id) %{_mandir}/id/man1/rview.1*
932 %lang(it) %{_mandir}/it*/man1/ex.1*
933 %lang(it) %{_mandir}/it*/man1/evim.1*
934 %lang(it) %{_mandir}/it*/man1/view.1*
935 %lang(it) %{_mandir}/it*/man1/rview.1*
936 %lang(pl) %{_mandir}/pl*/man1/vi.1*
937 %lang(pl) %{_mandir}/pl*/man1/evim.1*
938 %lang(pl) %{_mandir}/pl*/man1/vim.1*
939 %lang(pl) %{_mandir}/pl*/man1/vimdiff.1*
940 %lang(pl) %{_mandir}/pl*/man1/vimtutor.1*
941 %lang(pl) %{_mandir}/pl*/man1/ex.1*
942 %lang(pl) %{_mandir}/pl*/man1/view.1*
943 %lang(pl) %{_mandir}/pl*/man1/rview.1*
944 %lang(ru) %{_mandir}/ru*/man1/ex.1*
945 %lang(ru) %{_mandir}/ru*/man1/evim.1*
946 %lang(ru) %{_mandir}/ru*/man1/view.1*
947 %lang(ru) %{_mandir}/ru*/man1/rview.1*
948
949 %files -n xxd
950 %defattr(644,root,root,755)
951 %attr(755,root,root) %{_bindir}/xxd
952 %{_mandir}/man1/xxd.1*
953 %lang(fr) %{_mandir}/fr*/man1/xxd.1*
954 %lang(it) %{_mandir}/it*/man1/xxd.1*
955 %lang(pl) %{_mandir}/pl*/man1/xxd.1*
956 %lang(ru) %{_mandir}/ru*/man1/xxd.1*
957
958 %files rt
959 %defattr(644,root,root,755)
960 %attr(755,root,root) %{_bindir}/vimtutor
961 %dir %{_sysconfdir}/vim
962 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
963 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
964
965 %dir %{_datadir}/vim
966 %dir %{_datadir}/vim/v*
967 %dir %{_datadir}/vim/v*/doc
968 %doc %{_datadir}/vim/v*/doc/*.txt
969 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
970 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
971 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
972 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
973 %{_datadir}/vim/v*/ftplugin
974 %{_datadir}/vim/v*/indent
975 %{_datadir}/vim/v*/keymap
976 %dir %{_datadir}/vim/v*/lang
977 %doc %{_datadir}/vim/v*/lang/README*
978
979 # just add after/ and ftdetect/ separately, other dirs caught by globs above or below
980 %{_datadir}/vim/vimfiles/after
981 %{_datadir}/vim/vimfiles/ftdetect
982
983 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
984 %lang(af) %{_datadir}/vim/v*/lang/af/
985 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
986 %lang(ca) %{_datadir}/vim/v*/lang/ca/
987 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
988 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
989 %lang(cs) %{_datadir}/vim/v*/lang/cs/
990 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
991 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
992 %lang(de) %{_datadir}/vim/v*/lang/de/
993 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
994 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
995 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/
996 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
997 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
998 %lang(es) %{_datadir}/vim/v*/lang/es/
999 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
1000 %lang(fr) %{_datadir}/vim/v*/lang/fr/
1001 %lang(ga) %{_datadir}/vim/v*/lang/ga/
1002 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
1003 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
1004 %lang(it) %{_datadir}/vim/v*/lang/it/
1005 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
1006 %lang(ja) %{_datadir}/vim/v*/lang/ja/
1007 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
1008 %lang(ko) %{_datadir}/vim/v*/lang/ko/
1009 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
1010 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
1011 %lang(nb) %{_datadir}/vim/v*/lang/no/
1012 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
1013 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
1014 %lang(pl) %{_datadir}/vim/v*/lang/pl/
1015 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
1016 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
1017 %lang(ru) %{_datadir}/vim/v*/lang/ru/
1018 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
1019 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
1020 %lang(sk) %{_datadir}/vim/v*/lang/sk/
1021 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
1022 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
1023 %lang(sv) %{_datadir}/vim/v*/lang/sv/
1024 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
1025 %lang(uk) %{_datadir}/vim/v*/lang/uk/
1026 %lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
1027 %lang(vi) %{_datadir}/vim/v*/lang/vi/
1028 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1029 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1030 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1031 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1032 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/
1033 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1034 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1035 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1036 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1037 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/
1038
1039 %dir %{_datadir}/vim/v*/spell
1040 %{_datadir}/vim/v*/spell/cleanadd.vim
1041 # XXX: separate vim-spell-en
1042 %{_datadir}/vim/v*/spell/en.*.*
1043 %{_datadir}/vim/v*/spell/he.*
1044 %{_datadir}/vim/v*/spell/yi.*
1045
1046 %{_datadir}/vim/v*/macros
1047 %{_datadir}/vim/v*/plugin
1048 %{_datadir}/vim/v*/print
1049 %{_datadir}/vim/v*/syntax
1050 %{_datadir}/vim/v*/tools
1051 %{_datadir}/vim/v*/tutor
1052 %{_datadir}/vim/v*/colors
1053 %{_datadir}/vim/v*/compiler
1054 %{_datadir}/vim/v*/autoload
1055 %{_datadir}/vim/v*/*.vim
1056
1057 %{_mandir}/man1/vim*
1058 %{_mandir}/man1/rvim.*
1059 %lang(fi) %{_mandir}/fi/man1/vim*
1060 %lang(fi) %{_mandir}/fi/man1/rvim.*
1061 %lang(fi) %{_mandir}/fi/man1/gvi*
1062 %lang(fi) %{_mandir}/fi/man1/rgv*
1063 %lang(fr) %{_mandir}/fr/man1/vim*
1064 %lang(fr) %{_mandir}/fr/man1/rvim.*
1065 %lang(fr) %{_mandir}/fr/man1/gvi*
1066 %lang(fr) %{_mandir}/fr/man1/rgv*
1067 %lang(id) %{_mandir}/id/man1/vim*
1068 %lang(id) %{_mandir}/id/man1/rvim.*
1069 %lang(id) %{_mandir}/id/man1/gvi*
1070 %lang(id) %{_mandir}/id/man1/rgv*
1071 %lang(it) %{_mandir}/it*/man1/vim*
1072 %lang(pl) %{_mandir}/pl/man1/vim*
1073 %lang(pl) %{_mandir}/pl/man1/rvim.*
1074 %lang(pl) %{_mandir}/pl/man1/gvi*
1075 %lang(pl) %{_mandir}/pl/man1/rgv*
1076 %lang(ru) %{_mandir}/ru*/man1/vim*
1077
1078 %{_iconsdir}/hicolor/16x16/apps/vim.png
1079 %{_iconsdir}/hicolor/32x32/apps/vim.png
1080 %{_iconsdir}/hicolor/48x48/apps/vim.png
1081
1082 %if %{with athena}
1083 %files -n gvim-athena
1084 %defattr(644,root,root,755)
1085 %attr(755,root,root) %{_bindir}/gvim.athena
1086 %{_desktopdir}/gvim-athena.desktop
1087 %endif
1088
1089 %if %{with motif}
1090 %files -n gvim-motif
1091 %defattr(644,root,root,755)
1092 %attr(755,root,root) %{_bindir}/gvim.motif
1093 %{_desktopdir}/gvim-motif.desktop
1094 %endif
1095
1096 %if %{with gtk}
1097 %files -n gvim-gtk
1098 %defattr(644,root,root,755)
1099 %attr(755,root,root) %{_bindir}/gvim.gtk
1100 %attr(755,root,root) %{_bindir}/rgvim
1101 %attr(755,root,root) %{_bindir}/rgview
1102 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1103 %{_desktopdir}/gvim-gtk.desktop
1104 %endif
1105
1106 %if %{with gnome}
1107 %files -n gvim-gnome
1108 %defattr(644,root,root,755)
1109 %attr(755,root,root) %{_bindir}/gvim.gnome
1110 %{_desktopdir}/gvim-gnome.desktop
1111 %endif
1112
1113 %if %{with bonobo}
1114 %files -n gvim-bonobo
1115 %defattr(644,root,root,755)
1116 %attr(755,root,root) %{_bindir}/vim-component
1117 %attr(755,root,root) %{_bindir}/vim-factory
1118 %{_libdir}/bonobo/servers/*
1119 %endif
This page took 0.118242 seconds and 4 git commands to generate.