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 2 interp in vim package
16 %bcond_with python3 # with Python 3 interp in vim package
17 %bcond_with ruby # with Ruby interp in vim package
18 %bcond_with tcl # with Tcl interp
19 %bcond_with x # with X11 support
20 %bcond_without selinux # without selinux support
21 %bcond_without home_etc # without home_etc support
30 # Command to check for latest patch:
31 # wget ftp://ftp.vim.org/pub/editors/vim/patches/8.0/MD5SUMS -O - | tail -n1 | awk '{print $2}'
32 # VCS Commits: https://github.com/vim/vim/commits/master
36 Summary: Vi IMproved - a Vi clone
37 Summary(de.UTF-8): VIsual editor iMproved
38 Summary(es.UTF-8): Editor visual incrementado
39 Summary(fr.UTF-8): Editeur VIM : VIsual editor iMproved
40 Summary(hu.UTF-8): Vi IMproved - a Vi szerkesztő bővítése
41 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
42 Summary(pt_BR.UTF-8): Editor visual incrementado
43 Summary(ru.UTF-8): Visual editor IMproved - Единственно Правильный Редактор :)
44 Summary(tr.UTF-8): Gelişmiş bir vi sürümü
45 Summary(uk.UTF-8): Visual editor IMproved - Єдино Вірний Редактор :)
48 # keep macro for release, otherwise people tend to increment Epoch instead
52 Group: Applications/Editors/Vim
53 #Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
54 Source0: https://github.com/vim/vim/archive/v%{ver}.tar.gz
55 # Source0-md5: 4fbb220d69db1931ac4b71de340b7b73
56 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
57 # Source1-md5: bc4d1e115ca506ad7751b9bd2b773a7f
58 Source2: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
59 # Source2-md5: ff96284b1c913d55cf0877839b34d490
60 Source15: update-source.sh
62 # http://www.vim.org/scripts/script.php?script_id=1491 (0.7.5)
63 Source20: javascript.vim
64 # http://www.vim.org/scripts/script.php?script_id=447 (20040206)
67 # http://www.vim.org/scripts/script.php?script_id=415 (1.15)
69 # http://www.vim.org/scripts/script.php?script_id=92 (1.0)
71 # http://www.vim.org/scripts/script.php?script_id=368 (1.2.5)
72 Source32: oceandeep.vim
73 # http://www.vim.org/scripts/script.php?script_id=1464 (2.6.3)
75 Patch0: %{name}-sysconfdir.patch
77 Patch2: %{name}-paths.patch
78 Patch3: %{name}-no_libelf.patch
80 Patch5: %{name}-awk.patch
81 Patch6: %{name}-filetype_vim-perl_tests.patch
82 Patch7: %{name}-apache.patch
83 Patch8: %{name}-po-syntax.patch
84 Patch9: %{name}-modprobe.patch
85 Patch10: %{name}-doubleparenthesis.patch
86 Patch11: %{name}-syntax-fstab.patch
87 Patch12: 010_all_%{name}-6.3-vixie.patch
88 Patch14: 020_all_%{name}-7.0-fstab-tmpfs-size.patch
89 Patch15: 021_all_%{name}-7.0-fstab-bogus-errors.patch
90 Patch17: 027_all_%{name}-7.0-automake-substitutions-93378.patch
91 Patch18: %{name}-smarty.patch
92 Patch19: %{name}-tutor-lessdeps.patch
93 Patch20: %{name}-nagios.patch
94 Patch21: %{name}-filetypes.patch
95 Patch22: %{name}-man_installation.patch
96 Patch23: %{name}-vimrc.patch
97 Patch24: %{name}-syntax-exports.patch
98 Patch25: sudoers-include.patch
99 Patch26: %{name}-home_etc.patch
100 Patch27: %{name}-autopaste.patch
101 Patch28: %{name}-ft-cron.patch
102 Patch29: %{name}-phpscript.patch
103 Patch30: %{name}-pam.patch
104 Patch32: %{name}-localedir.patch
106 Patch34: %{name}-rtdir.patch
107 Patch35: %{name}-ft-mib.patch
108 Patch36: %{name}-ft-lib-udevrules.patch
109 Patch37: %{name}-ft-mysql.patch
110 Patch38: %{name}-ft-gyp.patch
111 Patch39: %{name}-revert-7.4.165-noundo.patch
112 Patch40: desktop.patch
113 Patch41: %{name}-lua.patch
114 URL: http://www.vim.org/
115 BuildRequires: acl-devel
116 BuildRequires: attr-devel
117 BuildRequires: autoconf >= 2.50
118 BuildRequires: gpm-devel
119 %if "%{pld_release}" == "ac"
120 %if %{with athena} || %{with x11} || %{with x}
121 BuildRequires: XFree86-devel
123 BuildRequires: gettext-devel
125 BuildRequires: gettext-tools
126 %{?with_athena:BuildRequires: xorg-lib-libXaw-devel}
127 %if %{with x11} || %{with gui} || %{with x}
128 BuildRequires: xorg-lib-libICE-devel
129 BuildRequires: xorg-lib-libSM-devel
130 BuildRequires: xorg-lib-libX11-devel
131 BuildRequires: xorg-lib-libXaw-devel
132 BuildRequires: xorg-lib-libXdmcp-devel
133 BuildRequires: xorg-lib-libXpm-devel
134 BuildRequires: xorg-lib-libXt-devel
138 %if %{with gtk} || %{with heavy}
139 BuildRequires: gdk-pixbuf2-devel >= 2.31
141 BuildRequires: gtk+3-devel >= 3.0
143 BuildRequires: gtk+2-devel >= 2:2.6.0
146 BuildRequires: libcanberra-devel
147 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
148 %if %{with selinux} || %{with heavy}
149 BuildRequires: libselinux-devel
151 BuildRequires: libsodium-devel
152 %if %{with lua} || %{with heavy}
153 BuildRequires: lua52-devel >= 5.2
155 %{?with_motif:BuildRequires: motif-devel}
156 BuildRequires: ncurses-devel
157 BuildRequires: pkgconfig
158 %if %{with perl} || %{with heavy}
159 BuildRequires: perl-devel
161 %if %{with python} || %{with heavy}
162 BuildRequires: python-devel >= 2.3
164 %if %{with python3} || %{with heavy}
165 BuildRequires: python3-devel
167 %if %{with python} || %{with python3} || %{with heavy}
168 BuildRequires: rpm-pythonprov
170 BuildRequires: rpm >= 4.4.9-56
171 BuildRequires: rpmbuild(macros) >= 1.718
172 %if %{with ruby} || %{with heavy}
173 BuildRequires: ruby-devel >= 1.6.0
175 %if %{with tcl} || %{with heavy}
176 BuildRequires: tcl-devel >= 8.0
180 BuildRequires: acl-static
181 BuildRequires: attr-static
182 BuildRequires: glibc-static
183 %{?with_selinux:BuildRequires: libselinux-static}
184 BuildRequires: ncurses-static
186 Provides: %{name}-static = %{epoch}:%{version}-%{release}
187 Obsoletes: elvis-static
190 Obsoletes: vim-minimal
191 Obsoletes: vim-static
194 Suggests: %{name}-rt = %{epoch}:%{version}-%{release}
197 Provides: vim-editor = %{epoch}:%{version}-%{release}
198 Obsoletes: vim-enhanced
199 Obsoletes: vim-ispell
200 Obsoletes: vim-plugin-multvals
201 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
203 # configure redefines it to =1
204 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]*
205 %define filterout_c -Wp,-D_FORTIFY_SOURCE=2
207 # that's example script
208 %define _noautoreq '/bin/csh'
210 # cflags get changed while configuring
211 %undefine configure_cache
214 Text editor similar to Vi. Important improvements: multiple windows,
215 multi-level undo, block highliting, folding, and many other.
217 %description -l cs.UTF-8
218 VIM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
219 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
220 populární. VIM je obohacený funkcemi jako: podpora více oken,
221 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
224 %description -l de.UTF-8
225 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
226 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
227 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
228 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
229 Standard-vi-Programm.
231 %description -l es.UTF-8
232 El editor Visual Mejorado es una versión actualizada y con nuevas
233 características adicionales del mundialmente famoso 'vi' que acompaña
234 prácticamente todos los sistemas UN*X. Posibilita trabajar con
235 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
236 otras muchas características del 'vi'.
238 %description -l fr.UTF-8
239 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
240 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
241 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
242 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
243 blocs et autres caractéristiques au vi de base.
245 %description -l hu.UTF-8
246 A Vi-hez hasonló texteditor. Néhány fontos bővítés: ablakkezelés,
247 többszintű undo, blokk kiemelés, kódrészletek összecsukása, és még sok
250 %description -l id.UTF-8
251 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
252 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
253 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
254 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
255 windows, multi-level undo, block highlighting, dll.
257 %description -l is.UTF-8
258 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
259 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
260 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
261 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
264 %description -l it.UTF-8
265 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
266 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
267 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
268 finestre multiple, funzione "annulla" multilivello, evidenziazione dei
271 %description -l pl.UTF-8
272 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
273 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
274 folding i wiele innych.
276 %description -l pt.UTF-8
277 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
278 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
279 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
280 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
283 %description -l pt_BR.UTF-8
284 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
285 características do mundialmente famoso 'vi' que acompanha praticamente
286 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
287 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
288 outras características do 'vi'.
290 %description -l ru.UTF-8
291 VIsual editor iMproved - это обновленный и значительно улучшенный клон
292 редактора vi, который поставляется практически со всеми
293 UN*X-системами. В этой версии есть многоуровневый откат, выделение
294 блоков, синтаксическая подсветка и много другого...
296 %description -l sk.UTF-8
297 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
298 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
299 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
300 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
302 %description -l sv.UTF-8
303 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
304 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
305 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
306 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
309 %description -l tr.UTF-8
310 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
311 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
313 %description -l uk.UTF-8
314 VIsual editor iMproved - це оновлений та значно поліпшений клон
315 редактора vi, який поставляється практично зі всіма UN*X-системами. В
316 цій версії є багаторівневий відкат, виділення блоків, синтаксична
317 підсвітка та багато іншого...
320 Summary: Utility to convert files to hexdump or do the reverse
321 Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
322 Group: Applications/Editors/Vim
325 xxd creates a hex dump of a given file or standard input. It can also
326 convert a hex dump back to its original binary form. Like uuencode and
327 uudecode it allows the transmission of binary data in a `mail-safe'
328 ASCII representation, but has the advantage of decoding to standard
329 output. Moreover, it can be used to perform binary file patching.
331 %description -n xxd -l pl.UTF-8
332 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
333 Może także przekonwertować taki zapis na oryginalną, binarną postać.
334 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
335 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
336 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
339 Summary: Full featured build of Vim
340 Summary(hu.UTF-8): A Vim teljeskörű szolgáltatásait nyújtó verzió
341 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima
342 Group: Applications/Editors/Vim
343 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
346 Provides: vim-editor = %{epoch}:%{version}-%{release}
347 Obsoletes: vim-enhanced
348 Obsoletes: vim-ispell
349 Obsoletes: vim-plugin-multvals
352 This package provides full featured version of Vim, which includes
353 support for Perl, Python, Ruby and Tcl scripting.
355 %description heavy -l hu.UTF-8
356 Ez a csomag a Vim teljeskörű szolgáltatásait nyújtó verzióját
357 tartalmazza, amelyben benne van a Perl, Python, Ruby és Tcl támogatás.
359 %description heavy -l pl.UTF-8
360 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
361 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl.
364 Summary: Minimal build of Vim
365 Summary(pl.UTF-8): Minimalna wersja vima
366 Group: Applications/Editors/Vim
369 Provides: vim-editor = %{epoch}:%{version}-%{release}
372 This package provides light featured version of Vim.
374 %description light -l pl.UTF-8
375 Pakiet ten dostarcza minimalną wersję Vima.
378 Summary: Vi IMproved - a Vi clone
379 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
380 Group: X11/Applications/Editors
381 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
384 Provides: vim-editor = %{epoch}:%{version}-%{release}
385 Obsoletes: vim-enhanced
386 Obsoletes: vim-ispell
387 Obsoletes: vim-plugin-multvals
390 This package provides console version of Vim, with support for basic
391 X11 features like system clipboard.
393 %description -n vimx -l pl.UTF-8
394 Pakiet ten dostarcza konsolową wersję Vima, posiadającą wsparcie dla
395 podstawowych funckcji X11, takich jak systemowy schowek.
398 Summary: Statically linked Vim
399 Summary(hu.UTF-8): A Vim statikus verziója
400 Summary(pl.UTF-8): Statycznie skonsolidowany Vim
401 Group: Applications/Editors/Vim
404 Provides: vim-editor = %{epoch}:%{version}-%{release}
405 Obsoletes: elvis-static
407 Obsoletes: vim-minimal
410 Text editor similar to Vi. This version is built with minimal feature
411 and is installed in /bin as a rescue tool. The installation of this
412 package is STRONGLY recommended.
414 %description static -l hu.UTF-8
415 Vi-hez hasonló text editor. Ez a verzió a legminimálisabb
416 szolgáltatásokat nyújtja, és a /bin könyvtárba települ, mint egy mentő
417 eszköz. Ennek a csomagnak a telepítése ERŐSEN javallott.
419 %description static -l pl.UTF-8
420 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
421 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
422 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
423 zalecana, może on pomóc Ci uratować system w czasie awarii.
425 %description static -l ru.UTF-8
426 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
427 удобно для запуска даже когда смонтирована только корневая файловая
430 %description static -l uk.UTF-8
431 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
432 запуску навіть тоді, коли змонтована тільки корньова файлова система.
435 Summary: Vim runtime files
436 Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor VIM
437 Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren
438 Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
439 Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM
440 Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM
441 Summary(hu.UTF-8): A Vim futásidejű fájljai
442 Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM
443 Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
444 Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM
445 Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル
446 Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren
447 Summary(pl.UTF-8): Pliki przydatne dla edytora Vim
448 Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM
449 Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim
450 Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM
451 Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
452 Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
453 Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim
454 Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。
455 Group: Applications/Editors/Vim
456 Requires: rpm-whiteout >= 1.3
457 Requires: vim-plugin-securemodelines
458 Obsoletes: gvim-bonobo
459 Obsoletes: vim-common
460 Obsoletes: vim-syntax-docker < 1.10.1
461 Obsoletes: vim-syntax-gitcommit
462 Obsoletes: vim-syntax-golang <= 1.3.3-1
463 Obsoletes: vim-syntax-lxc-docker <= 0.9.0-1
464 Obsoletes: vim-syntax-upstart
468 This package contains macros, documentation, syntax configuration and
469 manual pages for Vim. If you want to take advantage of Vim more
470 powerful features, you should install this package.
472 %description rt -l cs.UTF-8
473 Tento balíček obsahuje společné soubory pro všechny další balíčky s
476 %description rt -l de.UTF-8
477 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
480 %description rt -l fr.UTF-8
481 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
482 VIM a besoin pour fonctionner.
484 %description rt -l hu.UTF-8
485 Ez a csomag makrókat, dokumentációt, nyelvi konfigurációt és kézikönyv
486 oldalakat tartalmaz Vim-hez. Ha ki akarod használni a Vim
487 lehetőségeit, érdemes telepítened ezt a csomagot.
489 %description rt -l id.UTF-8
490 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
493 %description rt -l is.UTF-8
494 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
497 %description rt -l it.UTF-8
498 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
499 per poter funzionare.
501 %description rt -l pl.UTF-8
502 W tym pakiecie znajdują się makra, pliki konfiguracyjne i strony
503 podręcznika dla edytora Vim. Aby korzystać z zaawansowanych możliwości
504 Vima, należy zainstalować ten pakiet.
506 %description rt -l pt.UTF-8
507 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
508 irão necessitar para correr.
510 %description rt -l ru.UTF-8
511 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
512 для работы любой программы vim.
514 %description rt -l sk.UTF-8
515 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
516 funkciu každá verzia editoru VIM.
518 %description rt -l sv.UTF-8
519 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
522 %description rt -l uk.UTF-8
523 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
524 для роботи будь-якої програми vim.
527 Summary: Vim runtime extra files
528 Summary(pl.UTF-8): Dodatkowe pliki uruchomieniowe Vima
529 Group: Applications/Editors/Vim
530 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
533 %description rt-extras
534 This package contains more runtime extra files, not really useful. If
535 you want to take full advantage of Vim more powerful features, you
536 should install this package.
538 %description rt-extras -l pl.UTF-8
539 Ten pakiet zawiera dodatkowe pliki uruchomieniowe, nie tak bardzo
540 przydatne. Aby korzystać ze wszystkich możliwości Vima, należy
541 zainstalować ten pakiet.
544 Summary: Context Vim documentation
545 Summary(pl.UTF-8): Dokumentacja kontekstowa do Vima
546 Group: Applications/Editors/Vim
547 Requires(post,postun): /usr/bin/vim
548 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
552 This package contains Vim documentation accessible from vim itself
555 %description doc -l pl.UTF-8
556 Ten pakiet zawiera dokumentację do Vima dostępną z poziomu samego vima
557 za pomocą polecenia :help.
560 Summary: English dictionaries for VIMspell
561 Summary(pl.UTF-8): Angielskie słowniki dla VIMspella
562 Group: Applications/Editors/Vim
563 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
566 %description spell-en
567 English dictionaries for VIMspell.
569 %description spell-en -l pl.UTF-8
570 Angielskie słowniki dla VIMspella.
573 Summary: Vim tutorial
574 Summary(hu.UTF-8): Vim tutorial
575 Summary(pl.UTF-8): Samouczek do Vima
576 Group: Applications/Editors/Vim
577 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
579 Requires: vim-editor = %{epoch}:%{version}-%{release}
583 This package contains Vim tutorial.
585 %description tutor -l hu.UTF-8
586 Ez a csomag a vimtutor-t tartalmazza, amely egy gyakorlat-orientált
589 %description tutor -l pl.UTF-8
590 Ten pakiet zawiera samouczek do Vima.
592 %package -n gvim-athena
593 Summary: Vim for X Window built with Athena
594 Summary(hu.UTF-8): A Vim X Window verziója, az Athena felhasználásával
595 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena
596 Group: Applications/Editors/Vim
597 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
601 Provides: vim-editor = %{epoch}:%{version}-%{release}
604 %description -n gvim-athena
605 The classic Unix text editor now also under X Window System! This
606 version is built with Athena Widget Set.
608 %description -n gvim-athena -l hu.UTF-8
609 A Vim X Window verziója, az Athena Widgetkészlet felhasználásával.
611 %description -n gvim-athena -l pl.UTF-8
612 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
613 biblioteki Athena Widget Set.
615 %description -n gvim-athena -l ru.UTF-8
616 Этот пакет представляет собой версию VIM, собранную с библиотеками
617 Athena Widget Set, что позволяет запускать VIM как приложение X Window
618 System - с полностью графическим интерфейсом и поддержкой мыши.
620 %description -n gvim-athena -l uk.UTF-8
621 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
622 Set, що дозволяє запускати VIM як прикладну програму X Window System -
623 з повністю графічним інтерфейсом та підтримкою миші.
625 %package -n gvim-motif
626 Summary: Vim for X Window System built with Motif
627 Summary(hu.UTF-8): A Vim X Window verziója, a Motif felhasználásával
628 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki Motif
629 Group: Applications/Editors/Vim
630 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
634 Provides: vim-editor = %{epoch}:%{version}-%{release}
637 %description -n gvim-motif
638 The classic Unix text editor now also under X Window System! This
639 version is built with Motif.
641 %description -n gvim-motif -l hu.UTF-8
642 A Vim X Window verziója, a Motif Widgetkészlet felhasználásával.
644 %description -n gvim-motif -l pl.UTF-8
645 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
648 %description -n gvim-motif -l ru.UTF-8
649 Этот пакет представляет собой версию VIM, собранную с библиотеками
650 Motif, что позволяет запускать VIM как приложение X Window System - с
651 полностью графическим интерфейсом и поддержкой мыши.
653 %description -n gvim-motif -l uk.UTF-8
654 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
655 дозволяє запускати VIM як прикладну програму X Window System - з
656 повністю графічним інтерфейсом та підтримкою миші.
659 Summary: Vim for X Window System built with GTK+
660 Summary(hu.UTF-8): A Vim X Window verziója, a GTK+ felhasználásával
661 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GTK+
662 Group: Applications/Editors/Vim
663 Requires(post,postun): gtk-update-icon-cache
664 Requires(post,postun): hicolor-icon-theme
665 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
666 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
670 Provides: vim-editor = %{epoch}:%{version}-%{release}
673 %description -n gvim-gtk
674 The classic Unix text editor now also under X Window System! This
675 version is built with GTK+.
677 %description -n gvim-gtk -l hu.UTF-8
678 A Vim X Window verziója, a GTK+ Widgetkészlet felhasználásával.
680 %description -n gvim-gtk -l pl.UTF-8
681 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
684 %description -n gvim-gtk -l ru.UTF-8
685 Этот пакет представляет собой версию VIM, собранную с библиотеками
686 GTK, что позволяет запускать VIM как приложение X Window System - с
687 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
690 %description -n gvim-gtk -l uk.UTF-8
691 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
692 запускати VIM як прикладну програму X Window System - з повністю
693 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
695 %package -n gvim-gnome
696 Summary: Vim for X Window System built with GNOME
697 Summary(hu.UTF-8): A Vim X Window verziója, a GNOME felhasználásával
698 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GNOME
699 Group: Applications/Editors/Vim
700 Requires(post,postun): gtk-update-icon-cache
701 Requires(post,postun): hicolor-icon-theme
702 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
703 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
707 Provides: vim-editor = %{epoch}:%{version}-%{release}
710 %description -n gvim-gnome
711 The classic Unix text editor now also under X Window System! This
712 version is build with GNOME.
714 %description -n gvim-gnome -l hu.UTF-8
715 A Vim X Window verziója, a GNOME felhasználásával.
717 %description -n gvim-gnome -l pl.UTF-8
718 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
721 %description -n gvim-gnome -l ru.UTF-8
722 Этот пакет представляет собой версию VIM, собранную с библиотеками
723 GNOME, что позволяет запускать VIM как приложение X Window System - с
724 полностью графическим интерфейсом и поддержкой мыши.
726 %description -n gvim-gnome -l uk.UTF-8
727 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
728 дозволяє запускати VIM як прикладну програму X Window System - з
729 повністю графічним інтерфейсом та підтримкою миші.
731 %package -n gvim-heavy
732 Summary: Full featured build of Vim with X Window support
733 Summary(hu.UTF-8): A gvim legteljesebb verziója
734 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima z interfejsem dla X Window
735 Group: Applications/Editors/Vim
736 Requires(post,postun): gtk-update-icon-cache
737 Requires(post,postun): hicolor-icon-theme
738 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
739 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
743 Provides: vim-editor = %{epoch}:%{version}-%{release}
746 %description -n gvim-heavy
747 This package provides full featured version of Vim, which includes
748 support for Perl, Python, Ruby and Tcl scripting, as well as GTK+2
751 %description -n gvim-heavy -l hu.UTF-8
752 A gvim legteljesebb verziója, Perl, Python, Ruby és Tcl támogatással.
754 %description -n gvim-heavy -l pl.UTF-8
755 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
756 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl
757 jak również GUI GTK+2.
762 cp -p runtime/gvim.desktop gvim-athena.desktop
763 cp -p runtime/gvim.desktop gvim-gnome.desktop
764 cp -p runtime/gvim.desktop gvim-gtk.desktop
765 cp -p runtime/gvim.desktop gvim-motif.desktop
791 %{?with_home_etc:%patch26 -p1}
793 # autopaste patch - automatically switch to paste mode
794 # when `really fast typing' situation happens
810 cp -p %{SOURCE20} runtime/syntax
811 cp -p %{SOURCE22} runtime/syntax
812 cp -p %{SOURCE30} runtime/colors
813 cp -p %{SOURCE31} runtime/colors
814 cp -p %{SOURCE32} runtime/colors
816 %{__unzip} -qd runtime/doc %{SOURCE2}
818 # not info files but some binary files for Amiga:
819 # Amiga Workbench drawer icon
820 # Amiga Workbench project icon
821 # Amiga Workbench tool icon
822 find -name '*.info' | xargs rm -v
827 # needed to prevent deconfiguring
837 %if "%{pld_release}" == "ac"
838 --with-tlib="ncurses -ltinfo"
840 --with-tlib="ncursesw"
843 %{__make} -j1 distclean
844 # add common options, can override (disable) if needed with args
846 --%{!?with_lua:dis}%{?with_lua:en}able-luainterp \
847 --%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
848 --%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
849 --%{!?with_python3:dis}%{?with_python3:en}able-python3interp \
850 --%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
851 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
852 %{!?with_selinux:--disable-selinux} \
857 %if "%{pld_release}" == "ac"
858 --with-tlib="ncurses -ltinfo" \
860 --with-tlib="ncursesw" \
862 --with-modified-by="PLD Linux Distribution" \
863 --with-compiledby="PLD Linux Distribution" \
867 mv -f vim bin/$target
871 LDFLAGS="%{rpmldflags} -static"
875 --with-features=small \
877 --disable-luainterp \
878 --disable-perlinterp \
879 --disable-pythoninterp \
880 --disable-python3interp \
881 --disable-rubyinterp \
882 --disable-tclinterp \
888 LDFLAGS="%{rpmldflags}"
895 --with-features=small \
897 --disable-luainterp \
898 --disable-perlinterp \
899 --disable-pythoninterp \
900 --disable-python3interp \
901 --disable-rubyinterp \
902 --disable-tclinterp \
910 %{__with_without x} \
924 --with-features=huge \
925 --enable-gui=athena \
936 --with-features=huge \
949 --with-features=huge \
952 --enable-gtk3-check \
955 --enable-gtk2-check \
965 --with-features=huge \
966 --enable-gui=gnome2 \
967 --enable-gtk2-check \
968 --enable-gnome-check \
974 # vim.heavy / gvim.heavy
977 --with-features=huge \
981 --enable-perlinterp \
982 --enable-pythoninterp \
983 --enable-python3interp \
984 --enable-rubyinterp \
990 --with-features=huge \
991 --enable-gui=gnome2 \
992 --enable-gtk2-check \
993 --enable-gnome-check \
996 --enable-perlinterp \
997 --enable-pythoninterp \
998 --enable-python3interp \
999 --enable-rubyinterp \
1000 --enable-tclinterp \
1004 %{__make} xxd/xxd languages
1007 rm -rf $RPM_BUILD_ROOT
1009 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1010 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim/ftdetect} \
1011 $RPM_BUILD_ROOT%{_desktopdir}
1013 %{__make} -j1 install \
1014 DESTDIR=$RPM_BUILD_ROOT
1016 # generic gvim from upstream, but we have bunch of subpackages
1017 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/gvim.desktop
1020 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}
1021 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}.utf-8
1022 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.latin1.vim
1023 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.utf-8.vim
1024 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.latin1.vim
1025 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.utf-8.vim
1027 # remove unsupported locales
1028 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ko.UTF-8
1029 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
1030 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.UTF-8
1031 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_TW.UTF-8
1032 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
1033 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
1034 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
1035 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
1036 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
1037 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
1038 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
1039 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
1040 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
1041 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_zh_{cn,tw}.utf-8.vim
1045 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*
1048 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
1049 install -p src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
1051 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
1052 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
1055 install -p src/bin/vimx $RPM_BUILD_ROOT%{_bindir}/vimx
1057 install -p src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
1058 install -p src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
1060 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1061 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1063 # not supported directories
1064 %{__rm} -r $RPM_BUILD_ROOT%{_mandir}/??.*/
1066 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/vimrc_example.vim,%{_sysconfdir}/vim/vimrc}
1067 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/gvimrc_example.vim,%{_sysconfdir}/vim/gvimrc}
1069 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1070 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
1071 ln -sf vi $RPM_BUILD_ROOT/bin/ex
1072 ln -sf vi $RPM_BUILD_ROOT/bin/view
1073 ln -sf vi $RPM_BUILD_ROOT/bin/rview
1076 install -p src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1077 cp -p gvim-athena.desktop $RPM_BUILD_ROOT%{_desktopdir}
1080 install -p src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1081 cp -p gvim-motif.desktop $RPM_BUILD_ROOT%{_desktopdir}
1084 install -p src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1085 cp -p gvim-gnome.desktop $RPM_BUILD_ROOT%{_desktopdir}
1088 install -p src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1089 cp -p gvim-gtk.desktop $RPM_BUILD_ROOT%{_desktopdir}
1090 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
1091 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/eview
1092 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/evim
1093 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
1094 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
1095 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
1096 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
1099 install -p src/bin/vim.heavy $RPM_BUILD_ROOT%{_bindir}
1100 install -p src/bin/gvim.heavy $RPM_BUILD_ROOT%{_bindir}
1103 install -p src/bin/vim.light $RPM_BUILD_ROOT%{_bindir}
1106 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
1107 mv $RPM_BUILD_ROOT{%{_iconsdir}/hicolor/48x48/apps,%{_pixmapsdir}}/gvim.png
1109 # locolor scheme no longer supported
1110 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/locolor
1112 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1114 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1115 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1118 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/{ftplugin,syntax}/spec.vim
1121 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/tools
1122 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/bugreport.vim
1123 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/check_locales.vim
1124 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/cleanadd.vim
1125 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/fixdup.vim
1126 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/doc/vim2html.pl
1129 rm -rf $RPM_BUILD_ROOT
1132 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1135 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1143 %post -n gvim-athena
1144 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1146 %postun -n gvim-athena
1147 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1150 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1152 %postun -n gvim-motif
1153 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1156 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1157 %update_icon_cache hicolor
1160 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1161 %update_icon_cache hicolor
1164 %update_desktop_database_post
1165 %update_icon_cache hicolor
1167 %postun -n gvim-gnome
1168 %update_desktop_database_postun
1169 %update_icon_cache hicolor
1172 %update_icon_cache hicolor
1174 %postun -n gvim-heavy
1175 %update_icon_cache hicolor
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_bindir}/rvim
1180 %attr(755,root,root) %{_bindir}/vim
1181 %attr(755,root,root) %{_bindir}/vimdiff
1182 %{_mandir}/man1/rvim.1*
1183 %{_mandir}/man1/vimdiff.1*
1184 %lang(da) %{_mandir}/da/man1/rvim.1*
1185 %lang(da) %{_mandir}/da/man1/vimdiff.1*
1186 %lang(de) %{_mandir}/de/man1/rvim.1*
1187 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1188 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1189 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1190 %lang(id) %{_mandir}/id/man1/rvim.1*
1191 %lang(it) %{_mandir}/it/man1/rvim.1*
1192 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1193 %lang(ja) %{_mandir}/ja/man1/rvim.1*
1194 %lang(ja) %{_mandir}/ja/man1/vimdiff.1*
1195 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1196 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1197 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1198 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1199 %lang(tr) %{_mandir}/tr/man1/rvim.1*
1200 %lang(tr) %{_mandir}/tr/man1/vimdiff.1*
1201 %{_desktopdir}/vim.desktop
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) /bin/ex
1208 %attr(755,root,root) /bin/rview
1209 %attr(755,root,root) /bin/vi
1210 %attr(755,root,root) /bin/view
1211 %{_mandir}/man1/vi.1*
1212 %{_mandir}/man1/ex.1*
1213 %{_mandir}/man1/view.1*
1214 %{_mandir}/man1/rview.1*
1215 %lang(da) %{_mandir}/da/man1/ex.1*
1216 %lang(da) %{_mandir}/da/man1/rview.1*
1217 %lang(da) %{_mandir}/da/man1/view.1*
1218 %lang(de) %{_mandir}/de/man1/ex.1*
1219 %lang(de) %{_mandir}/de/man1/rview.1*
1220 %lang(de) %{_mandir}/de/man1/view.1*
1221 %lang(fi) %{_mandir}/fi/man1/vi.1*
1222 %lang(fi) %{_mandir}/fi/man1/ex.1*
1223 %lang(fi) %{_mandir}/fi/man1/view.1*
1224 %lang(fi) %{_mandir}/fi/man1/rview.1*
1225 %lang(fr) %{_mandir}/fr/man1/vi.1*
1226 %lang(fr) %{_mandir}/fr/man1/ex.1*
1227 %lang(fr) %{_mandir}/fr/man1/view.1*
1228 %lang(fr) %{_mandir}/fr/man1/rview.1*
1229 %lang(id) %{_mandir}/id/man1/vi.1*
1230 %lang(id) %{_mandir}/id/man1/ex.1*
1231 %lang(id) %{_mandir}/id/man1/view.1*
1232 %lang(id) %{_mandir}/id/man1/rview.1*
1233 #%lang(it) %{_mandir}/it/man1/vi.1*
1234 %lang(it) %{_mandir}/it/man1/ex.1*
1235 %lang(it) %{_mandir}/it/man1/view.1*
1236 %lang(it) %{_mandir}/it/man1/rview.1*
1237 %lang(ja) %{_mandir}/ja/man1/ex.1*
1238 %lang(ja) %{_mandir}/ja/man1/view.1*
1239 %lang(ja) %{_mandir}/ja/man1/rview.1*
1240 %lang(pl) %{_mandir}/pl/man1/vi.1*
1241 %lang(pl) %{_mandir}/pl/man1/ex.1*
1242 %lang(pl) %{_mandir}/pl/man1/view.1*
1243 %lang(pl) %{_mandir}/pl/man1/rview.1*
1244 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1245 %lang(ru) %{_mandir}/ru/man1/ex.1*
1246 %lang(ru) %{_mandir}/ru/man1/view.1*
1247 %lang(ru) %{_mandir}/ru/man1/rview.1*
1248 %lang(tr) %{_mandir}/tr/man1/ex.1*
1249 %lang(tr) %{_mandir}/tr/man1/view.1*
1250 %lang(tr) %{_mandir}/tr/man1/rview.1*
1253 %defattr(644,root,root,755)
1254 %attr(755,root,root) %{_bindir}/xxd
1255 %{_mandir}/man1/xxd.1*
1256 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1257 %lang(it) %{_mandir}/it/man1/xxd.1*
1258 %lang(ja) %{_mandir}/ja/man1/xxd.1*
1259 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1260 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1262 %files rt -f %{name}.lang
1263 %defattr(644,root,root,755)
1264 %dir %{_sysconfdir}/vim
1265 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1266 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1268 %dir %{_datadir}/vim
1269 %dir %{_datadir}/vim/doc
1270 %verify(not md5 mtime size) %{_datadir}/vim/doc/tags
1271 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
1272 %verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
1274 %dir %{_datadir}/vim/vimfiles
1275 %dir %{_datadir}/vim/vimfiles/doc
1276 %dir %{_datadir}/vim/vimfiles/after
1277 %dir %{_datadir}/vim/vimfiles/after/compiler
1278 %dir %{_datadir}/vim/vimfiles/after/ftdetect
1279 %dir %{_datadir}/vim/vimfiles/after/ftplugin
1280 %dir %{_datadir}/vim/vimfiles/after/indent
1281 %dir %{_datadir}/vim/vimfiles/after/plugin
1282 %dir %{_datadir}/vim/vimfiles/after/spell
1283 %dir %{_datadir}/vim/vimfiles/after/syntax
1284 %dir %{_datadir}/vim/vimfiles/compiler
1285 %dir %{_datadir}/vim/vimfiles/ftdetect
1286 %dir %{_datadir}/vim/vimfiles/ftplugin
1287 %dir %{_datadir}/vim/vimfiles/indent
1288 %dir %{_datadir}/vim/vimfiles/plugin
1289 %dir %{_datadir}/vim/vimfiles/spell
1290 %dir %{_datadir}/vim/vimfiles/syntax
1292 %{_datadir}/vim/*.vim
1294 %dir %{_datadir}/vim/autoload
1295 %{_datadir}/vim/autoload/*complete.vim
1296 %doc %{_datadir}/vim/autoload/README.txt
1297 %dir %{_datadir}/vim/autoload/dist
1298 %{_datadir}/vim/autoload/dist/ft.vim
1300 %dir %{_datadir}/vim/ftdetect
1302 %dir %{_datadir}/vim/ftplugin
1303 %doc %{_datadir}/vim/ftplugin/README.txt
1304 %{_datadir}/vim/ftplugin/*.vim
1305 %{_datadir}/vim/ftplugin/logtalk.dict
1307 %dir %{_datadir}/vim/indent
1308 %doc %{_datadir}/vim/indent/README.txt
1309 %{_datadir}/vim/indent/*.vim
1311 %dir %{_datadir}/vim/keymap
1312 %doc %{_datadir}/vim/keymap/README.txt
1313 %{_datadir}/vim/keymap/*.vim
1315 %{_datadir}/vim/pack
1317 %dir %{_datadir}/vim/plugin
1318 %doc %{_datadir}/vim/plugin/README.txt
1320 %dir %{_datadir}/vim/syntax
1321 %doc %{_datadir}/vim/syntax/README.txt
1322 %{_datadir}/vim/syntax/*.vim
1324 %dir %{_datadir}/vim/colors
1325 %doc %{_datadir}/vim/colors/README.txt
1326 %{_datadir}/vim/colors/*.vim
1327 %dir %{_datadir}/vim/colors/lists
1328 %{_datadir}/vim/colors/lists/*.vim
1329 %dir %{_datadir}/vim/colors/tools
1330 %{_datadir}/vim/colors/tools/check_colors.vim
1332 %dir %{_datadir}/vim/lang
1333 %doc %{_datadir}/vim/lang/README*
1335 %lang(af) %{_datadir}/vim/lang/menu_af*
1336 %lang(ca) %{_datadir}/vim/lang/menu_ca*
1337 %lang(cs) %{_datadir}/vim/lang/menu_cs*
1338 %lang(cs) %{_datadir}/vim/lang/menu_*czech*
1339 %lang(da) %{_datadir}/vim/lang/menu_da*
1340 %lang(de) %{_datadir}/vim/lang/menu_de*
1341 %lang(de) %{_datadir}/vim/lang/menu_*german*
1342 %lang(en_GB) %{_datadir}/vim/lang/menu_en_gb*
1343 %lang(en_GB) %{_datadir}/vim/lang/menu_*english*
1344 %lang(eo) %{_datadir}/vim/lang/menu_eo.utf-8.vim
1345 %lang(eo) %{_datadir}/vim/lang/menu_eo_eo.utf-8.vim
1346 %lang(eo) %{_datadir}/vim/lang/menu_eo_xx.utf-8.vim
1347 %lang(es) %{_datadir}/vim/lang/menu_es*
1348 %lang(es) %{_datadir}/vim/lang/menu_*spanish*
1349 %lang(fi) %{_datadir}/vim/lang/menu_fi.latin1.vim
1350 %lang(fi) %{_datadir}/vim/lang/menu_fi.utf-8.vim
1351 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.latin1.vim
1352 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.utf-8.vim
1353 %lang(fi) %{_datadir}/vim/lang/menu_finnish_finland.1252.vim
1354 %lang(fr) %{_datadir}/vim/lang/menu_fr*
1355 %lang(hu) %{_datadir}/vim/lang/menu_hu*
1356 %lang(is) %{_datadir}/vim/lang/menu_is*
1357 %lang(it) %{_datadir}/vim/lang/menu_it*
1358 %lang(ja) %{_datadir}/vim/lang/menu_ja*
1359 %lang(ko) %{_datadir}/vim/lang/menu_ko*
1360 %lang(nl) %{_datadir}/vim/lang/menu_nl*
1361 %lang(nb) %{_datadir}/vim/lang/menu_nb*
1362 %lang(pl) %{_datadir}/vim/lang/menu_pl*
1363 %lang(pl) %{_datadir}/vim/lang/menu_*polish*
1364 %lang(pt) %{_datadir}/vim/lang/menu_pt*
1365 %lang(ru) %{_datadir}/vim/lang/menu_ru*
1366 %lang(sk) %{_datadir}/vim/lang/menu_sk*
1367 %lang(sk) %{_datadir}/vim/lang/menu_*slovak*
1368 %lang(sl) %{_datadir}/vim/lang/menu_sl_si*
1369 %lang(sr) %{_datadir}/vim/lang/menu_sr*
1370 %lang(sv) %{_datadir}/vim/lang/menu_sv*
1371 %lang(tr) %{_datadir}/vim/lang/menu_tr*
1372 %lang(uk) %{_datadir}/vim/lang/menu_uk*
1373 %lang(vi) %{_datadir}/vim/lang/menu_vi*
1374 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.cp936*
1375 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.gb2312*
1376 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh_cn*
1377 %lang(zh_CN) %{_datadir}/vim/lang/menu_*chinese*gb*
1378 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.cp950*
1379 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.big5*
1380 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh_tw*
1381 %lang(zh_TW) %{_datadir}/vim/lang/menu_*taiwan*
1383 %dir %{_datadir}/vim/spell
1384 %{_datadir}/vim/spell/spell.vim
1385 %lang(he) %{_datadir}/vim/spell/he.*
1386 %lang(yi) %{_datadir}/vim/spell/yi.*
1388 %{_mandir}/man1/vim.1*
1389 %lang(da) %{_mandir}/da/man1/vim.1*
1390 %lang(de) %{_mandir}/de/man1/vim.1*
1391 %lang(fi) %{_mandir}/fi/man1/vim.1*
1392 %lang(fr) %{_mandir}/fr/man1/vim.1*
1393 %lang(id) %{_mandir}/id/man1/vim.1*
1394 %lang(it) %{_mandir}/it/man1/vim.1*
1395 %lang(ja) %{_mandir}/ja/man1/vim.1*
1396 %lang(pl) %{_mandir}/pl/man1/vim.1*
1397 %lang(ru) %{_mandir}/ru/man1/vim.1*
1398 %lang(tr) %{_mandir}/tr/man1/vim.1*
1399 %{_pixmapsdir}/gvim.png
1401 # plugins in base -rt package
1402 %{_datadir}/vim/autoload/gzip.vim
1403 %{_datadir}/vim/plugin/gzip.vim
1404 %{_datadir}/vim/plugin/matchparen.vim
1407 %defattr(644,root,root,755)
1408 %{_datadir}/vim/plugin/*.vim
1409 %{_datadir}/vim/autoload/*.vim
1410 %exclude %{_datadir}/vim/autoload/*complete.vim
1411 %{_datadir}/vim/autoload/xml
1412 %{_datadir}/vim/compiler
1413 %{_datadir}/vim/macros
1414 %{_datadir}/vim/print
1416 # plugins in base -rt package
1417 %exclude %{_datadir}/vim/autoload/gzip.vim
1418 %exclude %{_datadir}/vim/plugin/gzip.vim
1419 %exclude %{_datadir}/vim/plugin/matchparen.vim
1422 %defattr(644,root,root,755)
1424 %{_datadir}/vim/doc/*.txt
1427 %lang(pl) %{_datadir}/vim/doc/*.plx
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) %{_bindir}/vimtutor
1432 %dir %{_datadir}/vim/tutor
1433 %{_datadir}/vim/tutor/tutor
1435 %{_datadir}/vim/tutor/README.txt
1436 %{_datadir}/vim/tutor/tutor.vim
1437 %{_datadir}/vim/tutor/tutor.utf-8
1438 %lang(el) %{_datadir}/vim/tutor/README.el.cp737.txt
1439 %lang(el) %{_datadir}/vim/tutor/README.el.txt
1441 %lang(de) %{_datadir}/vim/tutor/tutor.bar
1442 %lang(de) %{_datadir}/vim/tutor/tutor.bar.utf-8
1443 %lang(bg) %{_datadir}/vim/tutor/tutor.bg.utf-8
1444 %lang(ca) %{_datadir}/vim/tutor/tutor.ca
1445 %lang(ca) %{_datadir}/vim/tutor/tutor.ca.utf-8
1446 %lang(cs) %{_datadir}/vim/tutor/tutor.cs
1447 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.cp1250
1448 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.utf-8
1449 %lang(da) %{_datadir}/vim/tutor/tutor.da
1450 %lang(da) %{_datadir}/vim/tutor/tutor.da.utf-8
1451 %lang(de) %{_datadir}/vim/tutor/tutor.de
1452 %lang(de) %{_datadir}/vim/tutor/tutor.de.utf-8
1453 %lang(el) %{_datadir}/vim/tutor/tutor.el
1454 %lang(el) %{_datadir}/vim/tutor/tutor.el.cp737
1455 %lang(el) %{_datadir}/vim/tutor/tutor.el.utf-8
1456 %lang(eo) %{_datadir}/vim/tutor/tutor.eo
1457 %lang(eo) %{_datadir}/vim/tutor/tutor.eo.utf-8
1458 %lang(es) %{_datadir}/vim/tutor/tutor.es
1459 %lang(es) %{_datadir}/vim/tutor/tutor.es.utf-8
1460 %lang(fr) %{_datadir}/vim/tutor/tutor.fr
1461 %lang(fr) %{_datadir}/vim/tutor/tutor.fr.utf-8
1462 %lang(hr) %{_datadir}/vim/tutor/tutor.hr
1463 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.cp1250
1464 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.utf-8
1465 %lang(hu) %{_datadir}/vim/tutor/tutor.hu
1466 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.cp1250
1467 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.utf-8
1468 %lang(it) %{_datadir}/vim/tutor/tutor.it
1469 %lang(it) %{_datadir}/vim/tutor/tutor.it.utf-8
1470 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.euc
1471 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.sjis
1472 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8
1473 %lang(ko) %{_datadir}/vim/tutor/tutor.ko
1474 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc
1475 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8
1476 %lang(lv) %{_datadir}/vim/tutor/tutor.lv.utf-8
1477 %lang(nl) %{_datadir}/vim/tutor/tutor.nl
1478 %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8
1479 %lang(nb) %{_datadir}/vim/tutor/tutor.nb
1480 %lang(nb) %{_datadir}/vim/tutor/tutor.nb.utf-8
1481 %lang(pl) %{_datadir}/vim/tutor/tutor.pl
1482 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.cp1250
1483 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.utf-8
1484 %lang(pt) %{_datadir}/vim/tutor/tutor.pt
1485 %lang(pt) %{_datadir}/vim/tutor/tutor.pt.utf-8
1486 %lang(ru) %{_datadir}/vim/tutor/tutor.ru
1487 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.cp1251
1488 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.utf-8
1489 %lang(sk) %{_datadir}/vim/tutor/tutor.sk
1490 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.cp1250
1491 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.utf-8
1492 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.cp1250
1493 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.utf-8
1494 %lang(sv) %{_datadir}/vim/tutor/tutor.sv
1495 %lang(sv) %{_datadir}/vim/tutor/tutor.sv.utf-8
1496 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.iso9
1497 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.utf-8
1498 %lang(uk) %{_datadir}/vim/tutor/tutor.uk.utf-8
1499 %lang(vi) %{_datadir}/vim/tutor/tutor.vi.utf-8
1500 %lang(zh_CN) %{_datadir}/vim/tutor/tutor.zh_cn.utf-8
1501 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.big5
1502 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.euc
1503 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.utf-8
1504 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh_tw.utf-8
1506 %{_mandir}/man1/vimtutor.1*
1507 %lang(da) %{_mandir}/da/man1/vimtutor.1*
1508 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1509 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1510 %lang(ja) %{_mandir}/ja/man1/vimtutor.1*
1511 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1512 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1513 %lang(tr) %{_mandir}/tr/man1/vimtutor.1*
1517 %defattr(644,root,root,755)
1518 %attr(755,root,root) %{_bindir}/vimx
1523 %defattr(644,root,root,755)
1524 %attr(755,root,root) %{_bindir}/vim.heavy
1529 %defattr(644,root,root,755)
1530 %attr(755,root,root) %{_bindir}/vim.light
1534 %defattr(644,root,root,755)
1535 %{_datadir}/vim/spell/en.*.*
1538 %files -n gvim-athena
1539 %defattr(644,root,root,755)
1540 %attr(755,root,root) %{_bindir}/gvim.athena
1541 %{_desktopdir}/gvim-athena.desktop
1545 %files -n gvim-motif
1546 %defattr(644,root,root,755)
1547 %attr(755,root,root) %{_bindir}/gvim.motif
1548 %{_desktopdir}/gvim-motif.desktop
1553 %defattr(644,root,root,755)
1554 %attr(755,root,root) %{_bindir}/gvim.gtk
1555 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1556 %attr(755,root,root) %{_bindir}/eview
1557 %attr(755,root,root) %{_bindir}/evim
1558 %attr(755,root,root) %{_bindir}/gview
1559 %attr(755,root,root) %{_bindir}/gvimdiff
1560 %attr(755,root,root) %{_bindir}/rgview
1561 %attr(755,root,root) %{_bindir}/rgvim
1562 %{_mandir}/man1/eview.1*
1563 %{_mandir}/man1/evim.1*
1564 %{_mandir}/man1/gview.1*
1565 %{_mandir}/man1/gvim.1*
1566 %{_mandir}/man1/gvimdiff.1*
1567 %{_mandir}/man1/rgview.1*
1568 %{_mandir}/man1/rgvim.1*
1569 %lang(da) %{_mandir}/da/man1/gvi*.1*
1570 %lang(da) %{_mandir}/da/man1/rgv*.1*
1571 %lang(de) %{_mandir}/de/man1/gvi*.1*
1572 %lang(de) %{_mandir}/de/man1/rgv*.1*
1573 %lang(fi) %{_mandir}/fi/man1/gvi*.1*
1574 %lang(fi) %{_mandir}/fi/man1/rgv*.1*
1575 %lang(fr) %{_mandir}/fr/man1/eview.1*
1576 %lang(fr) %{_mandir}/fr/man1/evim.1*
1577 %lang(fr) %{_mandir}/fr/man1/gvi*.1*
1578 %lang(fr) %{_mandir}/fr/man1/rgv*.1*
1579 %lang(id) %{_mandir}/id/man1/gvi*.1*
1580 %lang(id) %{_mandir}/id/man1/rgv*.1*
1581 %lang(it) %{_mandir}/it/man1/eview.1*
1582 %lang(it) %{_mandir}/it/man1/evim.1*
1583 %lang(it) %{_mandir}/it/man1/gvi*.1*
1584 %lang(it) %{_mandir}/it/man1/rgv*.1*
1585 %lang(ja) %{_mandir}/ja/man1/eview.1*
1586 %lang(ja) %{_mandir}/ja/man1/evim.1*
1587 %lang(ja) %{_mandir}/ja/man1/gvi*.1*
1588 %lang(ja) %{_mandir}/ja/man1/rgv*.1*
1589 %lang(pl) %{_mandir}/pl/man1/eview.1*
1590 %lang(pl) %{_mandir}/pl/man1/evim.1*
1591 %lang(pl) %{_mandir}/pl/man1/gvi*.1*
1592 %lang(pl) %{_mandir}/pl/man1/rgv*.1*
1593 %lang(ru) %{_mandir}/ru/man1/eview.1*
1594 %lang(ru) %{_mandir}/ru/man1/evim.1*
1595 %lang(ru) %{_mandir}/ru/man1/gvi*.1*
1596 %lang(ru) %{_mandir}/ru/man1/rgv*.1*
1597 %lang(tr) %{_mandir}/tr/man1/eview.1*
1598 %lang(tr) %{_mandir}/tr/man1/evim.1*
1599 %lang(tr) %{_mandir}/tr/man1/gvi*.1*
1600 %lang(tr) %{_mandir}/tr/man1/rgv*.1*
1601 %{_desktopdir}/gvim-gtk.desktop
1605 %files -n gvim-gnome
1606 %defattr(644,root,root,755)
1607 %attr(755,root,root) %{_bindir}/gvim.gnome
1608 %{_desktopdir}/gvim-gnome.desktop
1612 %files -n gvim-heavy
1613 %defattr(644,root,root,755)
1614 %attr(755,root,root) %{_bindir}/gvim.heavy