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: 6ca4affc0ea89b798b1b2a9f4c972afd
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
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
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 >= 1: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: rpm-build >= 4.6
172 BuildRequires: rpmbuild(macros) >= 1.718
173 %if %{with ruby} || %{with heavy}
174 BuildRequires: ruby-devel >= 1.6.0
176 %if %{with tcl} || %{with heavy}
177 BuildRequires: tcl-devel >= 8.0
179 Obsoletes: kvim < 4:7.0
181 BuildRequires: acl-static
182 BuildRequires: attr-static
183 BuildRequires: glibc-static
184 %{?with_selinux:BuildRequires: libselinux-static}
185 BuildRequires: ncurses-static
187 Provides: %{name}-static = %{epoch}:%{version}-%{release}
188 Obsoletes: elvis-static
191 Obsoletes: vim-minimal < 5.6
192 Obsoletes: vim-static < %{epoch}:%{version}-%{release}
195 Suggests: %{name}-rt = %{epoch}:%{version}-%{release}
198 Provides: vim-editor = %{epoch}:%{version}-%{release}
199 Obsoletes: vim-enhanced < 5.6
200 Obsoletes: vim-ispell < 4:7.0
201 Obsoletes: vim-ncurses < 5.6
202 Obsoletes: vim-plugin-multvals < 1.1
203 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
205 # configure redefines it to =1
206 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]*
207 %define filterout_c -Wp,-D_FORTIFY_SOURCE=2
209 # that's example script
210 %define _noautoreq '/bin/csh'
212 # cflags get changed while configuring
213 %undefine configure_cache
216 Text editor similar to Vi. Important improvements: multiple windows,
217 multi-level undo, block highliting, folding, and many other.
219 %description -l cs.UTF-8
220 VIM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
221 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
222 populární. VIM je obohacený funkcemi jako: podpora více oken,
223 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
226 %description -l de.UTF-8
227 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
228 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
229 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
230 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
231 Standard-vi-Programm.
233 %description -l es.UTF-8
234 El editor Visual Mejorado es una versión actualizada y con nuevas
235 características adicionales del mundialmente famoso 'vi' que acompaña
236 prácticamente todos los sistemas UN*X. Posibilita trabajar con
237 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
238 otras muchas características del 'vi'.
240 %description -l fr.UTF-8
241 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
242 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
243 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
244 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
245 blocs et autres caractéristiques au vi de base.
247 %description -l hu.UTF-8
248 A Vi-hez hasonló texteditor. Néhány fontos bővítés: ablakkezelés,
249 többszintű undo, blokk kiemelés, kódrészletek összecsukása, és még sok
252 %description -l id.UTF-8
253 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
254 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
255 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
256 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
257 windows, multi-level undo, block highlighting, dll.
259 %description -l is.UTF-8
260 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
261 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
262 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
263 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
266 %description -l it.UTF-8
267 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
268 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
269 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
270 finestre multiple, funzione "annulla" multilivello, evidenziazione dei
273 %description -l pl.UTF-8
274 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
275 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
276 folding i wiele innych.
278 %description -l pt.UTF-8
279 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
280 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
281 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
282 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
285 %description -l pt_BR.UTF-8
286 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
287 características do mundialmente famoso 'vi' que acompanha praticamente
288 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
289 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
290 outras características do 'vi'.
292 %description -l ru.UTF-8
293 VIsual editor iMproved - это обновленный и значительно улучшенный клон
294 редактора vi, который поставляется практически со всеми
295 UN*X-системами. В этой версии есть многоуровневый откат, выделение
296 блоков, синтаксическая подсветка и много другого...
298 %description -l sk.UTF-8
299 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
300 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
301 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
302 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
304 %description -l sv.UTF-8
305 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
306 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
307 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
308 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
311 %description -l tr.UTF-8
312 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
313 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
315 %description -l uk.UTF-8
316 VIsual editor iMproved - це оновлений та значно поліпшений клон
317 редактора vi, який поставляється практично зі всіма UN*X-системами. В
318 цій версії є багаторівневий відкат, виділення блоків, синтаксична
319 підсвітка та багато іншого...
322 Summary: Utility to convert files to hexdump or do the reverse
323 Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
324 Group: Applications/Editors/Vim
327 xxd creates a hex dump of a given file or standard input. It can also
328 convert a hex dump back to its original binary form. Like uuencode and
329 uudecode it allows the transmission of binary data in a `mail-safe'
330 ASCII representation, but has the advantage of decoding to standard
331 output. Moreover, it can be used to perform binary file patching.
333 %description -n xxd -l pl.UTF-8
334 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
335 Może także przekonwertować taki zapis na oryginalną, binarną postać.
336 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
337 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
338 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
341 Summary: Full featured build of Vim
342 Summary(hu.UTF-8): A Vim teljeskörű szolgáltatásait nyújtó verzió
343 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima
344 Group: Applications/Editors/Vim
345 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
348 Provides: vim-editor = %{epoch}:%{version}-%{release}
349 Obsoletes: vim-enhanced < 5.6
350 Obsoletes: vim-ispell < 4:7.0
351 Obsoletes: vim-ncurses < 5.6
352 Obsoletes: vim-plugin-multvals < 1.1
355 This package provides full featured version of Vim, which includes
356 support for Perl, Python, Ruby and Tcl scripting.
358 %description heavy -l hu.UTF-8
359 Ez a csomag a Vim teljeskörű szolgáltatásait nyújtó verzióját
360 tartalmazza, amelyben benne van a Perl, Python, Ruby és Tcl támogatás.
362 %description heavy -l pl.UTF-8
363 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
364 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl.
367 Summary: Minimal build of Vim
368 Summary(pl.UTF-8): Minimalna wersja vima
369 Group: Applications/Editors/Vim
372 Provides: vim-editor = %{epoch}:%{version}-%{release}
375 This package provides light featured version of Vim.
377 %description light -l pl.UTF-8
378 Pakiet ten dostarcza minimalną wersję Vima.
381 Summary: Vi IMproved - a Vi clone
382 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
383 Group: X11/Applications/Editors
384 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
387 Provides: vim-editor = %{epoch}:%{version}-%{release}
388 Obsoletes: vim-enhanced < 5.6
389 Obsoletes: vim-ispell < 4:7.0
390 Obsoletes: vim-plugin-multvals < 1.1
393 This package provides console version of Vim, with support for basic
394 X11 features like system clipboard.
396 %description -n vimx -l pl.UTF-8
397 Pakiet ten dostarcza konsolową wersję Vima, posiadającą wsparcie dla
398 podstawowych funckcji X11, takich jak systemowy schowek.
401 Summary: Statically linked Vim
402 Summary(hu.UTF-8): A Vim statikus verziója
403 Summary(pl.UTF-8): Statycznie skonsolidowany Vim
404 Group: Applications/Editors/Vim
407 Provides: vim-editor = %{epoch}:%{version}-%{release}
408 Obsoletes: elvis-static
410 Obsoletes: vim-minimal < 5.6
413 Text editor similar to Vi. This version is built with minimal feature
414 and is installed in /bin as a rescue tool. The installation of this
415 package is STRONGLY recommended.
417 %description static -l hu.UTF-8
418 Vi-hez hasonló text editor. Ez a verzió a legminimálisabb
419 szolgáltatásokat nyújtja, és a /bin könyvtárba települ, mint egy mentő
420 eszköz. Ennek a csomagnak a telepítése ERŐSEN javallott.
422 %description static -l pl.UTF-8
423 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
424 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
425 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
426 zalecana, może on pomóc Ci uratować system w czasie awarii.
428 %description static -l ru.UTF-8
429 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
430 удобно для запуска даже когда смонтирована только корневая файловая
433 %description static -l uk.UTF-8
434 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
435 запуску навіть тоді, коли змонтована тільки корньова файлова система.
438 Summary: Vim runtime files
439 Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor VIM
440 Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren
441 Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
442 Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM
443 Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM
444 Summary(hu.UTF-8): A Vim futásidejű fájljai
445 Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM
446 Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
447 Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM
448 Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル
449 Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren
450 Summary(pl.UTF-8): Pliki przydatne dla edytora Vim
451 Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM
452 Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim
453 Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM
454 Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
455 Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
456 Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim
457 Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。
458 Group: Applications/Editors/Vim
459 Requires: rpm-whiteout >= 1.3
460 Requires: vim-plugin-securemodelines
461 Obsoletes: gvim-bonobo < 4:7.1.063
462 Obsoletes: vim-common < 5.6
463 Obsoletes: vim-syntax-docker < 1.10.1
464 Obsoletes: vim-syntax-gitcommit < 2
465 Obsoletes: vim-syntax-golang <= 1.3.3-1
466 Obsoletes: vim-syntax-lxc-docker <= 0.9.0-1
467 Obsoletes: vim-syntax-nginx <= 0.3.3-2
468 Obsoletes: vim-syntax-upstart < 1.4
472 This package contains macros, documentation, syntax configuration and
473 manual pages for Vim. If you want to take advantage of Vim more
474 powerful features, you should install this package.
476 %description rt -l cs.UTF-8
477 Tento balíček obsahuje společné soubory pro všechny další balíčky s
480 %description rt -l de.UTF-8
481 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
484 %description rt -l fr.UTF-8
485 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
486 VIM a besoin pour fonctionner.
488 %description rt -l hu.UTF-8
489 Ez a csomag makrókat, dokumentációt, nyelvi konfigurációt és kézikönyv
490 oldalakat tartalmaz Vim-hez. Ha ki akarod használni a Vim
491 lehetőségeit, érdemes telepítened ezt a csomagot.
493 %description rt -l id.UTF-8
494 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
497 %description rt -l is.UTF-8
498 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
501 %description rt -l it.UTF-8
502 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
503 per poter funzionare.
505 %description rt -l pl.UTF-8
506 W tym pakiecie znajdują się makra, pliki konfiguracyjne i strony
507 podręcznika dla edytora Vim. Aby korzystać z zaawansowanych możliwości
508 Vima, należy zainstalować ten pakiet.
510 %description rt -l pt.UTF-8
511 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
512 irão necessitar para correr.
514 %description rt -l ru.UTF-8
515 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
516 для работы любой программы vim.
518 %description rt -l sk.UTF-8
519 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
520 funkciu každá verzia editoru VIM.
522 %description rt -l sv.UTF-8
523 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
526 %description rt -l uk.UTF-8
527 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
528 для роботи будь-якої програми vim.
531 Summary: Vim runtime extra files
532 Summary(pl.UTF-8): Dodatkowe pliki uruchomieniowe Vima
533 Group: Applications/Editors/Vim
534 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
537 %description rt-extras
538 This package contains more runtime extra files, not really useful. If
539 you want to take full advantage of Vim more powerful features, you
540 should install this package.
542 %description rt-extras -l pl.UTF-8
543 Ten pakiet zawiera dodatkowe pliki uruchomieniowe, nie tak bardzo
544 przydatne. Aby korzystać ze wszystkich możliwości Vima, należy
545 zainstalować ten pakiet.
548 Summary: Context Vim documentation
549 Summary(pl.UTF-8): Dokumentacja kontekstowa do Vima
550 Group: Applications/Editors/Vim
551 Requires(post,postun): /usr/bin/vim
552 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
556 This package contains Vim documentation accessible from vim itself
559 %description doc -l pl.UTF-8
560 Ten pakiet zawiera dokumentację do Vima dostępną z poziomu samego vima
561 za pomocą polecenia :help.
564 Summary: English dictionaries for VIMspell
565 Summary(pl.UTF-8): Angielskie słowniki dla VIMspella
566 Group: Applications/Editors/Vim
567 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
570 %description spell-en
571 English dictionaries for VIMspell.
573 %description spell-en -l pl.UTF-8
574 Angielskie słowniki dla VIMspella.
577 Summary: Vim tutorial
578 Summary(hu.UTF-8): Vim tutorial
579 Summary(pl.UTF-8): Samouczek do Vima
580 Group: Applications/Editors/Vim
581 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
583 Requires: vim-editor = %{epoch}:%{version}-%{release}
587 This package contains Vim tutorial.
589 %description tutor -l hu.UTF-8
590 Ez a csomag a vimtutor-t tartalmazza, amely egy gyakorlat-orientált
593 %description tutor -l pl.UTF-8
594 Ten pakiet zawiera samouczek do Vima.
596 %package -n gvim-athena
597 Summary: Vim for X Window built with Athena
598 Summary(hu.UTF-8): A Vim X Window verziója, az Athena felhasználásával
599 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena
600 Group: Applications/Editors/Vim
601 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
605 Provides: vim-editor = %{epoch}:%{version}-%{release}
606 Obsoletes: vim-X11 < 5.6
607 Obsoletes: vim-athena < 5.6
609 %description -n gvim-athena
610 The classic Unix text editor now also under X Window System! This
611 version is built with Athena Widget Set.
613 %description -n gvim-athena -l hu.UTF-8
614 A Vim X Window verziója, az Athena Widgetkészlet felhasználásával.
616 %description -n gvim-athena -l pl.UTF-8
617 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
618 biblioteki Athena Widget Set.
620 %description -n gvim-athena -l ru.UTF-8
621 Этот пакет представляет собой версию VIM, собранную с библиотеками
622 Athena Widget Set, что позволяет запускать VIM как приложение X Window
623 System - с полностью графическим интерфейсом и поддержкой мыши.
625 %description -n gvim-athena -l uk.UTF-8
626 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
627 Set, що дозволяє запускати VIM як прикладну програму X Window System -
628 з повністю графічним інтерфейсом та підтримкою миші.
630 %package -n gvim-motif
631 Summary: Vim for X Window System built with Motif
632 Summary(hu.UTF-8): A Vim X Window verziója, a Motif felhasználásával
633 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki Motif
634 Group: Applications/Editors/Vim
635 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
639 Provides: vim-editor = %{epoch}:%{version}-%{release}
640 Obsoletes: gvim-lesstif < 5.6-5
641 Obsoletes: vim-X11 < 5.6
642 Obsoletes: vim-lesstif < 5.6
644 %description -n gvim-motif
645 The classic Unix text editor now also under X Window System! This
646 version is built with Motif.
648 %description -n gvim-motif -l hu.UTF-8
649 A Vim X Window verziója, a Motif Widgetkészlet felhasználásával.
651 %description -n gvim-motif -l pl.UTF-8
652 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
655 %description -n gvim-motif -l ru.UTF-8
656 Этот пакет представляет собой версию VIM, собранную с библиотеками
657 Motif, что позволяет запускать VIM как приложение X Window System - с
658 полностью графическим интерфейсом и поддержкой мыши.
660 %description -n gvim-motif -l uk.UTF-8
661 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
662 дозволяє запускати VIM як прикладну програму X Window System - з
663 повністю графічним інтерфейсом та підтримкою миші.
666 Summary: Vim for X Window System built with GTK+
667 Summary(hu.UTF-8): A Vim X Window verziója, a GTK+ felhasználásával
668 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GTK+
669 Group: Applications/Editors/Vim
670 Requires(post,postun): gtk-update-icon-cache
671 Requires(post,postun): hicolor-icon-theme
672 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
673 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
677 Provides: vim-editor = %{epoch}:%{version}-%{release}
678 Obsoletes: vim-X11 < 5.6
679 Obsoletes: vim-gtk < 5.6
681 %description -n gvim-gtk
682 The classic Unix text editor now also under X Window System! This
683 version is built with GTK+.
685 %description -n gvim-gtk -l hu.UTF-8
686 A Vim X Window verziója, a GTK+ Widgetkészlet felhasználásával.
688 %description -n gvim-gtk -l pl.UTF-8
689 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
692 %description -n gvim-gtk -l ru.UTF-8
693 Этот пакет представляет собой версию VIM, собранную с библиотеками
694 GTK, что позволяет запускать VIM как приложение X Window System - с
695 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
698 %description -n gvim-gtk -l uk.UTF-8
699 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
700 запускати VIM як прикладну програму X Window System - з повністю
701 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
703 %package -n gvim-gnome
704 Summary: Vim for X Window System built with GNOME
705 Summary(hu.UTF-8): A Vim X Window verziója, a GNOME felhasználásával
706 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GNOME
707 Group: Applications/Editors/Vim
708 Requires(post,postun): gtk-update-icon-cache
709 Requires(post,postun): hicolor-icon-theme
710 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
711 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
715 Provides: vim-editor = %{epoch}:%{version}-%{release}
716 Obsoletes: vim-X11 < 5.6
718 %description -n gvim-gnome
719 The classic Unix text editor now also under X Window System! This
720 version is build with GNOME.
722 %description -n gvim-gnome -l hu.UTF-8
723 A Vim X Window verziója, a GNOME felhasználásával.
725 %description -n gvim-gnome -l pl.UTF-8
726 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
729 %description -n gvim-gnome -l ru.UTF-8
730 Этот пакет представляет собой версию VIM, собранную с библиотеками
731 GNOME, что позволяет запускать VIM как приложение X Window System - с
732 полностью графическим интерфейсом и поддержкой мыши.
734 %description -n gvim-gnome -l uk.UTF-8
735 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
736 дозволяє запускати VIM як прикладну програму X Window System - з
737 повністю графічним інтерфейсом та підтримкою миші.
739 %package -n gvim-heavy
740 Summary: Full featured build of Vim with X Window support
741 Summary(hu.UTF-8): A gvim legteljesebb verziója
742 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima z interfejsem dla X Window
743 Group: Applications/Editors/Vim
744 Requires(post,postun): gtk-update-icon-cache
745 Requires(post,postun): hicolor-icon-theme
746 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
747 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
751 Provides: vim-editor = %{epoch}:%{version}-%{release}
752 Obsoletes: vim-X11 < 5.6
754 %description -n gvim-heavy
755 This package provides full featured version of Vim, which includes
756 support for Perl, Python, Ruby and Tcl scripting, as well as GTK+2
759 %description -n gvim-heavy -l hu.UTF-8
760 A gvim legteljesebb verziója, Perl, Python, Ruby és Tcl támogatással.
762 %description -n gvim-heavy -l pl.UTF-8
763 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
764 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl
765 jak również GUI GTK+2.
770 cp -p runtime/gvim.desktop gvim-athena.desktop
771 cp -p runtime/gvim.desktop gvim-gnome.desktop
772 cp -p runtime/gvim.desktop gvim-gtk.desktop
773 cp -p runtime/gvim.desktop gvim-motif.desktop
799 %{?with_home_etc:%patch26 -p1}
801 # autopaste patch - automatically switch to paste mode
802 # when `really fast typing' situation happens
818 cp -p %{SOURCE20} runtime/syntax
819 cp -p %{SOURCE22} runtime/syntax
820 cp -p %{SOURCE30} runtime/colors
821 cp -p %{SOURCE31} runtime/colors
822 cp -p %{SOURCE32} runtime/colors
824 %{__unzip} -qd runtime/doc %{SOURCE2}
826 # not info files but some binary files for Amiga:
827 # Amiga Workbench drawer icon
828 # Amiga Workbench project icon
829 # Amiga Workbench tool icon
830 find -name '*.info' | xargs rm -v
835 # needed to prevent deconfiguring
845 %if "%{pld_release}" == "ac"
846 --with-tlib="ncurses -ltinfo"
848 --with-tlib="ncursesw"
851 %{__make} -j1 distclean
852 # add common options, can override (disable) if needed with args
854 --%{!?with_lua:dis}%{?with_lua:en}able-luainterp \
855 --%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
856 --%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
857 --%{!?with_python3:dis}%{?with_python3:en}able-python3interp \
858 --%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
859 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
860 %{!?with_selinux:--disable-selinux} \
865 %if "%{pld_release}" == "ac"
866 --with-tlib="ncurses -ltinfo" \
868 --with-tlib="ncursesw" \
870 --with-modified-by="PLD Linux Distribution" \
871 --with-compiledby="PLD Linux Distribution" \
875 mv -f vim bin/$target
879 LDFLAGS="%{rpmldflags} -static"
883 --with-features=small \
885 --disable-luainterp \
886 --disable-perlinterp \
887 --disable-pythoninterp \
888 --disable-python3interp \
889 --disable-rubyinterp \
890 --disable-tclinterp \
896 LDFLAGS="%{rpmldflags}"
903 --with-features=small \
905 --disable-luainterp \
906 --disable-perlinterp \
907 --disable-pythoninterp \
908 --disable-python3interp \
909 --disable-rubyinterp \
910 --disable-tclinterp \
918 %{__with_without x} \
932 --with-features=huge \
933 --enable-gui=athena \
944 --with-features=huge \
957 --with-features=huge \
960 --enable-gtk3-check \
963 --enable-gtk2-check \
973 --with-features=huge \
974 --enable-gui=gnome2 \
975 --enable-gtk2-check \
976 --enable-gnome-check \
982 # vim.heavy / gvim.heavy
985 --with-features=huge \
989 --enable-perlinterp \
990 --enable-pythoninterp \
991 --enable-python3interp \
992 --enable-rubyinterp \
998 --with-features=huge \
999 --enable-gui=gnome2 \
1000 --enable-gtk2-check \
1001 --enable-gnome-check \
1003 --enable-luainterp \
1004 --enable-perlinterp \
1005 --enable-pythoninterp \
1006 --enable-python3interp \
1007 --enable-rubyinterp \
1008 --enable-tclinterp \
1012 %{__make} xxd/xxd languages
1015 rm -rf $RPM_BUILD_ROOT
1017 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1018 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim/ftdetect} \
1019 $RPM_BUILD_ROOT%{_desktopdir}
1021 %{__make} -j1 install \
1022 DESTDIR=$RPM_BUILD_ROOT
1024 # generic gvim from upstream, but we have bunch of subpackages
1025 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/gvim.desktop
1028 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}
1029 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}.utf-8
1030 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.latin1.vim
1031 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.utf-8.vim
1032 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.latin1.vim
1033 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.utf-8.vim
1035 # remove unsupported locales
1036 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ko.UTF-8
1037 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
1038 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.UTF-8
1039 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_TW.UTF-8
1040 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
1041 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
1042 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
1043 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
1044 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
1045 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
1046 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
1047 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
1048 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
1049 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_zh_{cn,tw}.utf-8.vim
1053 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*
1056 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
1057 install -p src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
1059 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
1060 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
1063 install -p src/bin/vimx $RPM_BUILD_ROOT%{_bindir}/vimx
1065 install -p src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
1066 install -p src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
1068 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1069 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1071 # not supported directories
1072 %{__rm} -r $RPM_BUILD_ROOT%{_mandir}/??.*/
1074 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/vimrc_example.vim,%{_sysconfdir}/vim/vimrc}
1075 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/gvimrc_example.vim,%{_sysconfdir}/vim/gvimrc}
1077 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1078 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
1079 ln -sf vi $RPM_BUILD_ROOT/bin/ex
1080 ln -sf vi $RPM_BUILD_ROOT/bin/view
1081 ln -sf vi $RPM_BUILD_ROOT/bin/rview
1084 install -p src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1085 cp -p gvim-athena.desktop $RPM_BUILD_ROOT%{_desktopdir}
1088 install -p src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1089 cp -p gvim-motif.desktop $RPM_BUILD_ROOT%{_desktopdir}
1092 install -p src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1093 cp -p gvim-gnome.desktop $RPM_BUILD_ROOT%{_desktopdir}
1096 install -p src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1097 cp -p gvim-gtk.desktop $RPM_BUILD_ROOT%{_desktopdir}
1098 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
1099 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/eview
1100 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/evim
1101 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
1102 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
1103 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
1104 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
1107 install -p src/bin/vim.heavy $RPM_BUILD_ROOT%{_bindir}
1108 install -p src/bin/gvim.heavy $RPM_BUILD_ROOT%{_bindir}
1111 install -p src/bin/vim.light $RPM_BUILD_ROOT%{_bindir}
1114 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
1115 mv $RPM_BUILD_ROOT{%{_iconsdir}/hicolor/48x48/apps,%{_pixmapsdir}}/gvim.png
1117 # locolor scheme no longer supported
1118 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/locolor
1120 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1122 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1123 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1126 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/{ftplugin,syntax}/spec.vim
1129 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/tools
1130 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/bugreport.vim
1131 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/check_locales.vim
1132 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/cleanadd.vim
1133 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/fixdup.vim
1134 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/doc/vim2html.pl
1137 rm -rf $RPM_BUILD_ROOT
1140 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1143 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1151 %post -n gvim-athena
1152 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1154 %postun -n gvim-athena
1155 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1158 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1160 %postun -n gvim-motif
1161 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1164 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1165 %update_icon_cache hicolor
1168 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1169 %update_icon_cache hicolor
1172 %update_desktop_database_post
1173 %update_icon_cache hicolor
1175 %postun -n gvim-gnome
1176 %update_desktop_database_postun
1177 %update_icon_cache hicolor
1180 %update_icon_cache hicolor
1182 %postun -n gvim-heavy
1183 %update_icon_cache hicolor
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) %{_bindir}/rvim
1188 %attr(755,root,root) %{_bindir}/vim
1189 %attr(755,root,root) %{_bindir}/vimdiff
1190 %{_mandir}/man1/rvim.1*
1191 %{_mandir}/man1/vimdiff.1*
1192 %lang(da) %{_mandir}/da/man1/rvim.1*
1193 %lang(da) %{_mandir}/da/man1/vimdiff.1*
1194 %lang(de) %{_mandir}/de/man1/rvim.1*
1195 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1196 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1197 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1198 %lang(id) %{_mandir}/id/man1/rvim.1*
1199 %lang(it) %{_mandir}/it/man1/rvim.1*
1200 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1201 %lang(ja) %{_mandir}/ja/man1/rvim.1*
1202 %lang(ja) %{_mandir}/ja/man1/vimdiff.1*
1203 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1204 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1205 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1206 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1207 %lang(tr) %{_mandir}/tr/man1/rvim.1*
1208 %lang(tr) %{_mandir}/tr/man1/vimdiff.1*
1209 %{_desktopdir}/vim.desktop
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) /bin/ex
1216 %attr(755,root,root) /bin/rview
1217 %attr(755,root,root) /bin/vi
1218 %attr(755,root,root) /bin/view
1219 %{_mandir}/man1/vi.1*
1220 %{_mandir}/man1/ex.1*
1221 %{_mandir}/man1/view.1*
1222 %{_mandir}/man1/rview.1*
1223 %lang(da) %{_mandir}/da/man1/ex.1*
1224 %lang(da) %{_mandir}/da/man1/rview.1*
1225 %lang(da) %{_mandir}/da/man1/view.1*
1226 %lang(de) %{_mandir}/de/man1/ex.1*
1227 %lang(de) %{_mandir}/de/man1/rview.1*
1228 %lang(de) %{_mandir}/de/man1/view.1*
1229 %lang(fi) %{_mandir}/fi/man1/vi.1*
1230 %lang(fi) %{_mandir}/fi/man1/ex.1*
1231 %lang(fi) %{_mandir}/fi/man1/view.1*
1232 %lang(fi) %{_mandir}/fi/man1/rview.1*
1233 %lang(fr) %{_mandir}/fr/man1/vi.1*
1234 %lang(fr) %{_mandir}/fr/man1/ex.1*
1235 %lang(fr) %{_mandir}/fr/man1/view.1*
1236 %lang(fr) %{_mandir}/fr/man1/rview.1*
1237 %lang(id) %{_mandir}/id/man1/vi.1*
1238 %lang(id) %{_mandir}/id/man1/ex.1*
1239 %lang(id) %{_mandir}/id/man1/view.1*
1240 %lang(id) %{_mandir}/id/man1/rview.1*
1241 #%lang(it) %{_mandir}/it/man1/vi.1*
1242 %lang(it) %{_mandir}/it/man1/ex.1*
1243 %lang(it) %{_mandir}/it/man1/view.1*
1244 %lang(it) %{_mandir}/it/man1/rview.1*
1245 %lang(ja) %{_mandir}/ja/man1/ex.1*
1246 %lang(ja) %{_mandir}/ja/man1/view.1*
1247 %lang(ja) %{_mandir}/ja/man1/rview.1*
1248 %lang(pl) %{_mandir}/pl/man1/vi.1*
1249 %lang(pl) %{_mandir}/pl/man1/ex.1*
1250 %lang(pl) %{_mandir}/pl/man1/view.1*
1251 %lang(pl) %{_mandir}/pl/man1/rview.1*
1252 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1253 %lang(ru) %{_mandir}/ru/man1/ex.1*
1254 %lang(ru) %{_mandir}/ru/man1/view.1*
1255 %lang(ru) %{_mandir}/ru/man1/rview.1*
1256 %lang(tr) %{_mandir}/tr/man1/ex.1*
1257 %lang(tr) %{_mandir}/tr/man1/view.1*
1258 %lang(tr) %{_mandir}/tr/man1/rview.1*
1261 %defattr(644,root,root,755)
1262 %attr(755,root,root) %{_bindir}/xxd
1263 %{_mandir}/man1/xxd.1*
1264 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1265 %lang(it) %{_mandir}/it/man1/xxd.1*
1266 %lang(ja) %{_mandir}/ja/man1/xxd.1*
1267 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1268 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1270 %files rt -f %{name}.lang
1271 %defattr(644,root,root,755)
1272 %dir %{_sysconfdir}/vim
1273 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1276 %dir %{_datadir}/vim
1277 %dir %{_datadir}/vim/doc
1278 %verify(not md5 mtime size) %{_datadir}/vim/doc/tags
1279 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
1280 %verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
1282 %dir %{_datadir}/vim/vimfiles
1283 %dir %{_datadir}/vim/vimfiles/doc
1284 %dir %{_datadir}/vim/vimfiles/after
1285 %dir %{_datadir}/vim/vimfiles/after/compiler
1286 %dir %{_datadir}/vim/vimfiles/after/ftdetect
1287 %dir %{_datadir}/vim/vimfiles/after/ftplugin
1288 %dir %{_datadir}/vim/vimfiles/after/indent
1289 %dir %{_datadir}/vim/vimfiles/after/plugin
1290 %dir %{_datadir}/vim/vimfiles/after/spell
1291 %dir %{_datadir}/vim/vimfiles/after/syntax
1292 %dir %{_datadir}/vim/vimfiles/compiler
1293 %dir %{_datadir}/vim/vimfiles/ftdetect
1294 %dir %{_datadir}/vim/vimfiles/ftplugin
1295 %dir %{_datadir}/vim/vimfiles/indent
1296 %dir %{_datadir}/vim/vimfiles/plugin
1297 %dir %{_datadir}/vim/vimfiles/spell
1298 %dir %{_datadir}/vim/vimfiles/syntax
1300 %{_datadir}/vim/*.vim
1302 %dir %{_datadir}/vim/autoload
1303 %{_datadir}/vim/autoload/*complete.vim
1304 %doc %{_datadir}/vim/autoload/README.txt
1305 %dir %{_datadir}/vim/autoload/dist
1306 %{_datadir}/vim/autoload/dist/ft.vim
1307 %{_datadir}/vim/autoload/dist/man.vim
1308 %{_datadir}/vim/autoload/dist/script.vim
1309 %{_datadir}/vim/autoload/dist/vimindent.vim
1311 %dir %{_datadir}/vim/ftdetect
1313 %dir %{_datadir}/vim/ftplugin
1314 %doc %{_datadir}/vim/ftplugin/README.txt
1315 %{_datadir}/vim/ftplugin/*.vim
1316 %{_datadir}/vim/ftplugin/logtalk.dict
1318 %dir %{_datadir}/vim/import
1319 %dir %{_datadir}/vim/import/dist
1320 %{_datadir}/vim/import/dist/vimhelp.vim
1321 %{_datadir}/vim/import/dist/vimhighlight.vim
1323 %dir %{_datadir}/vim/indent
1324 %doc %{_datadir}/vim/indent/README.txt
1325 %{_datadir}/vim/indent/*.vim
1327 %dir %{_datadir}/vim/keymap
1328 %doc %{_datadir}/vim/keymap/README.txt
1329 %{_datadir}/vim/keymap/*.vim
1331 %{_datadir}/vim/pack
1333 %dir %{_datadir}/vim/plugin
1334 %doc %{_datadir}/vim/plugin/README.txt
1336 %dir %{_datadir}/vim/syntax
1337 %doc %{_datadir}/vim/syntax/README.txt
1338 %{_datadir}/vim/syntax/*.vim
1339 %dir %{_datadir}/vim/syntax/shared
1340 %doc %{_datadir}/vim/syntax/shared/README.txt
1341 %{_datadir}/vim/syntax/shared/*.vim
1343 %dir %{_datadir}/vim/colors
1344 %doc %{_datadir}/vim/colors/README.txt
1345 %{_datadir}/vim/colors/*.vim
1346 %dir %{_datadir}/vim/colors/lists
1347 %{_datadir}/vim/colors/lists/*.vim
1348 %dir %{_datadir}/vim/colors/tools
1349 %{_datadir}/vim/colors/tools/check_colors.vim
1351 %dir %{_datadir}/vim/lang
1352 %doc %{_datadir}/vim/lang/README*
1354 %lang(af) %{_datadir}/vim/lang/menu_af*
1355 %lang(ca) %{_datadir}/vim/lang/menu_ca*
1356 %lang(cs) %{_datadir}/vim/lang/menu_cs*
1357 %lang(cs) %{_datadir}/vim/lang/menu_*czech*
1358 %lang(da) %{_datadir}/vim/lang/menu_da*
1359 %lang(de) %{_datadir}/vim/lang/menu_de*
1360 %lang(de) %{_datadir}/vim/lang/menu_*german*
1361 %lang(en_GB) %{_datadir}/vim/lang/menu_en_gb*
1362 %lang(en_GB) %{_datadir}/vim/lang/menu_*english*
1363 %lang(eo) %{_datadir}/vim/lang/menu_eo.utf-8.vim
1364 %lang(eo) %{_datadir}/vim/lang/menu_eo_eo.utf-8.vim
1365 %lang(eo) %{_datadir}/vim/lang/menu_eo_xx.utf-8.vim
1366 %lang(es) %{_datadir}/vim/lang/menu_es*
1367 %lang(es) %{_datadir}/vim/lang/menu_*spanish*
1368 %lang(fi) %{_datadir}/vim/lang/menu_fi.latin1.vim
1369 %lang(fi) %{_datadir}/vim/lang/menu_fi.utf-8.vim
1370 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.latin1.vim
1371 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.utf-8.vim
1372 %lang(fi) %{_datadir}/vim/lang/menu_finnish_finland.1252.vim
1373 %lang(fr) %{_datadir}/vim/lang/menu_fr*
1374 %lang(hu) %{_datadir}/vim/lang/menu_hu*
1375 %lang(is) %{_datadir}/vim/lang/menu_is*
1376 %lang(it) %{_datadir}/vim/lang/menu_it*
1377 %lang(ja) %{_datadir}/vim/lang/menu_ja*
1378 %lang(ko) %{_datadir}/vim/lang/menu_ko*
1379 %lang(nl) %{_datadir}/vim/lang/menu_nl*
1380 %lang(nb) %{_datadir}/vim/lang/menu_nb*
1381 %lang(pl) %{_datadir}/vim/lang/menu_pl*
1382 %lang(pl) %{_datadir}/vim/lang/menu_*polish*
1383 %lang(pt) %{_datadir}/vim/lang/menu_pt*
1384 %lang(ru) %{_datadir}/vim/lang/menu_ru*
1385 %lang(sk) %{_datadir}/vim/lang/menu_sk*
1386 %lang(sk) %{_datadir}/vim/lang/menu_*slovak*
1387 %lang(sl) %{_datadir}/vim/lang/menu_sl_si*
1388 %lang(sr) %{_datadir}/vim/lang/menu_sr*
1389 %lang(sv) %{_datadir}/vim/lang/menu_sv*
1390 %lang(tr) %{_datadir}/vim/lang/menu_tr*
1391 %lang(uk) %{_datadir}/vim/lang/menu_uk*
1392 %lang(vi) %{_datadir}/vim/lang/menu_vi*
1393 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.cp936*
1394 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.gb2312*
1395 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh_cn*
1396 %lang(zh_CN) %{_datadir}/vim/lang/menu_*chinese*gb*
1397 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.cp950*
1398 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.big5*
1399 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh_tw*
1400 %lang(zh_TW) %{_datadir}/vim/lang/menu_*taiwan*
1402 %dir %{_datadir}/vim/spell
1403 %{_datadir}/vim/spell/spell.vim
1404 %lang(he) %{_datadir}/vim/spell/he.*
1405 %lang(yi) %{_datadir}/vim/spell/yi.*
1407 %{_mandir}/man1/vim.1*
1408 %lang(da) %{_mandir}/da/man1/vim.1*
1409 %lang(de) %{_mandir}/de/man1/vim.1*
1410 %lang(fi) %{_mandir}/fi/man1/vim.1*
1411 %lang(fr) %{_mandir}/fr/man1/vim.1*
1412 %lang(id) %{_mandir}/id/man1/vim.1*
1413 %lang(it) %{_mandir}/it/man1/vim.1*
1414 %lang(ja) %{_mandir}/ja/man1/vim.1*
1415 %lang(pl) %{_mandir}/pl/man1/vim.1*
1416 %lang(ru) %{_mandir}/ru/man1/vim.1*
1417 %lang(tr) %{_mandir}/tr/man1/vim.1*
1418 %{_pixmapsdir}/gvim.png
1420 # plugins in base -rt package
1421 %{_datadir}/vim/autoload/gzip.vim
1422 %{_datadir}/vim/plugin/gzip.vim
1423 %{_datadir}/vim/plugin/matchparen.vim
1426 %defattr(644,root,root,755)
1427 %{_datadir}/vim/plugin/*.vim
1428 %{_datadir}/vim/autoload/*.vim
1429 %exclude %{_datadir}/vim/autoload/*complete.vim
1430 %{_datadir}/vim/autoload/xml
1431 %{_datadir}/vim/autoload/zig
1432 %{_datadir}/vim/compiler
1433 %{_datadir}/vim/macros
1434 %{_datadir}/vim/print
1436 # plugins in base -rt package
1437 %exclude %{_datadir}/vim/autoload/gzip.vim
1438 %exclude %{_datadir}/vim/plugin/gzip.vim
1439 %exclude %{_datadir}/vim/plugin/matchparen.vim
1442 %defattr(644,root,root,755)
1444 %{_datadir}/vim/doc/*.txt
1447 %lang(pl) %{_datadir}/vim/doc/*.plx
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) %{_bindir}/vimtutor
1452 %dir %{_datadir}/vim/tutor
1453 %{_datadir}/vim/tutor/tutor
1455 %{_datadir}/vim/tutor/README.txt
1456 %{_datadir}/vim/tutor/tutor.vim
1457 %{_datadir}/vim/tutor/tutor.utf-8
1458 %lang(el) %{_datadir}/vim/tutor/README.el.cp737.txt
1459 %lang(el) %{_datadir}/vim/tutor/README.el.txt
1461 %lang(de) %{_datadir}/vim/tutor/tutor.bar
1462 %lang(de) %{_datadir}/vim/tutor/tutor.bar.utf-8
1463 %lang(bg) %{_datadir}/vim/tutor/tutor.bg.utf-8
1464 %lang(ca) %{_datadir}/vim/tutor/tutor.ca
1465 %lang(ca) %{_datadir}/vim/tutor/tutor.ca.utf-8
1466 %lang(cs) %{_datadir}/vim/tutor/tutor.cs
1467 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.cp1250
1468 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.utf-8
1469 %lang(da) %{_datadir}/vim/tutor/tutor.da
1470 %lang(da) %{_datadir}/vim/tutor/tutor.da.utf-8
1471 %lang(de) %{_datadir}/vim/tutor/tutor.de
1472 %lang(de) %{_datadir}/vim/tutor/tutor.de.utf-8
1473 %lang(el) %{_datadir}/vim/tutor/tutor.el
1474 %lang(el) %{_datadir}/vim/tutor/tutor.el.cp737
1475 %lang(el) %{_datadir}/vim/tutor/tutor.el.utf-8
1476 %lang(eo) %{_datadir}/vim/tutor/tutor.eo
1477 %lang(eo) %{_datadir}/vim/tutor/tutor.eo.utf-8
1478 %lang(es) %{_datadir}/vim/tutor/tutor.es
1479 %lang(es) %{_datadir}/vim/tutor/tutor.es.utf-8
1480 %lang(fr) %{_datadir}/vim/tutor/tutor.fr
1481 %lang(fr) %{_datadir}/vim/tutor/tutor.fr.utf-8
1482 %lang(hr) %{_datadir}/vim/tutor/tutor.hr
1483 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.cp1250
1484 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.utf-8
1485 %lang(hu) %{_datadir}/vim/tutor/tutor.hu
1486 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.cp1250
1487 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.utf-8
1488 %lang(it) %{_datadir}/vim/tutor/tutor.it
1489 %lang(it) %{_datadir}/vim/tutor/tutor.it.utf-8
1490 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.euc
1491 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.sjis
1492 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8
1493 %lang(ko) %{_datadir}/vim/tutor/tutor.ko
1494 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc
1495 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8
1496 %lang(lv) %{_datadir}/vim/tutor/tutor.lv.utf-8
1497 %lang(nl) %{_datadir}/vim/tutor/tutor.nl
1498 %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8
1499 %lang(nb) %{_datadir}/vim/tutor/tutor.nb
1500 %lang(nb) %{_datadir}/vim/tutor/tutor.nb.utf-8
1501 %lang(pl) %{_datadir}/vim/tutor/tutor.pl
1502 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.cp1250
1503 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.utf-8
1504 %lang(pt) %{_datadir}/vim/tutor/tutor.pt
1505 %lang(pt) %{_datadir}/vim/tutor/tutor.pt.utf-8
1506 %lang(ru) %{_datadir}/vim/tutor/tutor.ru
1507 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.cp1251
1508 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.utf-8
1509 %lang(sk) %{_datadir}/vim/tutor/tutor.sk
1510 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.cp1250
1511 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.utf-8
1512 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.cp1250
1513 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.utf-8
1514 %lang(sv) %{_datadir}/vim/tutor/tutor.sv
1515 %lang(sv) %{_datadir}/vim/tutor/tutor.sv.utf-8
1516 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.iso9
1517 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.utf-8
1518 %lang(uk) %{_datadir}/vim/tutor/tutor.uk.utf-8
1519 %lang(vi) %{_datadir}/vim/tutor/tutor.vi.utf-8
1520 %lang(zh_CN) %{_datadir}/vim/tutor/tutor.zh_cn.utf-8
1521 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.big5
1522 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.euc
1523 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.utf-8
1524 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh_tw.utf-8
1526 %{_mandir}/man1/vimtutor.1*
1527 %lang(da) %{_mandir}/da/man1/vimtutor.1*
1528 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1529 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1530 %lang(ja) %{_mandir}/ja/man1/vimtutor.1*
1531 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1532 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1533 %lang(tr) %{_mandir}/tr/man1/vimtutor.1*
1537 %defattr(644,root,root,755)
1538 %attr(755,root,root) %{_bindir}/vimx
1543 %defattr(644,root,root,755)
1544 %attr(755,root,root) %{_bindir}/vim.heavy
1549 %defattr(644,root,root,755)
1550 %attr(755,root,root) %{_bindir}/vim.light
1554 %defattr(644,root,root,755)
1555 %{_datadir}/vim/spell/en.*.*
1558 %files -n gvim-athena
1559 %defattr(644,root,root,755)
1560 %attr(755,root,root) %{_bindir}/gvim.athena
1561 %{_desktopdir}/gvim-athena.desktop
1565 %files -n gvim-motif
1566 %defattr(644,root,root,755)
1567 %attr(755,root,root) %{_bindir}/gvim.motif
1568 %{_desktopdir}/gvim-motif.desktop
1573 %defattr(644,root,root,755)
1574 %attr(755,root,root) %{_bindir}/gvim.gtk
1575 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1576 %attr(755,root,root) %{_bindir}/eview
1577 %attr(755,root,root) %{_bindir}/evim
1578 %attr(755,root,root) %{_bindir}/gview
1579 %attr(755,root,root) %{_bindir}/gvimdiff
1580 %attr(755,root,root) %{_bindir}/rgview
1581 %attr(755,root,root) %{_bindir}/rgvim
1582 %{_mandir}/man1/eview.1*
1583 %{_mandir}/man1/evim.1*
1584 %{_mandir}/man1/gview.1*
1585 %{_mandir}/man1/gvim.1*
1586 %{_mandir}/man1/gvimdiff.1*
1587 %{_mandir}/man1/rgview.1*
1588 %{_mandir}/man1/rgvim.1*
1589 %lang(da) %{_mandir}/da/man1/gvi*.1*
1590 %lang(da) %{_mandir}/da/man1/rgv*.1*
1591 %lang(de) %{_mandir}/de/man1/gvi*.1*
1592 %lang(de) %{_mandir}/de/man1/rgv*.1*
1593 %lang(fi) %{_mandir}/fi/man1/gvi*.1*
1594 %lang(fi) %{_mandir}/fi/man1/rgv*.1*
1595 %lang(fr) %{_mandir}/fr/man1/eview.1*
1596 %lang(fr) %{_mandir}/fr/man1/evim.1*
1597 %lang(fr) %{_mandir}/fr/man1/gvi*.1*
1598 %lang(fr) %{_mandir}/fr/man1/rgv*.1*
1599 %lang(id) %{_mandir}/id/man1/gvi*.1*
1600 %lang(id) %{_mandir}/id/man1/rgv*.1*
1601 %lang(it) %{_mandir}/it/man1/eview.1*
1602 %lang(it) %{_mandir}/it/man1/evim.1*
1603 %lang(it) %{_mandir}/it/man1/gvi*.1*
1604 %lang(it) %{_mandir}/it/man1/rgv*.1*
1605 %lang(ja) %{_mandir}/ja/man1/eview.1*
1606 %lang(ja) %{_mandir}/ja/man1/evim.1*
1607 %lang(ja) %{_mandir}/ja/man1/gvi*.1*
1608 %lang(ja) %{_mandir}/ja/man1/rgv*.1*
1609 %lang(pl) %{_mandir}/pl/man1/eview.1*
1610 %lang(pl) %{_mandir}/pl/man1/evim.1*
1611 %lang(pl) %{_mandir}/pl/man1/gvi*.1*
1612 %lang(pl) %{_mandir}/pl/man1/rgv*.1*
1613 %lang(ru) %{_mandir}/ru/man1/eview.1*
1614 %lang(ru) %{_mandir}/ru/man1/evim.1*
1615 %lang(ru) %{_mandir}/ru/man1/gvi*.1*
1616 %lang(ru) %{_mandir}/ru/man1/rgv*.1*
1617 %lang(tr) %{_mandir}/tr/man1/eview.1*
1618 %lang(tr) %{_mandir}/tr/man1/evim.1*
1619 %lang(tr) %{_mandir}/tr/man1/gvi*.1*
1620 %lang(tr) %{_mandir}/tr/man1/rgv*.1*
1621 %{_desktopdir}/gvim-gtk.desktop
1625 %files -n gvim-gnome
1626 %defattr(644,root,root,755)
1627 %attr(755,root,root) %{_bindir}/gvim.gnome
1628 %{_desktopdir}/gvim-gnome.desktop
1632 %files -n gvim-heavy
1633 %defattr(644,root,root,755)
1634 %attr(755,root,root) %{_bindir}/gvim.heavy