]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- up to 8.1.2141
[packages/vim.git] / vim.spec
1 #
2 # Conditional build:
3 %bcond_without  static          # don't build static version
4 %bcond_without  athena          # don't build Athena Widgets-based gvim
5 %bcond_without  motif           # don't build Motif-based gvim
6 %bcond_without  gtk             # don't build GTK+-based gvim support
7 %bcond_without  gtk3            # use GTK+ 2.x instead of 3.x
8 %bcond_without  gnome           # don't build GNOME-based gvim support
9 %bcond_without  heavy           # don't build heavy (full-featured GNOME-based gvim/vim)
10 %bcond_without  gui             # don't build any GUI
11 %bcond_without  light           # don't build light (minimal, ncurses, but not static)
12 %bcond_without  x11             # don't build vimx (non-GUI with X11 clipboard support)
13 %bcond_with     lua             # with Lua interp in vim package
14 %bcond_with     perl            # with Perl interp in vim package
15 %bcond_with     python          # with Python interp in vim package
16 %bcond_with     ruby            # with Ruby interp in vim package
17 %bcond_with     tcl             # with Tcl interp
18 %bcond_without  selinux         # without selinux support
19 %bcond_without  home_etc        # without home_etc support
20
21 %if %{without gui}
22 %undefine       with_athena
23 %undefine       with_motif
24 %undefine       with_gtk
25 %undefine       with_gnome
26 %endif
27
28 # Command to check for latest patch:
29 # wget ftp://ftp.vim.org/pub/editors/vim/patches/8.0/MD5SUMS -O - | tail -n1 | awk '{print $2}'
30 # VCS Commits: https://github.com/vim/vim/commits/master
31
32 %define         ver             8.1.2141
33 %define         rel             1
34 Summary:        Vi IMproved - a Vi clone
35 Summary(de.UTF-8):      VIsual editor iMproved
36 Summary(es.UTF-8):      Editor visual incrementado
37 Summary(fr.UTF-8):      Editeur VIM : VIsual editor iMproved
38 Summary(hu.UTF-8):      Vi IMproved - a Vi szerkesztő bővítése
39 Summary(pl.UTF-8):      Vi IMproved - klon edytora Vi
40 Summary(pt_BR.UTF-8):   Editor visual incrementado
41 Summary(ru.UTF-8):      Visual editor IMproved - Единственно Правильный Редактор :)
42 Summary(tr.UTF-8):      Gelişmiş bir vi sürümü
43 Summary(uk.UTF-8):      Visual editor IMproved - Єдино Вірний Редактор :)
44 Name:           vim
45 Version:        %{ver}
46 # keep macro for release, otherwise people tend to increment Epoch instead
47 Release:        %{rel}
48 Epoch:          4
49 License:        Charityware
50 Group:          Applications/Editors/Vim
51 #Source0:       ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
52 Source0:        https://github.com/vim/vim/archive/v%{ver}.tar.gz
53 # Source0-md5:  168b628c0df82197bed699ce8f97b2d9
54 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
55 # Source1-md5:  bc4d1e115ca506ad7751b9bd2b773a7f
56 Source2:        http://skawina.eu.org/mikolaj/usr_doc_pl.zip
57 # Source2-md5:  ff96284b1c913d55cf0877839b34d490
58 Source15:       update-source.sh
59 # syntax files
60 # http://www.vim.org/scripts/script.php?script_id=1491 (0.7.5)
61 Source20:       javascript.vim
62 # http://www.vim.org/scripts/script.php?script_id=447 (20040206)
63 Source22:       exim.vim
64 # color schemes
65 # http://www.vim.org/scripts/script.php?script_id=415 (1.15)
66 Source30:       zenburn.vim
67 # http://www.vim.org/scripts/script.php?script_id=92 (1.0)
68 Source31:       borland.vim
69 # http://www.vim.org/scripts/script.php?script_id=368 (1.2.5)
70 Source32:       oceandeep.vim
71 # http://www.vim.org/scripts/script.php?script_id=1464 (2.6.3)
72 Source33:       moria.vim
73 Patch0:         %{name}-sysconfdir.patch
74
75 Patch2:         %{name}-paths.patch
76 Patch3:         %{name}-no_libelf.patch
77
78 Patch5:         %{name}-awk.patch
79 Patch6:         %{name}-filetype_vim-perl_tests.patch
80 Patch7:         %{name}-apache.patch
81 Patch8:         %{name}-po-syntax.patch
82 Patch9:         %{name}-modprobe.patch
83 Patch10:        %{name}-doubleparenthesis.patch
84 Patch11:        %{name}-syntax-fstab.patch
85 Patch12:        010_all_%{name}-6.3-vixie.patch
86 Patch14:        020_all_%{name}-7.0-fstab-tmpfs-size.patch
87 Patch15:        021_all_%{name}-7.0-fstab-bogus-errors.patch
88 Patch17:        027_all_%{name}-7.0-automake-substitutions-93378.patch
89 Patch18:        %{name}-smarty.patch
90 Patch19:        %{name}-tutor-lessdeps.patch
91 Patch20:        %{name}-nagios.patch
92 Patch21:        %{name}-filetypes.patch
93 Patch22:        %{name}-man_installation.patch
94 Patch23:        %{name}-vimrc.patch
95 Patch24:        %{name}-syntax-exports.patch
96 Patch25:        sudoers-include.patch
97 Patch26:        %{name}-home_etc.patch
98 Patch27:        %{name}-autopaste.patch
99 Patch28:        %{name}-ft-cron.patch
100 Patch29:        %{name}-phpscript.patch
101 Patch30:        %{name}-pam.patch
102 Patch32:        %{name}-localedir.patch
103
104 Patch34:        %{name}-rtdir.patch
105 Patch35:        %{name}-ft-mib.patch
106 Patch36:        %{name}-ft-lib-udevrules.patch
107 Patch37:        %{name}-ft-mysql.patch
108 Patch38:        %{name}-ft-gyp.patch
109 Patch39:        %{name}-revert-7.4.165-noundo.patch
110 Patch40:        desktop.patch
111 Patch41:        %{name}-lua.patch
112 URL:            http://www.vim.org/
113 BuildRequires:  acl-devel
114 BuildRequires:  attr-devel
115 BuildRequires:  autoconf >= 2.12
116 BuildRequires:  gpm-devel
117 %if "%{pld_release}" == "ac"
118 %if %{with athena} || %{with x11}
119 BuildRequires:  XFree86-devel
120 %endif
121 BuildRequires:  gettext-devel
122 %else
123 BuildRequires:  gettext-tools
124 %{?with_athena:BuildRequires:   xorg-lib-libXaw-devel}
125 %if %{with x11} || %{with gui}
126 BuildRequires:  xorg-lib-libICE-devel
127 BuildRequires:  xorg-lib-libSM-devel
128 BuildRequires:  xorg-lib-libX11-devel
129 BuildRequires:  xorg-lib-libXt-devel
130 %endif
131 %endif
132 BuildRequires:  grep
133 %if %{with gtk} || %{with heavy}
134 %if %{with gtk3}
135 BuildRequires:  gtk+3-devel >= 3.0
136 %else
137 BuildRequires:  gtk+2-devel >= 2:2.6.0
138 %endif
139 %endif
140 BuildRequires:  libcanberra-devel
141 %{?with_gnome:BuildRequires:    libgnomeui-devel >= 2.2.0.1}
142 %if %{with selinux} || %{with heavy}
143 BuildRequires:  libselinux-devel
144 %endif
145 %if %{with lua} || %{with heavy}
146 BuildRequires:  lua52-devel >= 5.2
147 %endif
148 %{?with_motif:BuildRequires:    motif-devel}
149 BuildRequires:  ncurses-devel
150 BuildRequires:  pkgconfig
151 %if %{with perl} || %{with heavy}
152 BuildRequires:  perl-devel
153 %endif
154 %if %{with python} || %{with heavy}
155 BuildRequires:  python-devel >= 2.3
156 BuildRequires:  rpm-pythonprov
157 %endif
158 BuildRequires:  rpm >= 4.4.9-56
159 BuildRequires:  rpmbuild(macros) >= 1.718
160 %if %{with ruby} || %{with heavy}
161 BuildRequires:  ruby-devel >= 1.6.0
162 %endif
163 %if %{with tcl} || %{with heavy}
164 BuildRequires:  tcl-devel >= 8.0
165 %endif
166 Obsoletes:      kvim
167 %if %{with static}
168 BuildRequires:  acl-static
169 BuildRequires:  attr-static
170 BuildRequires:  glibc-static
171 %{?with_selinux:BuildRequires:  libselinux-static}
172 BuildRequires:  ncurses-static
173 %else
174 Provides:       %{name}-static = %{epoch}:%{version}-%{release}
175 Obsoletes:      elvis-static
176 Obsoletes:      nvi
177 Obsoletes:      vi
178 Obsoletes:      vim-minimal
179 Obsoletes:      vim-static
180 %endif
181 BuildRequires:  unzip
182 Suggests:       %{name}-rt = %{epoch}:%{version}-%{release}
183 Provides:       vi-editor
184 Provides:       vi
185 Provides:       vim-editor = %{epoch}:%{version}-%{release}
186 Obsoletes:      vim-enhanced
187 Obsoletes:      vim-ispell
188 Obsoletes:      vim-plugin-multvals
189 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
190
191 # configure redefines it to =1
192 %define         filterout_cpp   -D_FORTIFY_SOURCE=[0-9]*
193 %define         filterout_c             -Wp,-D_FORTIFY_SOURCE=2
194
195 # that's example script
196 %define         _noautoreq      '/bin/csh'
197
198 # cflags get changed while configuring
199 %undefine       configure_cache
200
201 %description
202 Text editor similar to Vi. Important improvements: multiple windows,
203 multi-level undo, block highliting, folding, and many other.
204
205 %description -l cs.UTF-8
206 VIM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
207 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
208 populární. VIM je obohacený funkcemi jako: podpora více oken,
209 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
210 funkcí.
211
212 %description -l de.UTF-8
213 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
214 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
215 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
216 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
217 Standard-vi-Programm.
218
219 %description -l es.UTF-8
220 El editor Visual Mejorado es una versión actualizada y con nuevas
221 características adicionales del mundialmente famoso 'vi' que acompaña
222 prácticamente todos los sistemas UN*X. Posibilita trabajar con
223 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
224 otras muchas características del 'vi'.
225
226 %description -l fr.UTF-8
227 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
228 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
229 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
230 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
231 blocs et autres caractéristiques au vi de base.
232
233 %description -l hu.UTF-8
234 A Vi-hez hasonló texteditor. Néhány fontos bővítés: ablakkezelés,
235 többszintű undo, blokk kiemelés, kódrészletek összecsukása, és még sok
236 más...
237
238 %description -l id.UTF-8
239 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
240 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
241 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
242 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
243 windows, multi-level undo, block highlighting, dll.
244
245 %description -l is.UTF-8
246 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
247 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
248 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
249 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
250 fleira.
251
252 %description -l it.UTF-8
253 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
254 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
255 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
256 finestre multiple, funzione "annulla" multilivello, evidenziazione dei
257 blocchi e altro.
258
259 %description -l pl.UTF-8
260 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
261 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
262 folding i wiele innych.
263
264 %description -l pt.UTF-8
265 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
266 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
267 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
268 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
269 de blocos e mais.
270
271 %description -l pt_BR.UTF-8
272 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
273 características do mundialmente famoso 'vi' que acompanha praticamente
274 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
275 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
276 outras características do 'vi'.
277
278 %description -l ru.UTF-8
279 VIsual editor iMproved - это обновленный и значительно улучшенный клон
280 редактора vi, который поставляется практически со всеми
281 UN*X-системами. В этой версии есть многоуровневый откат, выделение
282 блоков, синтаксическая подсветка и много другого...
283
284 %description -l sk.UTF-8
285 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
286 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
287 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
288 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
289
290 %description -l sv.UTF-8
291 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
292 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
293 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
294 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
295 ändå.
296
297 %description -l tr.UTF-8
298 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
299 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
300
301 %description -l uk.UTF-8
302 VIsual editor iMproved - це оновлений та значно поліпшений клон
303 редактора vi, який поставляється практично зі всіма UN*X-системами. В
304 цій версії є багаторівневий відкат, виділення блоків, синтаксична
305 підсвітка та багато іншого...
306
307 %package -n xxd
308 Summary:        Utility to convert files to hexdump or do the reverse
309 Summary(pl.UTF-8):      Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
310 Group:          Applications/Editors/Vim
311
312 %description -n xxd
313 xxd creates a hex dump of a given file or standard input. It can also
314 convert a hex dump back to its original binary form. Like uuencode and
315 uudecode it allows the transmission of binary data in a `mail-safe'
316 ASCII representation, but has the advantage of decoding to standard
317 output. Moreover, it can be used to perform binary file patching.
318
319 %description -n xxd -l pl.UTF-8
320 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
321 Może także przekonwertować taki zapis na oryginalną, binarną postać.
322 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
323 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
324 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
325
326 %package heavy
327 Summary:        Full featured build of Vim
328 Summary(hu.UTF-8):      A Vim teljeskörű szolgáltatásait nyújtó verzió
329 Summary(pl.UTF-8):      W pełni funkcjonalna wersja Vima
330 Group:          Applications/Editors/Vim
331 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
332 Provides:       vi-editor
333 Provides:       vi
334 Provides:       vim-editor = %{epoch}:%{version}-%{release}
335 Obsoletes:      vim-enhanced
336 Obsoletes:      vim-ispell
337 Obsoletes:      vim-plugin-multvals
338
339 %description heavy
340 This package provides full featured version of Vim, which includes
341 support for Perl, Python, Ruby and Tcl scripting.
342
343 %description heavy -l hu.UTF-8
344 Ez a csomag a Vim teljeskörű szolgáltatásait nyújtó verzióját
345 tartalmazza, amelyben benne van a Perl, Python, Ruby és Tcl támogatás.
346
347 %description heavy -l pl.UTF-8
348 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
349 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl.
350
351 %package light
352 Summary:        Minimal build of Vim
353 Summary(pl.UTF-8):      Minimalna wersja vima
354 Group:          Applications/Editors/Vim
355 Provides:       vi-editor
356 Provides:       vi
357 Provides:       vim-editor = %{epoch}:%{version}-%{release}
358
359 %description light
360 This package provides light featured version of Vim.
361
362 %description light -l pl.UTF-8
363 Pakiet ten dostarcza minimalną wersję Vima.
364
365 %package -n vimx
366 Summary:        Vi IMproved - a Vi clone
367 Summary(pl.UTF-8):      Vi IMproved - klon edytora Vi
368 Group:          X11/Applications/Editors
369 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
370 Provides:       vi-editor
371 Provides:       vi
372 Provides:       vim-editor = %{epoch}:%{version}-%{release}
373 Obsoletes:      vim-enhanced
374 Obsoletes:      vim-ispell
375 Obsoletes:      vim-plugin-multvals
376
377 %description -n vimx
378 This package provides console version of Vim, with support for basic
379 X11 features like system clipboard.
380
381 %description -n vimx -l pl.UTF-8
382 Pakiet ten dostarcza konsolową wersję Vima, posiadającą wsparcie dla
383 podstawowych funckcji X11, takich jak systemowy schowek.
384
385 %package static
386 Summary:        Statically linked Vim
387 Summary(hu.UTF-8):      A Vim statikus verziója
388 Summary(pl.UTF-8):      Statycznie skonsolidowany Vim
389 Group:          Applications/Editors/Vim
390 Provides:       vi-editor
391 Provides:       vi
392 Provides:       vim-editor = %{epoch}:%{version}-%{release}
393 Obsoletes:      elvis-static
394 Obsoletes:      nvi
395 Obsoletes:      vim-minimal
396
397 %description static
398 Text editor similar to Vi. This version is built with minimal feature
399 and is installed in /bin as a rescue tool. The installation of this
400 package is STRONGLY recommended.
401
402 %description static -l hu.UTF-8
403 Vi-hez hasonló text editor. Ez a verzió a legminimálisabb
404 szolgáltatásokat nyújtja, és a /bin könyvtárba települ, mint egy mentő
405 eszköz. Ennek a csomagnak a telepítése ERŐSEN javallott.
406
407 %description static -l pl.UTF-8
408 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
409 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
410 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
411 zalecana, może on pomóc Ci uratować system w czasie awarii.
412
413 %description static -l ru.UTF-8
414 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
415 удобно для запуска даже когда смонтирована только корневая файловая
416 система.
417
418 %description static -l uk.UTF-8
419 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
420 запуску навіть тоді, коли змонтована тільки корньова файлова система.
421
422 %package rt
423 Summary:        Vim runtime files
424 Summary(cs.UTF-8):      Soubory nezbytné pro libovolný editor VIM
425 Summary(da.UTF-8):      Fælles filer som er nødvendige for enhver version af VIM editoren
426 Summary(de.UTF-8):      Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
427 Summary(es.UTF-8):      Ficheros comunes a todas las versiones de VIM
428 Summary(fr.UTF-8):      Fichiers communs indispensables pour toute version de l'éditeur VIM
429 Summary(hu.UTF-8):      A Vim futásidejű fájljai
430 Summary(id.UTF-8):      File umum yang dibutuhkan oleh semua versi editor VIM
431 Summary(is.UTF-8):      Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
432 Summary(it.UTF-8):      File comuni necessari per tutte le versioni dell'editor VIM
433 Summary(ja.UTF-8):      すべてのバージョンの VIM エディタで必要とされる共通ファイル
434 Summary(nb.UTF-8):      Felles filer som er nødvendige for enhver versjon av VIM editoren
435 Summary(pl.UTF-8):      Pliki przydatne dla edytora Vim
436 Summary(pt.UTF-8):      Os ficheiros comuns necessários para qualquer versão do editor VIM
437 Summary(ru.UTF-8):      Файлы, требуемые для любой версии редактора vim
438 Summary(sk.UTF-8):      Spoločné súbory potrebné pre všetky verzie editoru VIM
439 Summary(sl.UTF-8):      Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
440 Summary(sv.UTF-8):      De gemensamma filerna som behövs av alla versioner av redigeraren VIM
441 Summary(uk.UTF-8):      Файли, потрібні для будь-якої версії редактору vim
442 Summary(zh_CN.UTF-8):   任何版本的 VIM 编辑器所需的公用文件。
443 Group:          Applications/Editors/Vim
444 Requires:       rpm-whiteout >= 1.3
445 Requires:       vim-plugin-securemodelines
446 Obsoletes:      gvim-bonobo
447 Obsoletes:      vim-common
448 Obsoletes:      vim-syntax-docker < 1.10.1
449 Obsoletes:      vim-syntax-gitcommit
450 Obsoletes:      vim-syntax-golang <= 1.3.3-1
451 Obsoletes:      vim-syntax-lxc-docker <= 0.9.0-1
452 Obsoletes:      vim-syntax-upstart
453 %if "%{_rpmversion}" >= "5"
454 BuildArch:      noarch
455 %endif
456
457 %description rt
458 This package contains macros, documentation, syntax configuration and
459 manual pages for Vim. If you want to take advantage of Vim more
460 powerful features, you should install this package.
461
462 %description rt -l cs.UTF-8
463 Tento balíček obsahuje společné soubory pro všechny další balíčky s
464 vim.
465
466 %description rt -l de.UTF-8
467 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
468 Ausführung benötigt.
469
470 %description rt -l fr.UTF-8
471 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
472 VIM a besoin pour fonctionner.
473
474 %description rt -l hu.UTF-8
475 Ez a csomag makrókat, dokumentációt, nyelvi konfigurációt és kézikönyv
476 oldalakat tartalmaz Vim-hez. Ha ki akarod használni a Vim
477 lehetőségeit, érdemes telepítened ezt a csomagot.
478
479 %description rt -l id.UTF-8
480 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
481 berjalan.
482
483 %description rt -l is.UTF-8
484 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
485 til að keyra.
486
487 %description rt -l it.UTF-8
488 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
489 per poter funzionare.
490
491 %description rt -l pl.UTF-8
492 W tym pakiecie znajdują się makra, pliki konfiguracyjne i strony
493 podręcznika dla edytora Vim. Aby korzystać z zaawansowanych możliwości
494 Vima, należy zainstalować ten pakiet.
495
496 %description rt -l pt.UTF-8
497 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
498 irão necessitar para correr.
499
500 %description rt -l ru.UTF-8
501 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
502 для работы любой программы vim.
503
504 %description rt -l sk.UTF-8
505 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
506 funkciu každá verzia editoru VIM.
507
508 %description rt -l sv.UTF-8
509 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
510 köra.
511
512 %description rt -l uk.UTF-8
513 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
514 для роботи будь-якої програми vim.
515
516 %package rt-extras
517 Summary:        Vim runtime extra files
518 Summary(pl.UTF-8):      Dodatkowe pliki uruchomieniowe Vima
519 Group:          Applications/Editors/Vim
520 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
521 %if "%{_rpmversion}" >= "5"
522 BuildArch:      noarch
523 %endif
524
525 %description rt-extras
526 This package contains more runtime extra files, not really useful. If
527 you want to take full advantage of Vim more powerful features, you
528 should install this package.
529
530 %description rt-extras -l pl.UTF-8
531 Ten pakiet zawiera dodatkowe pliki uruchomieniowe, nie tak bardzo
532 przydatne. Aby korzystać ze wszystkich możliwości Vima, należy
533 zainstalować ten pakiet.
534
535 %package doc
536 Summary:        Context Vim documentation
537 Summary(pl.UTF-8):      Dokumentacja kontekstowa do Vima
538 Group:          Applications/Editors/Vim
539 Requires(post,postun):  /usr/bin/vim
540 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
541 %if "%{_rpmversion}" >= "5"
542 BuildArch:      noarch
543 %endif
544
545 %description doc
546 This package contains Vim documentation accessible from vim itself
547 using :help command.
548
549 %description doc -l pl.UTF-8
550 Ten pakiet zawiera dokumentację do Vima dostępną z poziomu samego vima
551 za pomocą polecenia :help.
552
553 %package spell-en
554 Summary:        English dictionaries for VIMspell
555 Summary(pl.UTF-8):      Angielskie słowniki dla VIMspella
556 Group:          Applications/Editors/Vim
557 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
558 %if "%{_rpmversion}" >= "5"
559 BuildArch:      noarch
560 %endif
561
562 %description spell-en
563 English dictionaries for VIMspell.
564
565 %description spell-en -l pl.UTF-8
566 Angielskie słowniki dla VIMspella.
567
568 %package tutor
569 Summary:        Vim tutorial
570 Summary(hu.UTF-8):      Vim tutorial
571 Summary(pl.UTF-8):      Samouczek do Vima
572 Group:          Applications/Editors/Vim
573 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
574 Requires:       mktemp
575 Requires:       vim-editor = %{epoch}:%{version}-%{release}
576 %if "%{_rpmversion}" >= "5"
577 BuildArch:      noarch
578 %endif
579
580 %description tutor
581 This package contains Vim tutorial.
582
583 %description tutor -l hu.UTF-8
584 Ez a csomag a vimtutor-t tartalmazza, amely egy gyakorlat-orientált
585 bevezető a Vim-hez.
586
587 %description tutor -l pl.UTF-8
588 Ten pakiet zawiera samouczek do Vima.
589
590 %package -n gvim-athena
591 Summary:        Vim for X Window built with Athena
592 Summary(hu.UTF-8):      A Vim X Window verziója, az Athena felhasználásával
593 Summary(pl.UTF-8):      Vim dla X Window korzystający z biblioteki Athena
594 Group:          Applications/Editors/Vim
595 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
596 Requires:       iconv
597 Provides:       gvim
598 Provides:       vi-editor
599 Provides:       vim-editor = %{epoch}:%{version}-%{release}
600 Obsoletes:      vim-X11
601
602 %description -n gvim-athena
603 The classic Unix text editor now also under X Window System! This
604 version is built with Athena Widget Set.
605
606 %description -n gvim-athena -l hu.UTF-8
607 A Vim X Window verziója, az Athena Widgetkészlet felhasználásával.
608
609 %description -n gvim-athena -l pl.UTF-8
610 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
611 biblioteki Athena Widget Set.
612
613 %description -n gvim-athena -l ru.UTF-8
614 Этот пакет представляет собой версию VIM, собранную с библиотеками
615 Athena Widget Set, что позволяет запускать VIM как приложение X Window
616 System - с полностью графическим интерфейсом и поддержкой мыши.
617
618 %description -n gvim-athena -l uk.UTF-8
619 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
620 Set, що дозволяє запускати VIM як прикладну програму X Window System -
621 з повністю графічним інтерфейсом та підтримкою миші.
622
623 %package -n gvim-motif
624 Summary:        Vim for X Window System built with Motif
625 Summary(hu.UTF-8):      A Vim X Window verziója, a Motif felhasználásával
626 Summary(pl.UTF-8):      Vim dla systemu X Window korzystający z biblioteki Motif
627 Group:          Applications/Editors/Vim
628 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
629 Requires:       iconv
630 Provides:       gvim
631 Provides:       vi-editor
632 Provides:       vim-editor = %{epoch}:%{version}-%{release}
633 Obsoletes:      vim-X11
634
635 %description -n gvim-motif
636 The classic Unix text editor now also under X Window System! This
637 version is built with Motif.
638
639 %description -n gvim-motif -l hu.UTF-8
640 A Vim X Window verziója, a Motif Widgetkészlet felhasználásával.
641
642 %description -n gvim-motif -l pl.UTF-8
643 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
644 biblioteki Motif.
645
646 %description -n gvim-motif -l ru.UTF-8
647 Этот пакет представляет собой версию VIM, собранную с библиотеками
648 Motif, что позволяет запускать VIM как приложение X Window System - с
649 полностью графическим интерфейсом и поддержкой мыши.
650
651 %description -n gvim-motif -l uk.UTF-8
652 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
653 дозволяє запускати VIM як прикладну програму X Window System - з
654 повністю графічним інтерфейсом та підтримкою миші.
655
656 %package -n gvim-gtk
657 Summary:        Vim for X Window System built with GTK+
658 Summary(hu.UTF-8):      A Vim X Window verziója, a GTK+ felhasználásával
659 Summary(pl.UTF-8):      Vim dla systemu X Window korzystający z biblioteki GTK+
660 Group:          Applications/Editors/Vim
661 Requires(post,postun):  gtk-update-icon-cache
662 Requires(post,postun):  hicolor-icon-theme
663 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
664 Requires:       %{name}-rt-extras = %{epoch}:%{version}-%{release}
665 Requires:       iconv
666 Provides:       gvim
667 Provides:       vi-editor
668 Provides:       vim-editor = %{epoch}:%{version}-%{release}
669 Obsoletes:      vim-X11
670
671 %description -n gvim-gtk
672 The classic Unix text editor now also under X Window System! This
673 version is built with GTK+.
674
675 %description -n gvim-gtk -l hu.UTF-8
676 A Vim X Window verziója, a GTK+ Widgetkészlet felhasználásával.
677
678 %description -n gvim-gtk -l pl.UTF-8
679 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
680 biblioteki GTK+.
681
682 %description -n gvim-gtk -l ru.UTF-8
683 Этот пакет представляет собой версию VIM, собранную с библиотеками
684 GTK, что позволяет запускать VIM как приложение X Window System - с
685 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
686 'gvim'...
687
688 %description -n gvim-gtk -l uk.UTF-8
689 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
690 запускати VIM як прикладну програму X Window System - з повністю
691 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
692
693 %package -n gvim-gnome
694 Summary:        Vim for X Window System built with GNOME
695 Summary(hu.UTF-8):      A Vim X Window verziója, a GNOME felhasználásával
696 Summary(pl.UTF-8):      Vim dla systemu X Window korzystający z biblioteki GNOME
697 Group:          Applications/Editors/Vim
698 Requires(post,postun):  gtk-update-icon-cache
699 Requires(post,postun):  hicolor-icon-theme
700 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
701 Requires:       %{name}-rt-extras = %{epoch}:%{version}-%{release}
702 Requires:       iconv
703 Provides:       gvim
704 Provides:       vi-editor
705 Provides:       vim-editor = %{epoch}:%{version}-%{release}
706 Obsoletes:      vim-X11
707
708 %description -n gvim-gnome
709 The classic Unix text editor now also under X Window System! This
710 version is build with GNOME.
711
712 %description -n gvim-gnome -l hu.UTF-8
713 A Vim X Window verziója, a GNOME felhasználásával.
714
715 %description -n gvim-gnome -l pl.UTF-8
716 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
717 bibliotek GNOME.
718
719 %description -n gvim-gnome -l ru.UTF-8
720 Этот пакет представляет собой версию VIM, собранную с библиотеками
721 GNOME, что позволяет запускать VIM как приложение X Window System - с
722 полностью графическим интерфейсом и поддержкой мыши.
723
724 %description -n gvim-gnome -l uk.UTF-8
725 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
726 дозволяє запускати VIM як прикладну програму X Window System - з
727 повністю графічним інтерфейсом та підтримкою миші.
728
729 %package -n gvim-heavy
730 Summary:        Full featured build of Vim with X Window support
731 Summary(hu.UTF-8):      A gvim legteljesebb verziója
732 Summary(pl.UTF-8):      W pełni funkcjonalna wersja Vima z interfejsem dla X Window
733 Group:          Applications/Editors/Vim
734 Requires(post,postun):  gtk-update-icon-cache
735 Requires(post,postun):  hicolor-icon-theme
736 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
737 Requires:       %{name}-rt-extras = %{epoch}:%{version}-%{release}
738 Requires:       iconv
739 Provides:       gvim
740 Provides:       vi-editor
741 Provides:       vim-editor = %{epoch}:%{version}-%{release}
742 Obsoletes:      vim-X11
743
744 %description -n gvim-heavy
745 This package provides full featured version of Vim, which includes
746 support for Perl, Python, Ruby and Tcl scripting, as well as GTK+2
747 GUI.
748
749 %description -n gvim-heavy -l hu.UTF-8
750 A gvim legteljesebb verziója, Perl, Python, Ruby és Tcl támogatással.
751
752 %description -n gvim-heavy -l pl.UTF-8
753 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
754 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl
755 jak również GUI GTK+2.
756
757 %prep
758 %setup -q
759
760 cp -p runtime/gvim.desktop gvim-athena.desktop
761 cp -p runtime/gvim.desktop gvim-gnome.desktop
762 cp -p runtime/gvim.desktop gvim-gtk.desktop
763 cp -p runtime/gvim.desktop gvim-motif.desktop
764
765 %patch0 -p1
766
767 %patch2 -p1
768 %patch3 -p1
769
770 %patch5 -p1
771 %patch6 -p1
772 %patch7 -p1
773 %patch8 -p1
774 %patch9 -p0
775 %patch10 -p1
776 %patch11 -p1
777 %patch12 -p1
778 %patch14 -p1
779 %patch15 -p1
780 %patch17 -p0
781 %patch18 -p1
782 %patch19 -p1
783 %patch20 -p1
784 %patch21 -p1
785 %patch22 -p1
786 %patch23 -p1
787 %patch24 -p1
788 %patch25 -p1
789 %{?with_home_etc:%patch26 -p1}
790
791 # autopaste patch - automatically switch to paste mode
792 # when `really fast typing' situation happens
793 %patch27 -p1
794 %patch28 -p1
795 %patch29 -p1
796 %patch30 -p1
797 %patch32 -p1
798
799 %patch34 -p1
800 %patch35 -p1
801 %patch36 -p1
802 %patch37 -p1
803 %patch38 -p1
804 %patch39 -p1
805 %patch40 -p1
806 %patch41 -p1
807
808 cp -p %{SOURCE20} runtime/syntax
809 cp -p %{SOURCE22} runtime/syntax
810 cp -p %{SOURCE30} runtime/colors
811 cp -p %{SOURCE31} runtime/colors
812 cp -p %{SOURCE32} runtime/colors
813
814 %{__unzip} -qd runtime/doc %{SOURCE2}
815
816 # not info files but some binary files for Amiga:
817 # Amiga Workbench drawer icon
818 # Amiga Workbench project icon
819 # Amiga Workbench tool icon
820 find -name '*.info' | xargs rm -v
821
822 %build
823 cd src
824 %{__autoconf}
825 # needed to prevent deconfiguring
826 cp -f configure auto
827 install -d bin
828
829 build() {
830         set -x
831         local target=$1
832         shift
833
834         %configure \
835 %if "%{pld_release}" == "ac"
836                 --with-tlib="ncurses -ltinfo"
837 %else
838                 --with-tlib="ncursesw"
839 %endif
840
841         %{__make} -j1 distclean
842         # add common options, can override (disable) if needed with args
843         %configure \
844                 --%{!?with_lua:dis}%{?with_lua:en}able-luainterp \
845                 --%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
846                 --%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
847                 --%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
848                 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
849                 %{!?with_selinux:--disable-selinux} \
850                 --enable-cscope \
851                 --enable-gpm \
852                 --enable-multibyte \
853                 --enable-nls \
854 %if "%{pld_release}" == "ac"
855                 --with-tlib="ncurses -ltinfo" \
856 %else
857                 --with-tlib="ncursesw" \
858 %endif
859                 --with-modified-by="PLD Linux Distribution" \
860                 --with-compiledby="PLD Linux Distribution" \
861                 "$@"
862
863         %{__make} vim
864         mv -f vim bin/$target
865 }
866
867 %if %{with static}
868 LDFLAGS="%{rpmldflags} -static"
869 build vim.static \
870         --disable-gui \
871         --without-x \
872         --with-features=small \
873         --disable-canberra \
874         --disable-luainterp \
875         --disable-perlinterp \
876         --disable-pythoninterp \
877         --disable-rubyinterp \
878         --disable-tclinterp \
879         --disable-cscope \
880         --disable-gpm \
881         --enable-multibyte \
882         --disable-nls
883
884 LDFLAGS="%{rpmldflags}"
885 %endif
886
887 %if %{with light}
888 build vim.light \
889         --disable-gui \
890         --without-x \
891         --with-features=small \
892         --disable-canberra \
893         --disable-luainterp \
894         --disable-perlinterp \
895         --disable-pythoninterp \
896         --disable-rubyinterp \
897         --disable-tclinterp \
898         --disable-cscope \
899         --disable-gpm \
900         --disable-nls
901 %endif
902
903 build vim.ncurses \
904         --disable-gui \
905         --without-x \
906         --disable-canberra \
907         --with-features=huge
908
909 %if %{with x11}
910 build vimx \
911         --disable-gui \
912         --with-x \
913         --disable-canberra \
914         --with-features=huge
915 %endif
916
917 %if %{with athena}
918 build gvim.athena \
919         --with-features=huge \
920         --enable-gui=athena \
921         --with-x \
922         --enable-fontset \
923         --disable-canberra \
924         --disable-gpm \
925         --without-gnome
926
927 %endif
928
929 %if %{with motif}
930 build gvim.motif \
931         --with-features=huge \
932         --enable-gui=motif \
933         --with-x \
934         --enable-multibyte \
935         --enable-fontset \
936         --disable-canberra \
937         --disable-gpm \
938         --without-gnome
939
940 %endif
941
942 %if %{with gtk}
943 build gvim.gtk \
944         --with-features=huge \
945 %if %{with gtk3}
946         --enable-gui=gtk3 \
947         --enable-gtk3-check \
948 %else
949         --enable-gui=gtk2 \
950         --enable-gtk2-check \
951 %endif
952         --with-x \
953         --disable-canberra \
954         --disable-gpm
955
956 %endif
957
958 %if %{with gnome}
959 build gvim.gnome \
960         --with-features=huge \
961         --enable-gui=gnome2 \
962         --enable-gtk2-check \
963         --enable-gnome-check \
964         --with-x \
965         --disable-gpm
966
967 %endif
968
969 # vim.heavy / gvim.heavy
970 %if %{with heavy}
971 build vim.heavy \
972         --with-features=huge \
973         --disable-gui \
974         --without-x \
975         --enable-luainterp \
976         --enable-perlinterp \
977         --enable-pythoninterp \
978         --enable-rubyinterp \
979         --enable-tclinterp \
980         --disable-gpm
981
982 build gvim.heavy \
983         --with-features=huge \
984         --enable-gui=gnome2 \
985         --enable-gtk2-check \
986         --enable-gnome-check \
987         --with-x \
988         --enable-luainterp \
989         --enable-perlinterp \
990         --enable-pythoninterp \
991         --enable-rubyinterp \
992         --enable-tclinterp \
993         --disable-gpm
994 %endif
995
996 %{__make} xxd/xxd languages
997
998 %install
999 rm -rf $RPM_BUILD_ROOT
1000
1001 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1002         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim/ftdetect} \
1003         $RPM_BUILD_ROOT%{_desktopdir}
1004
1005 %{__make} -j1 install \
1006         DESTDIR=$RPM_BUILD_ROOT
1007
1008 # generic gvim from upstream, but we have bunch of subpackages
1009 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/gvim.desktop
1010
1011 # fix nb/no
1012 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}
1013 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}.utf-8
1014 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.latin1.vim
1015 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.utf-8.vim
1016 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.latin1.vim
1017 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.utf-8.vim
1018
1019 # remove unsupported locales
1020 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ko.UTF-8
1021 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
1022 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.UTF-8
1023 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_TW.UTF-8
1024 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
1025 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
1026 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
1027 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
1028 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
1029 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
1030 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
1031 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
1032 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
1033 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_zh_{cn,tw}.utf-8.vim
1034
1035 %find_lang %{name}
1036
1037 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*
1038
1039 %if %{with static}
1040 install -p src/bin/vim.ncurses  $RPM_BUILD_ROOT%{_bindir}/vim
1041 install -p src/bin/vim.static   $RPM_BUILD_ROOT/bin/vi
1042 %else
1043 install -p src/bin/vim.ncurses  $RPM_BUILD_ROOT/bin/vi
1044 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
1045 %endif
1046 %if %{with x11}
1047 install -p src/bin/vimx $RPM_BUILD_ROOT%{_bindir}/vimx
1048 %endif
1049 install -p src/xxd/xxd  $RPM_BUILD_ROOT%{_bindir}/xxd
1050 install -p src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
1051
1052 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1053 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1054
1055 # not supported directories
1056 %{__rm} -r $RPM_BUILD_ROOT%{_mandir}/??.*/
1057
1058 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/vimrc_example.vim,%{_sysconfdir}/vim/vimrc}
1059 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/gvimrc_example.vim,%{_sysconfdir}/vim/gvimrc}
1060
1061 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1062 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
1063 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
1064 ln -sf vi  $RPM_BUILD_ROOT/bin/view
1065 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
1066
1067 %if %{with athena}
1068 install -p src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1069 cp -p gvim-athena.desktop $RPM_BUILD_ROOT%{_desktopdir}
1070 %endif
1071 %if %{with motif}
1072 install -p src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1073 cp -p gvim-motif.desktop $RPM_BUILD_ROOT%{_desktopdir}
1074 %endif
1075 %if %{with gnome}
1076 install -p src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1077 cp -p gvim-gnome.desktop $RPM_BUILD_ROOT%{_desktopdir}
1078 %endif
1079 %if %{with gtk}
1080 install -p src/bin/gvim.gtk     $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1081 cp -p gvim-gtk.desktop $RPM_BUILD_ROOT%{_desktopdir}
1082 ln -sf gvim.gtk         $RPM_BUILD_ROOT%{_bindir}/gvim
1083 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/eview
1084 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/evim
1085 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gview
1086 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gvimdiff
1087 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgview
1088 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgvim
1089 %endif
1090 %if %{with heavy}
1091 install -p src/bin/vim.heavy    $RPM_BUILD_ROOT%{_bindir}
1092 install -p src/bin/gvim.heavy   $RPM_BUILD_ROOT%{_bindir}
1093 %endif
1094 %if %{with light}
1095 install -p src/bin/vim.light    $RPM_BUILD_ROOT%{_bindir}
1096 %endif
1097
1098 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
1099 mv $RPM_BUILD_ROOT{%{_iconsdir}/hicolor/48x48/apps,%{_pixmapsdir}}/gvim.png
1100
1101 # locolor scheme no longer supported
1102 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/locolor
1103
1104 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1105
1106 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1107 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1108
1109 # separate package
1110 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/{ftplugin,syntax}/spec.vim
1111
1112 # unuseful
1113 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/tools
1114 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/bugreport.vim
1115 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/check_locales.vim
1116 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/cleanadd.vim
1117 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/fixdup.vim
1118 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/doc/vim2html.pl
1119
1120 %clean
1121 rm -rf $RPM_BUILD_ROOT
1122
1123 %post
1124 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1125
1126 %postun
1127 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1128
1129 %post doc
1130 %vim_doc_helptags
1131
1132 %postun doc
1133 %vim_doc_helptags
1134
1135 %post -n gvim-athena
1136 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1137
1138 %postun -n gvim-athena
1139 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1140
1141 %post -n gvim-motif
1142 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1143
1144 %postun -n gvim-motif
1145 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1146
1147 %post -n gvim-gtk
1148 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1149 %update_icon_cache hicolor
1150
1151 %postun -n gvim-gtk
1152 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1153 %update_icon_cache hicolor
1154
1155 %post -n gvim-gnome
1156 %update_desktop_database_post
1157 %update_icon_cache hicolor
1158
1159 %postun -n gvim-gnome
1160 %update_desktop_database_postun
1161 %update_icon_cache hicolor
1162
1163 %post -n gvim-heavy
1164 %update_icon_cache hicolor
1165
1166 %postun -n gvim-heavy
1167 %update_icon_cache hicolor
1168
1169 %files
1170 %defattr(644,root,root,755)
1171 %attr(755,root,root) %{_bindir}/rvim
1172 %attr(755,root,root) %{_bindir}/vim
1173 %attr(755,root,root) %{_bindir}/vimdiff
1174 %{_mandir}/man1/rvim.1*
1175 %{_mandir}/man1/vimdiff.1*
1176 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1177 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1178 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1179 %lang(id) %{_mandir}/id/man1/rvim.1*
1180 %lang(id) %{_mandir}/id/man1/vim.1*
1181 %lang(it) %{_mandir}/it/man1/rvim.1*
1182 %lang(it) %{_mandir}/it/man1/vim.1*
1183 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1184 %lang(ja) %{_mandir}/ja/man1/rvim.1*
1185 %lang(ja) %{_mandir}/ja/man1/vim.1*
1186 %lang(ja) %{_mandir}/ja/man1/vimdiff.1*
1187 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1188 %lang(pl) %{_mandir}/pl/man1/vim.1*
1189 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1190 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1191 %lang(ru) %{_mandir}/ru/man1/vim.1*
1192 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1193 %{_desktopdir}/vim.desktop
1194
1195 %if %{with static}
1196 %files static
1197 %endif
1198 %defattr(644,root,root,755)
1199 %attr(755,root,root) /bin/ex
1200 %attr(755,root,root) /bin/rview
1201 %attr(755,root,root) /bin/vi
1202 %attr(755,root,root) /bin/view
1203 %{_mandir}/man1/vi.1*
1204 %{_mandir}/man1/ex.1*
1205 %{_mandir}/man1/view.1*
1206 %{_mandir}/man1/rview.1*
1207 %lang(fi) %{_mandir}/fi/man1/vi.1*
1208 %lang(fi) %{_mandir}/fi/man1/ex.1*
1209 %lang(fi) %{_mandir}/fi/man1/view.1*
1210 %lang(fi) %{_mandir}/fi/man1/rview.1*
1211 %lang(fr) %{_mandir}/fr/man1/vi.1*
1212 %lang(fr) %{_mandir}/fr/man1/ex.1*
1213 %lang(fr) %{_mandir}/fr/man1/view.1*
1214 %lang(fr) %{_mandir}/fr/man1/rview.1*
1215 %lang(id) %{_mandir}/id/man1/vi.1*
1216 %lang(id) %{_mandir}/id/man1/ex.1*
1217 %lang(id) %{_mandir}/id/man1/view.1*
1218 %lang(id) %{_mandir}/id/man1/rview.1*
1219 #%lang(it) %{_mandir}/it/man1/vi.1*
1220 %lang(it) %{_mandir}/it/man1/ex.1*
1221 %lang(it) %{_mandir}/it/man1/view.1*
1222 %lang(it) %{_mandir}/it/man1/rview.1*
1223 %lang(ja) %{_mandir}/ja/man1/ex.1*
1224 %lang(ja) %{_mandir}/ja/man1/view.1*
1225 %lang(ja) %{_mandir}/ja/man1/rview.1*
1226 %lang(pl) %{_mandir}/pl/man1/vi.1*
1227 %lang(pl) %{_mandir}/pl/man1/ex.1*
1228 %lang(pl) %{_mandir}/pl/man1/view.1*
1229 %lang(pl) %{_mandir}/pl/man1/rview.1*
1230 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1231 %lang(ru) %{_mandir}/ru/man1/ex.1*
1232 %lang(ru) %{_mandir}/ru/man1/view.1*
1233 %lang(ru) %{_mandir}/ru/man1/rview.1*
1234
1235 %files -n xxd
1236 %defattr(644,root,root,755)
1237 %attr(755,root,root) %{_bindir}/xxd
1238 %{_mandir}/man1/xxd.1*
1239 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1240 %lang(it) %{_mandir}/it/man1/xxd.1*
1241 %lang(ja) %{_mandir}/ja/man1/xxd.1*
1242 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1243 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1244
1245 %files rt -f %{name}.lang
1246 %defattr(644,root,root,755)
1247 %dir %{_sysconfdir}/vim
1248 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1249 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1250
1251 %dir %{_datadir}/vim
1252 %dir %{_datadir}/vim/doc
1253 %verify(not md5 mtime size) %{_datadir}/vim/doc/tags
1254 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
1255 %verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
1256 # X11 colours definition for colour name lookup
1257 %{_datadir}/vim/rgb.txt
1258
1259 %dir %{_datadir}/vim/vimfiles
1260 %dir %{_datadir}/vim/vimfiles/doc
1261 %dir %{_datadir}/vim/vimfiles/after
1262 %dir %{_datadir}/vim/vimfiles/after/compiler
1263 %dir %{_datadir}/vim/vimfiles/after/ftdetect
1264 %dir %{_datadir}/vim/vimfiles/after/ftplugin
1265 %dir %{_datadir}/vim/vimfiles/after/indent
1266 %dir %{_datadir}/vim/vimfiles/after/plugin
1267 %dir %{_datadir}/vim/vimfiles/after/spell
1268 %dir %{_datadir}/vim/vimfiles/after/syntax
1269 %dir %{_datadir}/vim/vimfiles/compiler
1270 %dir %{_datadir}/vim/vimfiles/ftdetect
1271 %dir %{_datadir}/vim/vimfiles/ftplugin
1272 %dir %{_datadir}/vim/vimfiles/indent
1273 %dir %{_datadir}/vim/vimfiles/plugin
1274 %dir %{_datadir}/vim/vimfiles/spell
1275 %dir %{_datadir}/vim/vimfiles/syntax
1276
1277 %{_datadir}/vim/*.vim
1278
1279 %dir %{_datadir}/vim/autoload
1280 %{_datadir}/vim/autoload/*complete.vim
1281 %doc %{_datadir}/vim/autoload/README.txt
1282 %dir %{_datadir}/vim/autoload/dist
1283 %{_datadir}/vim/autoload/dist/ft.vim
1284
1285 %dir %{_datadir}/vim/ftdetect
1286
1287 %dir %{_datadir}/vim/ftplugin
1288 %doc %{_datadir}/vim/ftplugin/README.txt
1289 %{_datadir}/vim/ftplugin/*.vim
1290 %{_datadir}/vim/ftplugin/logtalk.dict
1291
1292 %dir %{_datadir}/vim/indent
1293 %doc %{_datadir}/vim/indent/README.txt
1294 %{_datadir}/vim/indent/*.vim
1295
1296 %dir %{_datadir}/vim/keymap
1297 %doc %{_datadir}/vim/keymap/README.txt
1298 %{_datadir}/vim/keymap/*.vim
1299
1300 %{_datadir}/vim/pack
1301
1302 %dir %{_datadir}/vim/plugin
1303 %doc %{_datadir}/vim/plugin/README.txt
1304
1305 %dir %{_datadir}/vim/syntax
1306 %doc %{_datadir}/vim/syntax/README.txt
1307 %{_datadir}/vim/syntax/*.vim
1308
1309 %dir %{_datadir}/vim/colors
1310 %doc %{_datadir}/vim/colors/README.txt
1311 %{_datadir}/vim/colors/*.vim
1312 %dir %{_datadir}/vim/colors/tools
1313 %{_datadir}/vim/colors/tools/check_colors.vim
1314
1315 %dir %{_datadir}/vim/lang
1316 %doc %{_datadir}/vim/lang/README*
1317
1318 %lang(af) %{_datadir}/vim/lang/menu_af*
1319 %lang(ca) %{_datadir}/vim/lang/menu_ca*
1320 %lang(cs) %{_datadir}/vim/lang/menu_cs*
1321 %lang(cs) %{_datadir}/vim/lang/menu_*czech*
1322 %lang(de) %{_datadir}/vim/lang/menu_de*
1323 %lang(de) %{_datadir}/vim/lang/menu_*german*
1324 %lang(en_GB) %{_datadir}/vim/lang/menu_en_gb*
1325 %lang(en_GB) %{_datadir}/vim/lang/menu_*english*
1326 %lang(eo) %{_datadir}/vim/lang/menu_eo.utf-8.vim
1327 %lang(eo) %{_datadir}/vim/lang/menu_eo_eo.utf-8.vim
1328 %lang(eo) %{_datadir}/vim/lang/menu_eo_xx.utf-8.vim
1329 %lang(es) %{_datadir}/vim/lang/menu_es*
1330 %lang(es) %{_datadir}/vim/lang/menu_*spanish*
1331 %lang(fi) %{_datadir}/vim/lang/menu_fi.latin1.vim
1332 %lang(fi) %{_datadir}/vim/lang/menu_fi.utf-8.vim
1333 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.latin1.vim
1334 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.utf-8.vim
1335 %lang(fi) %{_datadir}/vim/lang/menu_finnish_finland.1252.vim
1336 %lang(fr) %{_datadir}/vim/lang/menu_fr*
1337 %lang(hu) %{_datadir}/vim/lang/menu_hu*
1338 %lang(it) %{_datadir}/vim/lang/menu_it*
1339 %lang(ja) %{_datadir}/vim/lang/menu_ja*
1340 %lang(ko) %{_datadir}/vim/lang/menu_ko*
1341 %lang(nl) %{_datadir}/vim/lang/menu_nl*
1342 %lang(nb) %{_datadir}/vim/lang/menu_nb*
1343 %lang(pl) %{_datadir}/vim/lang/menu_pl*
1344 %lang(pl) %{_datadir}/vim/lang/menu_*polish*
1345 %lang(pt) %{_datadir}/vim/lang/menu_pt*
1346 %lang(ru) %{_datadir}/vim/lang/menu_ru*
1347 %lang(sk) %{_datadir}/vim/lang/menu_sk*
1348 %lang(sk) %{_datadir}/vim/lang/menu_*slovak*
1349 %lang(sl) %{_datadir}/vim/lang/menu_sl_si*
1350 %lang(sr) %{_datadir}/vim/lang/menu_sr*
1351 %lang(sv) %{_datadir}/vim/lang/menu_sv*
1352 %lang(uk) %{_datadir}/vim/lang/menu_uk*
1353 %lang(vi) %{_datadir}/vim/lang/menu_vi*
1354 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.cp936*
1355 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.gb2312*
1356 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh_cn*
1357 %lang(zh_CN) %{_datadir}/vim/lang/menu_*chinese*gb*
1358 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.cp950*
1359 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.big5*
1360 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh_tw*
1361 %lang(zh_TW) %{_datadir}/vim/lang/menu_*taiwan*
1362
1363 %dir %{_datadir}/vim/spell
1364 %{_datadir}/vim/spell/spell.vim
1365 %lang(he) %{_datadir}/vim/spell/he.*
1366 %lang(yi) %{_datadir}/vim/spell/yi.*
1367
1368 %{_mandir}/man1/vim.1*
1369 %lang(fi) %{_mandir}/fi/man1/vim.1*
1370 %lang(fr) %{_mandir}/fr/man1/vim.1*
1371 %{_pixmapsdir}/gvim.png
1372
1373 # plugins in base -rt package
1374 %{_datadir}/vim/autoload/gzip.vim
1375 %{_datadir}/vim/plugin/gzip.vim
1376 %{_datadir}/vim/plugin/matchparen.vim
1377
1378 %files rt-extras
1379 %defattr(644,root,root,755)
1380 %{_datadir}/vim/plugin/*.vim
1381 %{_datadir}/vim/autoload/*.vim
1382 %exclude %{_datadir}/vim/autoload/*complete.vim
1383 %{_datadir}/vim/autoload/xml
1384 %{_datadir}/vim/compiler
1385 %{_datadir}/vim/macros
1386 %{_datadir}/vim/print
1387
1388 # plugins in base -rt package
1389 %exclude %{_datadir}/vim/autoload/gzip.vim
1390 %exclude %{_datadir}/vim/plugin/gzip.vim
1391 %exclude %{_datadir}/vim/plugin/matchparen.vim
1392
1393 %files doc
1394 %defattr(644,root,root,755)
1395 # English
1396 %{_datadir}/vim/doc/*.txt
1397
1398 # Polish
1399 %lang(pl) %{_datadir}/vim/doc/*.plx
1400
1401 %files tutor
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_bindir}/vimtutor
1404 %dir %{_datadir}/vim/tutor
1405 %dir %{_datadir}/vim/tutor/tutor
1406
1407 %{_datadir}/vim/tutor/README.txt
1408 %{_datadir}/vim/tutor/tutor.vim
1409 %{_datadir}/vim/tutor/tutor.utf-8
1410 %lang(el) %{_datadir}/vim/tutor/README.el.cp737.txt
1411 %lang(el) %{_datadir}/vim/tutor/README.el.txt
1412
1413 %lang(de) %{_datadir}/vim/tutor/tutor.bar
1414 %lang(de) %{_datadir}/vim/tutor/tutor.bar.utf-8
1415 %lang(bg) %{_datadir}/vim/tutor/tutor.bg.utf-8
1416 %lang(ca) %{_datadir}/vim/tutor/tutor.ca
1417 %lang(ca) %{_datadir}/vim/tutor/tutor.ca.utf-8
1418 %lang(cs) %{_datadir}/vim/tutor/tutor.cs
1419 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.cp1250
1420 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.utf-8
1421 %lang(de) %{_datadir}/vim/tutor/tutor.de
1422 %lang(de) %{_datadir}/vim/tutor/tutor.de.utf-8
1423 %lang(el) %{_datadir}/vim/tutor/tutor.el
1424 %lang(el) %{_datadir}/vim/tutor/tutor.el.cp737
1425 %lang(el) %{_datadir}/vim/tutor/tutor.el.utf-8
1426 %lang(eo) %{_datadir}/vim/tutor/tutor.eo
1427 %lang(eo) %{_datadir}/vim/tutor/tutor.eo.utf-8
1428 %lang(es) %{_datadir}/vim/tutor/tutor.es
1429 %lang(es) %{_datadir}/vim/tutor/tutor.es.utf-8
1430 %lang(fr) %{_datadir}/vim/tutor/tutor.fr
1431 %lang(fr) %{_datadir}/vim/tutor/tutor.fr.utf-8
1432 %lang(hr) %{_datadir}/vim/tutor/tutor.hr
1433 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.cp1250
1434 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.utf-8
1435 %lang(hu) %{_datadir}/vim/tutor/tutor.hu
1436 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.cp1250
1437 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.utf-8
1438 %lang(it) %{_datadir}/vim/tutor/tutor.it
1439 %lang(it) %{_datadir}/vim/tutor/tutor.it.utf-8
1440 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.euc
1441 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.sjis
1442 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8
1443 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc
1444 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8
1445 %lang(nl) %{_datadir}/vim/tutor/tutor.nl
1446 %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8
1447 %lang(nb) %{_datadir}/vim/tutor/tutor.nb
1448 %lang(nb) %{_datadir}/vim/tutor/tutor.nb.utf-8
1449 %lang(pl) %{_datadir}/vim/tutor/tutor.pl
1450 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.cp1250
1451 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.utf-8
1452 %lang(pt) %{_datadir}/vim/tutor/tutor.pt
1453 %lang(pt) %{_datadir}/vim/tutor/tutor.pt.utf-8
1454 %lang(ru) %{_datadir}/vim/tutor/tutor.ru
1455 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.cp1251
1456 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.utf-8
1457 %lang(sk) %{_datadir}/vim/tutor/tutor.sk
1458 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.cp1250
1459 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.utf-8
1460 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.cp1250
1461 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.utf-8
1462 %lang(sv) %{_datadir}/vim/tutor/tutor.sv
1463 %lang(sv) %{_datadir}/vim/tutor/tutor.sv.utf-8
1464 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.iso9
1465 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.utf-8
1466 %lang(uk) %{_datadir}/vim/tutor/tutor.uk.utf-8
1467 %lang(vi) %{_datadir}/vim/tutor/tutor.vi.utf-8
1468 %lang(zh_CN) %{_datadir}/vim/tutor/tutor.zh_cn.utf-8
1469 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.big5
1470 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.euc
1471 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.utf-8
1472 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh_tw.utf-8
1473
1474 %{_mandir}/man1/vimtutor.1*
1475 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1476 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1477 %lang(ja) %{_mandir}/ja/man1/vimtutor.1*
1478 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1479 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1480
1481 %if %{with x11}
1482 %files -n vimx
1483 %defattr(644,root,root,755)
1484 %attr(755,root,root) %{_bindir}/vimx
1485 %endif
1486
1487 %if %{with heavy}
1488 %files heavy
1489 %defattr(644,root,root,755)
1490 %attr(755,root,root) %{_bindir}/vim.heavy
1491 %endif
1492
1493 %if %{with light}
1494 %files light
1495 %defattr(644,root,root,755)
1496 %attr(755,root,root) %{_bindir}/vim.light
1497 %endif
1498
1499 %files spell-en
1500 %defattr(644,root,root,755)
1501 %{_datadir}/vim/spell/en.*.*
1502
1503 %if %{with athena}
1504 %files -n gvim-athena
1505 %defattr(644,root,root,755)
1506 %attr(755,root,root) %{_bindir}/gvim.athena
1507 %{_desktopdir}/gvim-athena.desktop
1508 %endif
1509
1510 %if %{with motif}
1511 %files -n gvim-motif
1512 %defattr(644,root,root,755)
1513 %attr(755,root,root) %{_bindir}/gvim.motif
1514 %{_desktopdir}/gvim-motif.desktop
1515 %endif
1516
1517 %if %{with gtk}
1518 %files -n gvim-gtk
1519 %defattr(644,root,root,755)
1520 %attr(755,root,root) %{_bindir}/gvim.gtk
1521 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1522 %attr(755,root,root) %{_bindir}/eview
1523 %attr(755,root,root) %{_bindir}/evim
1524 %attr(755,root,root) %{_bindir}/gview
1525 %attr(755,root,root) %{_bindir}/gvimdiff
1526 %attr(755,root,root) %{_bindir}/rgview
1527 %attr(755,root,root) %{_bindir}/rgvim
1528 %{_mandir}/man1/eview.1*
1529 %{_mandir}/man1/evim.1*
1530 %{_mandir}/man1/gvi*
1531 %{_mandir}/man1/rgv*
1532 %lang(fi) %{_mandir}/fi/man1/gvi*
1533 %lang(fi) %{_mandir}/fi/man1/rgv*
1534 %lang(fr) %{_mandir}/fr/man1/eview.1*
1535 %lang(fr) %{_mandir}/fr/man1/evim.1*
1536 %lang(fr) %{_mandir}/fr/man1/gvi*
1537 %lang(fr) %{_mandir}/fr/man1/rgv*
1538 %lang(id) %{_mandir}/id/man1/gvi*
1539 %lang(id) %{_mandir}/id/man1/rgv*
1540 %lang(it) %{_mandir}/it/man1/eview.1*
1541 %lang(it) %{_mandir}/it/man1/evim.1*
1542 %lang(it) %{_mandir}/it/man1/gvi*
1543 %lang(it) %{_mandir}/it/man1/rgv*
1544 %lang(ja) %{_mandir}/ja/man1/eview.1*
1545 %lang(ja) %{_mandir}/ja/man1/evim.1*
1546 %lang(ja) %{_mandir}/ja/man1/gvi*
1547 %lang(ja) %{_mandir}/ja/man1/rgv*
1548 %lang(pl) %{_mandir}/pl/man1/eview.1*
1549 %lang(pl) %{_mandir}/pl/man1/evim.1*
1550 %lang(pl) %{_mandir}/pl/man1/gvi*
1551 %lang(pl) %{_mandir}/pl/man1/rgv*
1552 %lang(ru) %{_mandir}/ru/man1/eview.1*
1553 %lang(ru) %{_mandir}/ru/man1/evim.1*
1554 %lang(ru) %{_mandir}/ru/man1/gvi*
1555 %lang(ru) %{_mandir}/ru/man1/rgv*
1556 %{_desktopdir}/gvim-gtk.desktop
1557 %endif
1558
1559 %if %{with gnome}
1560 %files -n gvim-gnome
1561 %defattr(644,root,root,755)
1562 %attr(755,root,root) %{_bindir}/gvim.gnome
1563 %{_desktopdir}/gvim-gnome.desktop
1564 %endif
1565
1566 %if %{with heavy}
1567 %files -n gvim-heavy
1568 %defattr(644,root,root,755)
1569 %attr(755,root,root) %{_bindir}/gvim.heavy
1570 %endif
This page took 0.197867 seconds and 4 git commands to generate.