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: 9e108a0a9307fc578d365c97d2dc5b0d
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.12
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-libXt-devel
135 %if %{with gtk} || %{with heavy}
137 BuildRequires: gtk+3-devel >= 3.0
139 BuildRequires: gtk+2-devel >= 2:2.6.0
142 BuildRequires: libcanberra-devel
143 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
144 %if %{with selinux} || %{with heavy}
145 BuildRequires: libselinux-devel
147 %if %{with lua} || %{with heavy}
148 BuildRequires: lua52-devel >= 5.2
150 %{?with_motif:BuildRequires: motif-devel}
151 BuildRequires: ncurses-devel
152 BuildRequires: pkgconfig
153 %if %{with perl} || %{with heavy}
154 BuildRequires: perl-devel
156 %if %{with python} || %{with heavy}
157 BuildRequires: python-devel >= 2.3
159 %if %{with python3} || %{with heavy}
160 BuildRequires: python3-devel
162 %if %{with python} || %{with python3} || %{with heavy}
163 BuildRequires: rpm-pythonprov
165 BuildRequires: rpm >= 4.4.9-56
166 BuildRequires: rpmbuild(macros) >= 1.718
167 %if %{with ruby} || %{with heavy}
168 BuildRequires: ruby-devel >= 1.6.0
170 %if %{with tcl} || %{with heavy}
171 BuildRequires: tcl-devel >= 8.0
175 BuildRequires: acl-static
176 BuildRequires: attr-static
177 BuildRequires: glibc-static
178 %{?with_selinux:BuildRequires: libselinux-static}
179 BuildRequires: ncurses-static
181 Provides: %{name}-static = %{epoch}:%{version}-%{release}
182 Obsoletes: elvis-static
185 Obsoletes: vim-minimal
186 Obsoletes: vim-static
189 Suggests: %{name}-rt = %{epoch}:%{version}-%{release}
192 Provides: vim-editor = %{epoch}:%{version}-%{release}
193 Obsoletes: vim-enhanced
194 Obsoletes: vim-ispell
195 Obsoletes: vim-plugin-multvals
196 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
198 # configure redefines it to =1
199 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]*
200 %define filterout_c -Wp,-D_FORTIFY_SOURCE=2
202 # that's example script
203 %define _noautoreq '/bin/csh'
205 # cflags get changed while configuring
206 %undefine configure_cache
209 Text editor similar to Vi. Important improvements: multiple windows,
210 multi-level undo, block highliting, folding, and many other.
212 %description -l cs.UTF-8
213 VIM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
214 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
215 populární. VIM je obohacený funkcemi jako: podpora více oken,
216 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
219 %description -l de.UTF-8
220 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
221 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
222 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
223 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
224 Standard-vi-Programm.
226 %description -l es.UTF-8
227 El editor Visual Mejorado es una versión actualizada y con nuevas
228 características adicionales del mundialmente famoso 'vi' que acompaña
229 prácticamente todos los sistemas UN*X. Posibilita trabajar con
230 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
231 otras muchas características del 'vi'.
233 %description -l fr.UTF-8
234 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
235 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
236 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
237 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
238 blocs et autres caractéristiques au vi de base.
240 %description -l hu.UTF-8
241 A Vi-hez hasonló texteditor. Néhány fontos bővítés: ablakkezelés,
242 többszintű undo, blokk kiemelés, kódrészletek összecsukása, és még sok
245 %description -l id.UTF-8
246 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
247 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
248 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
249 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
250 windows, multi-level undo, block highlighting, dll.
252 %description -l is.UTF-8
253 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
254 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
255 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
256 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
259 %description -l it.UTF-8
260 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
261 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
262 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
263 finestre multiple, funzione "annulla" multilivello, evidenziazione dei
266 %description -l pl.UTF-8
267 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
268 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
269 folding i wiele innych.
271 %description -l pt.UTF-8
272 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
273 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
274 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
275 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
278 %description -l pt_BR.UTF-8
279 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
280 características do mundialmente famoso 'vi' que acompanha praticamente
281 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
282 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
283 outras características do 'vi'.
285 %description -l ru.UTF-8
286 VIsual editor iMproved - это обновленный и значительно улучшенный клон
287 редактора vi, который поставляется практически со всеми
288 UN*X-системами. В этой версии есть многоуровневый откат, выделение
289 блоков, синтаксическая подсветка и много другого...
291 %description -l sk.UTF-8
292 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
293 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
294 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
295 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
297 %description -l sv.UTF-8
298 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
299 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
300 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
301 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
304 %description -l tr.UTF-8
305 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
306 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
308 %description -l uk.UTF-8
309 VIsual editor iMproved - це оновлений та значно поліпшений клон
310 редактора vi, який поставляється практично зі всіма UN*X-системами. В
311 цій версії є багаторівневий відкат, виділення блоків, синтаксична
312 підсвітка та багато іншого...
315 Summary: Utility to convert files to hexdump or do the reverse
316 Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
317 Group: Applications/Editors/Vim
320 xxd creates a hex dump of a given file or standard input. It can also
321 convert a hex dump back to its original binary form. Like uuencode and
322 uudecode it allows the transmission of binary data in a `mail-safe'
323 ASCII representation, but has the advantage of decoding to standard
324 output. Moreover, it can be used to perform binary file patching.
326 %description -n xxd -l pl.UTF-8
327 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
328 Może także przekonwertować taki zapis na oryginalną, binarną postać.
329 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
330 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
331 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
334 Summary: Full featured build of Vim
335 Summary(hu.UTF-8): A Vim teljeskörű szolgáltatásait nyújtó verzió
336 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima
337 Group: Applications/Editors/Vim
338 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
341 Provides: vim-editor = %{epoch}:%{version}-%{release}
342 Obsoletes: vim-enhanced
343 Obsoletes: vim-ispell
344 Obsoletes: vim-plugin-multvals
347 This package provides full featured version of Vim, which includes
348 support for Perl, Python, Ruby and Tcl scripting.
350 %description heavy -l hu.UTF-8
351 Ez a csomag a Vim teljeskörű szolgáltatásait nyújtó verzióját
352 tartalmazza, amelyben benne van a Perl, Python, Ruby és Tcl támogatás.
354 %description heavy -l pl.UTF-8
355 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
356 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl.
359 Summary: Minimal build of Vim
360 Summary(pl.UTF-8): Minimalna wersja vima
361 Group: Applications/Editors/Vim
364 Provides: vim-editor = %{epoch}:%{version}-%{release}
367 This package provides light featured version of Vim.
369 %description light -l pl.UTF-8
370 Pakiet ten dostarcza minimalną wersję Vima.
373 Summary: Vi IMproved - a Vi clone
374 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
375 Group: X11/Applications/Editors
376 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
379 Provides: vim-editor = %{epoch}:%{version}-%{release}
380 Obsoletes: vim-enhanced
381 Obsoletes: vim-ispell
382 Obsoletes: vim-plugin-multvals
385 This package provides console version of Vim, with support for basic
386 X11 features like system clipboard.
388 %description -n vimx -l pl.UTF-8
389 Pakiet ten dostarcza konsolową wersję Vima, posiadającą wsparcie dla
390 podstawowych funckcji X11, takich jak systemowy schowek.
393 Summary: Statically linked Vim
394 Summary(hu.UTF-8): A Vim statikus verziója
395 Summary(pl.UTF-8): Statycznie skonsolidowany Vim
396 Group: Applications/Editors/Vim
399 Provides: vim-editor = %{epoch}:%{version}-%{release}
400 Obsoletes: elvis-static
402 Obsoletes: vim-minimal
405 Text editor similar to Vi. This version is built with minimal feature
406 and is installed in /bin as a rescue tool. The installation of this
407 package is STRONGLY recommended.
409 %description static -l hu.UTF-8
410 Vi-hez hasonló text editor. Ez a verzió a legminimálisabb
411 szolgáltatásokat nyújtja, és a /bin könyvtárba települ, mint egy mentő
412 eszköz. Ennek a csomagnak a telepítése ERŐSEN javallott.
414 %description static -l pl.UTF-8
415 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
416 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
417 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
418 zalecana, może on pomóc Ci uratować system w czasie awarii.
420 %description static -l ru.UTF-8
421 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
422 удобно для запуска даже когда смонтирована только корневая файловая
425 %description static -l uk.UTF-8
426 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
427 запуску навіть тоді, коли змонтована тільки корньова файлова система.
430 Summary: Vim runtime files
431 Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor VIM
432 Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren
433 Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
434 Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM
435 Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM
436 Summary(hu.UTF-8): A Vim futásidejű fájljai
437 Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM
438 Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
439 Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM
440 Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル
441 Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren
442 Summary(pl.UTF-8): Pliki przydatne dla edytora Vim
443 Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM
444 Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim
445 Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM
446 Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
447 Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
448 Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim
449 Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。
450 Group: Applications/Editors/Vim
451 Requires: rpm-whiteout >= 1.3
452 Requires: vim-plugin-securemodelines
453 Obsoletes: gvim-bonobo
454 Obsoletes: vim-common
455 Obsoletes: vim-syntax-docker < 1.10.1
456 Obsoletes: vim-syntax-gitcommit
457 Obsoletes: vim-syntax-golang <= 1.3.3-1
458 Obsoletes: vim-syntax-lxc-docker <= 0.9.0-1
459 Obsoletes: vim-syntax-upstart
463 This package contains macros, documentation, syntax configuration and
464 manual pages for Vim. If you want to take advantage of Vim more
465 powerful features, you should install this package.
467 %description rt -l cs.UTF-8
468 Tento balíček obsahuje společné soubory pro všechny další balíčky s
471 %description rt -l de.UTF-8
472 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
475 %description rt -l fr.UTF-8
476 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
477 VIM a besoin pour fonctionner.
479 %description rt -l hu.UTF-8
480 Ez a csomag makrókat, dokumentációt, nyelvi konfigurációt és kézikönyv
481 oldalakat tartalmaz Vim-hez. Ha ki akarod használni a Vim
482 lehetőségeit, érdemes telepítened ezt a csomagot.
484 %description rt -l id.UTF-8
485 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
488 %description rt -l is.UTF-8
489 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
492 %description rt -l it.UTF-8
493 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
494 per poter funzionare.
496 %description rt -l pl.UTF-8
497 W tym pakiecie znajdują się makra, pliki konfiguracyjne i strony
498 podręcznika dla edytora Vim. Aby korzystać z zaawansowanych możliwości
499 Vima, należy zainstalować ten pakiet.
501 %description rt -l pt.UTF-8
502 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
503 irão necessitar para correr.
505 %description rt -l ru.UTF-8
506 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
507 для работы любой программы vim.
509 %description rt -l sk.UTF-8
510 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
511 funkciu každá verzia editoru VIM.
513 %description rt -l sv.UTF-8
514 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
517 %description rt -l uk.UTF-8
518 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
519 для роботи будь-якої програми vim.
522 Summary: Vim runtime extra files
523 Summary(pl.UTF-8): Dodatkowe pliki uruchomieniowe Vima
524 Group: Applications/Editors/Vim
525 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
528 %description rt-extras
529 This package contains more runtime extra files, not really useful. If
530 you want to take full advantage of Vim more powerful features, you
531 should install this package.
533 %description rt-extras -l pl.UTF-8
534 Ten pakiet zawiera dodatkowe pliki uruchomieniowe, nie tak bardzo
535 przydatne. Aby korzystać ze wszystkich możliwości Vima, należy
536 zainstalować ten pakiet.
539 Summary: Context Vim documentation
540 Summary(pl.UTF-8): Dokumentacja kontekstowa do Vima
541 Group: Applications/Editors/Vim
542 Requires(post,postun): /usr/bin/vim
543 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
547 This package contains Vim documentation accessible from vim itself
550 %description doc -l pl.UTF-8
551 Ten pakiet zawiera dokumentację do Vima dostępną z poziomu samego vima
552 za pomocą polecenia :help.
555 Summary: English dictionaries for VIMspell
556 Summary(pl.UTF-8): Angielskie słowniki dla VIMspella
557 Group: Applications/Editors/Vim
558 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
561 %description spell-en
562 English dictionaries for VIMspell.
564 %description spell-en -l pl.UTF-8
565 Angielskie słowniki dla VIMspella.
568 Summary: Vim tutorial
569 Summary(hu.UTF-8): Vim tutorial
570 Summary(pl.UTF-8): Samouczek do Vima
571 Group: Applications/Editors/Vim
572 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
574 Requires: vim-editor = %{epoch}:%{version}-%{release}
578 This package contains Vim tutorial.
580 %description tutor -l hu.UTF-8
581 Ez a csomag a vimtutor-t tartalmazza, amely egy gyakorlat-orientált
584 %description tutor -l pl.UTF-8
585 Ten pakiet zawiera samouczek do Vima.
587 %package -n gvim-athena
588 Summary: Vim for X Window built with Athena
589 Summary(hu.UTF-8): A Vim X Window verziója, az Athena felhasználásával
590 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena
591 Group: Applications/Editors/Vim
592 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
596 Provides: vim-editor = %{epoch}:%{version}-%{release}
599 %description -n gvim-athena
600 The classic Unix text editor now also under X Window System! This
601 version is built with Athena Widget Set.
603 %description -n gvim-athena -l hu.UTF-8
604 A Vim X Window verziója, az Athena Widgetkészlet felhasználásával.
606 %description -n gvim-athena -l pl.UTF-8
607 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
608 biblioteki Athena Widget Set.
610 %description -n gvim-athena -l ru.UTF-8
611 Этот пакет представляет собой версию VIM, собранную с библиотеками
612 Athena Widget Set, что позволяет запускать VIM как приложение X Window
613 System - с полностью графическим интерфейсом и поддержкой мыши.
615 %description -n gvim-athena -l uk.UTF-8
616 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
617 Set, що дозволяє запускати VIM як прикладну програму X Window System -
618 з повністю графічним інтерфейсом та підтримкою миші.
620 %package -n gvim-motif
621 Summary: Vim for X Window System built with Motif
622 Summary(hu.UTF-8): A Vim X Window verziója, a Motif felhasználásával
623 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki Motif
624 Group: Applications/Editors/Vim
625 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
629 Provides: vim-editor = %{epoch}:%{version}-%{release}
632 %description -n gvim-motif
633 The classic Unix text editor now also under X Window System! This
634 version is built with Motif.
636 %description -n gvim-motif -l hu.UTF-8
637 A Vim X Window verziója, a Motif Widgetkészlet felhasználásával.
639 %description -n gvim-motif -l pl.UTF-8
640 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
643 %description -n gvim-motif -l ru.UTF-8
644 Этот пакет представляет собой версию VIM, собранную с библиотеками
645 Motif, что позволяет запускать VIM как приложение X Window System - с
646 полностью графическим интерфейсом и поддержкой мыши.
648 %description -n gvim-motif -l uk.UTF-8
649 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
650 дозволяє запускати VIM як прикладну програму X Window System - з
651 повністю графічним інтерфейсом та підтримкою миші.
654 Summary: Vim for X Window System built with GTK+
655 Summary(hu.UTF-8): A Vim X Window verziója, a GTK+ felhasználásával
656 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GTK+
657 Group: Applications/Editors/Vim
658 Requires(post,postun): gtk-update-icon-cache
659 Requires(post,postun): hicolor-icon-theme
660 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
661 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
665 Provides: vim-editor = %{epoch}:%{version}-%{release}
668 %description -n gvim-gtk
669 The classic Unix text editor now also under X Window System! This
670 version is built with GTK+.
672 %description -n gvim-gtk -l hu.UTF-8
673 A Vim X Window verziója, a GTK+ Widgetkészlet felhasználásával.
675 %description -n gvim-gtk -l pl.UTF-8
676 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
679 %description -n gvim-gtk -l ru.UTF-8
680 Этот пакет представляет собой версию VIM, собранную с библиотеками
681 GTK, что позволяет запускать VIM как приложение X Window System - с
682 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
685 %description -n gvim-gtk -l uk.UTF-8
686 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
687 запускати VIM як прикладну програму X Window System - з повністю
688 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
690 %package -n gvim-gnome
691 Summary: Vim for X Window System built with GNOME
692 Summary(hu.UTF-8): A Vim X Window verziója, a GNOME felhasználásával
693 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GNOME
694 Group: Applications/Editors/Vim
695 Requires(post,postun): gtk-update-icon-cache
696 Requires(post,postun): hicolor-icon-theme
697 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
698 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
702 Provides: vim-editor = %{epoch}:%{version}-%{release}
705 %description -n gvim-gnome
706 The classic Unix text editor now also under X Window System! This
707 version is build with GNOME.
709 %description -n gvim-gnome -l hu.UTF-8
710 A Vim X Window verziója, a GNOME felhasználásával.
712 %description -n gvim-gnome -l pl.UTF-8
713 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
716 %description -n gvim-gnome -l ru.UTF-8
717 Этот пакет представляет собой версию VIM, собранную с библиотеками
718 GNOME, что позволяет запускать VIM как приложение X Window System - с
719 полностью графическим интерфейсом и поддержкой мыши.
721 %description -n gvim-gnome -l uk.UTF-8
722 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
723 дозволяє запускати VIM як прикладну програму X Window System - з
724 повністю графічним інтерфейсом та підтримкою миші.
726 %package -n gvim-heavy
727 Summary: Full featured build of Vim with X Window support
728 Summary(hu.UTF-8): A gvim legteljesebb verziója
729 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima z interfejsem dla X Window
730 Group: Applications/Editors/Vim
731 Requires(post,postun): gtk-update-icon-cache
732 Requires(post,postun): hicolor-icon-theme
733 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
734 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
738 Provides: vim-editor = %{epoch}:%{version}-%{release}
741 %description -n gvim-heavy
742 This package provides full featured version of Vim, which includes
743 support for Perl, Python, Ruby and Tcl scripting, as well as GTK+2
746 %description -n gvim-heavy -l hu.UTF-8
747 A gvim legteljesebb verziója, Perl, Python, Ruby és Tcl támogatással.
749 %description -n gvim-heavy -l pl.UTF-8
750 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
751 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl
752 jak również GUI GTK+2.
757 cp -p runtime/gvim.desktop gvim-athena.desktop
758 cp -p runtime/gvim.desktop gvim-gnome.desktop
759 cp -p runtime/gvim.desktop gvim-gtk.desktop
760 cp -p runtime/gvim.desktop gvim-motif.desktop
786 %{?with_home_etc:%patch26 -p1}
788 # autopaste patch - automatically switch to paste mode
789 # when `really fast typing' situation happens
805 cp -p %{SOURCE20} runtime/syntax
806 cp -p %{SOURCE22} runtime/syntax
807 cp -p %{SOURCE30} runtime/colors
808 cp -p %{SOURCE31} runtime/colors
809 cp -p %{SOURCE32} runtime/colors
811 %{__unzip} -qd runtime/doc %{SOURCE2}
813 # not info files but some binary files for Amiga:
814 # Amiga Workbench drawer icon
815 # Amiga Workbench project icon
816 # Amiga Workbench tool icon
817 find -name '*.info' | xargs rm -v
822 # needed to prevent deconfiguring
832 %if "%{pld_release}" == "ac"
833 --with-tlib="ncurses -ltinfo"
835 --with-tlib="ncursesw"
838 %{__make} -j1 distclean
839 # add common options, can override (disable) if needed with args
841 --%{!?with_lua:dis}%{?with_lua:en}able-luainterp \
842 --%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
843 --%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
844 --%{!?with_python3:dis}%{?with_python3:en}able-python3interp \
845 --%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
846 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
847 %{!?with_selinux:--disable-selinux} \
852 %if "%{pld_release}" == "ac"
853 --with-tlib="ncurses -ltinfo" \
855 --with-tlib="ncursesw" \
857 --with-modified-by="PLD Linux Distribution" \
858 --with-compiledby="PLD Linux Distribution" \
862 mv -f vim bin/$target
866 LDFLAGS="%{rpmldflags} -static"
870 --with-features=small \
872 --disable-luainterp \
873 --disable-perlinterp \
874 --disable-pythoninterp \
875 --disable-rubyinterp \
876 --disable-tclinterp \
882 LDFLAGS="%{rpmldflags}"
889 --with-features=small \
891 --disable-luainterp \
892 --disable-perlinterp \
893 --disable-pythoninterp \
894 --disable-rubyinterp \
895 --disable-tclinterp \
903 %{__with_without x} \
917 --with-features=huge \
918 --enable-gui=athena \
929 --with-features=huge \
942 --with-features=huge \
945 --enable-gtk3-check \
948 --enable-gtk2-check \
958 --with-features=huge \
959 --enable-gui=gnome2 \
960 --enable-gtk2-check \
961 --enable-gnome-check \
967 # vim.heavy / gvim.heavy
970 --with-features=huge \
974 --enable-perlinterp \
975 --enable-pythoninterp \
976 --enable-python3interp \
977 --enable-rubyinterp \
983 --with-features=huge \
984 --enable-gui=gnome2 \
985 --enable-gtk2-check \
986 --enable-gnome-check \
989 --enable-perlinterp \
990 --enable-pythoninterp \
991 --enable-python3interp \
992 --enable-rubyinterp \
997 %{__make} xxd/xxd languages
1000 rm -rf $RPM_BUILD_ROOT
1002 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1003 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim/ftdetect} \
1004 $RPM_BUILD_ROOT%{_desktopdir}
1006 %{__make} -j1 install \
1007 DESTDIR=$RPM_BUILD_ROOT
1009 # generic gvim from upstream, but we have bunch of subpackages
1010 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/gvim.desktop
1013 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}
1014 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}.utf-8
1015 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.latin1.vim
1016 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.utf-8.vim
1017 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.latin1.vim
1018 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.utf-8.vim
1020 # remove unsupported locales
1021 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ko.UTF-8
1022 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
1023 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.UTF-8
1024 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_TW.UTF-8
1025 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
1026 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
1027 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
1028 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
1029 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
1030 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
1031 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
1032 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
1033 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
1034 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_zh_{cn,tw}.utf-8.vim
1038 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*
1041 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
1042 install -p src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
1044 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
1045 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
1048 install -p src/bin/vimx $RPM_BUILD_ROOT%{_bindir}/vimx
1050 install -p src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
1051 install -p src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
1053 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1054 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1056 # not supported directories
1057 %{__rm} -r $RPM_BUILD_ROOT%{_mandir}/??.*/
1059 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/vimrc_example.vim,%{_sysconfdir}/vim/vimrc}
1060 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/gvimrc_example.vim,%{_sysconfdir}/vim/gvimrc}
1062 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1063 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
1064 ln -sf vi $RPM_BUILD_ROOT/bin/ex
1065 ln -sf vi $RPM_BUILD_ROOT/bin/view
1066 ln -sf vi $RPM_BUILD_ROOT/bin/rview
1069 install -p src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1070 cp -p gvim-athena.desktop $RPM_BUILD_ROOT%{_desktopdir}
1073 install -p src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1074 cp -p gvim-motif.desktop $RPM_BUILD_ROOT%{_desktopdir}
1077 install -p src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1078 cp -p gvim-gnome.desktop $RPM_BUILD_ROOT%{_desktopdir}
1081 install -p src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1082 cp -p gvim-gtk.desktop $RPM_BUILD_ROOT%{_desktopdir}
1083 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
1084 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/eview
1085 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/evim
1086 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
1087 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
1088 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
1089 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
1092 install -p src/bin/vim.heavy $RPM_BUILD_ROOT%{_bindir}
1093 install -p src/bin/gvim.heavy $RPM_BUILD_ROOT%{_bindir}
1096 install -p src/bin/vim.light $RPM_BUILD_ROOT%{_bindir}
1099 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
1100 mv $RPM_BUILD_ROOT{%{_iconsdir}/hicolor/48x48/apps,%{_pixmapsdir}}/gvim.png
1102 # locolor scheme no longer supported
1103 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/locolor
1105 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1107 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1108 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1111 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/{ftplugin,syntax}/spec.vim
1114 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/tools
1115 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/bugreport.vim
1116 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/check_locales.vim
1117 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/cleanadd.vim
1118 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/fixdup.vim
1119 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/doc/vim2html.pl
1122 rm -rf $RPM_BUILD_ROOT
1125 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1128 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1136 %post -n gvim-athena
1137 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1139 %postun -n gvim-athena
1140 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1143 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1145 %postun -n gvim-motif
1146 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1149 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1150 %update_icon_cache hicolor
1153 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1154 %update_icon_cache hicolor
1157 %update_desktop_database_post
1158 %update_icon_cache hicolor
1160 %postun -n gvim-gnome
1161 %update_desktop_database_postun
1162 %update_icon_cache hicolor
1165 %update_icon_cache hicolor
1167 %postun -n gvim-heavy
1168 %update_icon_cache hicolor
1171 %defattr(644,root,root,755)
1172 %attr(755,root,root) %{_bindir}/rvim
1173 %attr(755,root,root) %{_bindir}/vim
1174 %attr(755,root,root) %{_bindir}/vimdiff
1175 %{_mandir}/man1/rvim.1*
1176 %{_mandir}/man1/vimdiff.1*
1177 %lang(da) %{_mandir}/da/man1/rvim.1*
1178 %lang(da) %{_mandir}/da/man1/vimdiff.1*
1179 %lang(de) %{_mandir}/de/man1/rvim.1*
1180 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1181 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1182 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1183 %lang(id) %{_mandir}/id/man1/rvim.1*
1184 %lang(it) %{_mandir}/it/man1/rvim.1*
1185 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1186 %lang(ja) %{_mandir}/ja/man1/rvim.1*
1187 %lang(ja) %{_mandir}/ja/man1/vimdiff.1*
1188 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1189 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1190 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1191 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1192 %lang(tr) %{_mandir}/tr/man1/rvim.1*
1193 %lang(tr) %{_mandir}/tr/man1/vimdiff.1*
1194 %{_desktopdir}/vim.desktop
1199 %defattr(644,root,root,755)
1200 %attr(755,root,root) /bin/ex
1201 %attr(755,root,root) /bin/rview
1202 %attr(755,root,root) /bin/vi
1203 %attr(755,root,root) /bin/view
1204 %{_mandir}/man1/vi.1*
1205 %{_mandir}/man1/ex.1*
1206 %{_mandir}/man1/view.1*
1207 %{_mandir}/man1/rview.1*
1208 %lang(da) %{_mandir}/da/man1/ex.1*
1209 %lang(da) %{_mandir}/da/man1/rview.1*
1210 %lang(da) %{_mandir}/da/man1/view.1*
1211 %lang(de) %{_mandir}/de/man1/ex.1*
1212 %lang(de) %{_mandir}/de/man1/rview.1*
1213 %lang(de) %{_mandir}/de/man1/view.1*
1214 %lang(fi) %{_mandir}/fi/man1/vi.1*
1215 %lang(fi) %{_mandir}/fi/man1/ex.1*
1216 %lang(fi) %{_mandir}/fi/man1/view.1*
1217 %lang(fi) %{_mandir}/fi/man1/rview.1*
1218 %lang(fr) %{_mandir}/fr/man1/vi.1*
1219 %lang(fr) %{_mandir}/fr/man1/ex.1*
1220 %lang(fr) %{_mandir}/fr/man1/view.1*
1221 %lang(fr) %{_mandir}/fr/man1/rview.1*
1222 %lang(id) %{_mandir}/id/man1/vi.1*
1223 %lang(id) %{_mandir}/id/man1/ex.1*
1224 %lang(id) %{_mandir}/id/man1/view.1*
1225 %lang(id) %{_mandir}/id/man1/rview.1*
1226 #%lang(it) %{_mandir}/it/man1/vi.1*
1227 %lang(it) %{_mandir}/it/man1/ex.1*
1228 %lang(it) %{_mandir}/it/man1/view.1*
1229 %lang(it) %{_mandir}/it/man1/rview.1*
1230 %lang(ja) %{_mandir}/ja/man1/ex.1*
1231 %lang(ja) %{_mandir}/ja/man1/view.1*
1232 %lang(ja) %{_mandir}/ja/man1/rview.1*
1233 %lang(pl) %{_mandir}/pl/man1/vi.1*
1234 %lang(pl) %{_mandir}/pl/man1/ex.1*
1235 %lang(pl) %{_mandir}/pl/man1/view.1*
1236 %lang(pl) %{_mandir}/pl/man1/rview.1*
1237 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1238 %lang(ru) %{_mandir}/ru/man1/ex.1*
1239 %lang(ru) %{_mandir}/ru/man1/view.1*
1240 %lang(ru) %{_mandir}/ru/man1/rview.1*
1241 %lang(tr) %{_mandir}/tr/man1/ex.1*
1242 %lang(tr) %{_mandir}/tr/man1/view.1*
1243 %lang(tr) %{_mandir}/tr/man1/rview.1*
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_bindir}/xxd
1248 %{_mandir}/man1/xxd.1*
1249 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1250 %lang(it) %{_mandir}/it/man1/xxd.1*
1251 %lang(ja) %{_mandir}/ja/man1/xxd.1*
1252 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1253 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1255 %files rt -f %{name}.lang
1256 %defattr(644,root,root,755)
1257 %dir %{_sysconfdir}/vim
1258 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1259 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1261 %dir %{_datadir}/vim
1262 %dir %{_datadir}/vim/doc
1263 %verify(not md5 mtime size) %{_datadir}/vim/doc/tags
1264 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
1265 %verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
1266 # X11 colours definition for colour name lookup
1267 %{_datadir}/vim/rgb.txt
1269 %dir %{_datadir}/vim/vimfiles
1270 %dir %{_datadir}/vim/vimfiles/doc
1271 %dir %{_datadir}/vim/vimfiles/after
1272 %dir %{_datadir}/vim/vimfiles/after/compiler
1273 %dir %{_datadir}/vim/vimfiles/after/ftdetect
1274 %dir %{_datadir}/vim/vimfiles/after/ftplugin
1275 %dir %{_datadir}/vim/vimfiles/after/indent
1276 %dir %{_datadir}/vim/vimfiles/after/plugin
1277 %dir %{_datadir}/vim/vimfiles/after/spell
1278 %dir %{_datadir}/vim/vimfiles/after/syntax
1279 %dir %{_datadir}/vim/vimfiles/compiler
1280 %dir %{_datadir}/vim/vimfiles/ftdetect
1281 %dir %{_datadir}/vim/vimfiles/ftplugin
1282 %dir %{_datadir}/vim/vimfiles/indent
1283 %dir %{_datadir}/vim/vimfiles/plugin
1284 %dir %{_datadir}/vim/vimfiles/spell
1285 %dir %{_datadir}/vim/vimfiles/syntax
1287 %{_datadir}/vim/*.vim
1289 %dir %{_datadir}/vim/autoload
1290 %{_datadir}/vim/autoload/*complete.vim
1291 %doc %{_datadir}/vim/autoload/README.txt
1292 %dir %{_datadir}/vim/autoload/dist
1293 %{_datadir}/vim/autoload/dist/ft.vim
1295 %dir %{_datadir}/vim/ftdetect
1297 %dir %{_datadir}/vim/ftplugin
1298 %doc %{_datadir}/vim/ftplugin/README.txt
1299 %{_datadir}/vim/ftplugin/*.vim
1300 %{_datadir}/vim/ftplugin/logtalk.dict
1302 %dir %{_datadir}/vim/indent
1303 %doc %{_datadir}/vim/indent/README.txt
1304 %{_datadir}/vim/indent/*.vim
1306 %dir %{_datadir}/vim/keymap
1307 %doc %{_datadir}/vim/keymap/README.txt
1308 %{_datadir}/vim/keymap/*.vim
1310 %{_datadir}/vim/pack
1312 %dir %{_datadir}/vim/plugin
1313 %doc %{_datadir}/vim/plugin/README.txt
1315 %dir %{_datadir}/vim/syntax
1316 %doc %{_datadir}/vim/syntax/README.txt
1317 %{_datadir}/vim/syntax/*.vim
1319 %dir %{_datadir}/vim/colors
1320 %doc %{_datadir}/vim/colors/README.txt
1321 %{_datadir}/vim/colors/*.vim
1322 %dir %{_datadir}/vim/colors/tools
1323 %{_datadir}/vim/colors/tools/check_colors.vim
1325 %dir %{_datadir}/vim/lang
1326 %doc %{_datadir}/vim/lang/README*
1328 %lang(af) %{_datadir}/vim/lang/menu_af*
1329 %lang(ca) %{_datadir}/vim/lang/menu_ca*
1330 %lang(cs) %{_datadir}/vim/lang/menu_cs*
1331 %lang(cs) %{_datadir}/vim/lang/menu_*czech*
1332 %lang(da) %{_datadir}/vim/lang/menu_da*
1333 %lang(de) %{_datadir}/vim/lang/menu_de*
1334 %lang(de) %{_datadir}/vim/lang/menu_*german*
1335 %lang(en_GB) %{_datadir}/vim/lang/menu_en_gb*
1336 %lang(en_GB) %{_datadir}/vim/lang/menu_*english*
1337 %lang(eo) %{_datadir}/vim/lang/menu_eo.utf-8.vim
1338 %lang(eo) %{_datadir}/vim/lang/menu_eo_eo.utf-8.vim
1339 %lang(eo) %{_datadir}/vim/lang/menu_eo_xx.utf-8.vim
1340 %lang(es) %{_datadir}/vim/lang/menu_es*
1341 %lang(es) %{_datadir}/vim/lang/menu_*spanish*
1342 %lang(fi) %{_datadir}/vim/lang/menu_fi.latin1.vim
1343 %lang(fi) %{_datadir}/vim/lang/menu_fi.utf-8.vim
1344 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.latin1.vim
1345 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.utf-8.vim
1346 %lang(fi) %{_datadir}/vim/lang/menu_finnish_finland.1252.vim
1347 %lang(fr) %{_datadir}/vim/lang/menu_fr*
1348 %lang(hu) %{_datadir}/vim/lang/menu_hu*
1349 %lang(is) %{_datadir}/vim/lang/menu_is*
1350 %lang(it) %{_datadir}/vim/lang/menu_it*
1351 %lang(ja) %{_datadir}/vim/lang/menu_ja*
1352 %lang(ko) %{_datadir}/vim/lang/menu_ko*
1353 %lang(nl) %{_datadir}/vim/lang/menu_nl*
1354 %lang(nb) %{_datadir}/vim/lang/menu_nb*
1355 %lang(pl) %{_datadir}/vim/lang/menu_pl*
1356 %lang(pl) %{_datadir}/vim/lang/menu_*polish*
1357 %lang(pt) %{_datadir}/vim/lang/menu_pt*
1358 %lang(ru) %{_datadir}/vim/lang/menu_ru*
1359 %lang(sk) %{_datadir}/vim/lang/menu_sk*
1360 %lang(sk) %{_datadir}/vim/lang/menu_*slovak*
1361 %lang(sl) %{_datadir}/vim/lang/menu_sl_si*
1362 %lang(sr) %{_datadir}/vim/lang/menu_sr*
1363 %lang(sv) %{_datadir}/vim/lang/menu_sv*
1364 %lang(tr) %{_datadir}/vim/lang/menu_tr*
1365 %lang(uk) %{_datadir}/vim/lang/menu_uk*
1366 %lang(vi) %{_datadir}/vim/lang/menu_vi*
1367 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.cp936*
1368 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.gb2312*
1369 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh_cn*
1370 %lang(zh_CN) %{_datadir}/vim/lang/menu_*chinese*gb*
1371 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.cp950*
1372 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.big5*
1373 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh_tw*
1374 %lang(zh_TW) %{_datadir}/vim/lang/menu_*taiwan*
1376 %dir %{_datadir}/vim/spell
1377 %{_datadir}/vim/spell/spell.vim
1378 %lang(he) %{_datadir}/vim/spell/he.*
1379 %lang(yi) %{_datadir}/vim/spell/yi.*
1381 %{_mandir}/man1/vim.1*
1382 %lang(da) %{_mandir}/da/man1/vim.1*
1383 %lang(de) %{_mandir}/de/man1/vim.1*
1384 %lang(fi) %{_mandir}/fi/man1/vim.1*
1385 %lang(fr) %{_mandir}/fr/man1/vim.1*
1386 %lang(id) %{_mandir}/id/man1/vim.1*
1387 %lang(it) %{_mandir}/it/man1/vim.1*
1388 %lang(ja) %{_mandir}/ja/man1/vim.1*
1389 %lang(pl) %{_mandir}/pl/man1/vim.1*
1390 %lang(ru) %{_mandir}/ru/man1/vim.1*
1391 %lang(tr) %{_mandir}/tr/man1/vim.1*
1392 %{_pixmapsdir}/gvim.png
1394 # plugins in base -rt package
1395 %{_datadir}/vim/autoload/gzip.vim
1396 %{_datadir}/vim/plugin/gzip.vim
1397 %{_datadir}/vim/plugin/matchparen.vim
1400 %defattr(644,root,root,755)
1401 %{_datadir}/vim/plugin/*.vim
1402 %{_datadir}/vim/autoload/*.vim
1403 %exclude %{_datadir}/vim/autoload/*complete.vim
1404 %{_datadir}/vim/autoload/xml
1405 %{_datadir}/vim/compiler
1406 %{_datadir}/vim/macros
1407 %{_datadir}/vim/print
1409 # plugins in base -rt package
1410 %exclude %{_datadir}/vim/autoload/gzip.vim
1411 %exclude %{_datadir}/vim/plugin/gzip.vim
1412 %exclude %{_datadir}/vim/plugin/matchparen.vim
1415 %defattr(644,root,root,755)
1417 %{_datadir}/vim/doc/*.txt
1420 %lang(pl) %{_datadir}/vim/doc/*.plx
1423 %defattr(644,root,root,755)
1424 %attr(755,root,root) %{_bindir}/vimtutor
1425 %dir %{_datadir}/vim/tutor
1426 %{_datadir}/vim/tutor/tutor
1428 %{_datadir}/vim/tutor/README.txt
1429 %{_datadir}/vim/tutor/tutor.vim
1430 %{_datadir}/vim/tutor/tutor.utf-8
1431 %lang(el) %{_datadir}/vim/tutor/README.el.cp737.txt
1432 %lang(el) %{_datadir}/vim/tutor/README.el.txt
1434 %lang(de) %{_datadir}/vim/tutor/tutor.bar
1435 %lang(de) %{_datadir}/vim/tutor/tutor.bar.utf-8
1436 %lang(bg) %{_datadir}/vim/tutor/tutor.bg.utf-8
1437 %lang(ca) %{_datadir}/vim/tutor/tutor.ca
1438 %lang(ca) %{_datadir}/vim/tutor/tutor.ca.utf-8
1439 %lang(cs) %{_datadir}/vim/tutor/tutor.cs
1440 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.cp1250
1441 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.utf-8
1442 %lang(da) %{_datadir}/vim/tutor/tutor.da
1443 %lang(da) %{_datadir}/vim/tutor/tutor.da.utf-8
1444 %lang(de) %{_datadir}/vim/tutor/tutor.de
1445 %lang(de) %{_datadir}/vim/tutor/tutor.de.utf-8
1446 %lang(el) %{_datadir}/vim/tutor/tutor.el
1447 %lang(el) %{_datadir}/vim/tutor/tutor.el.cp737
1448 %lang(el) %{_datadir}/vim/tutor/tutor.el.utf-8
1449 %lang(eo) %{_datadir}/vim/tutor/tutor.eo
1450 %lang(eo) %{_datadir}/vim/tutor/tutor.eo.utf-8
1451 %lang(es) %{_datadir}/vim/tutor/tutor.es
1452 %lang(es) %{_datadir}/vim/tutor/tutor.es.utf-8
1453 %lang(fr) %{_datadir}/vim/tutor/tutor.fr
1454 %lang(fr) %{_datadir}/vim/tutor/tutor.fr.utf-8
1455 %lang(hr) %{_datadir}/vim/tutor/tutor.hr
1456 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.cp1250
1457 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.utf-8
1458 %lang(hu) %{_datadir}/vim/tutor/tutor.hu
1459 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.cp1250
1460 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.utf-8
1461 %lang(it) %{_datadir}/vim/tutor/tutor.it
1462 %lang(it) %{_datadir}/vim/tutor/tutor.it.utf-8
1463 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.euc
1464 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.sjis
1465 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8
1466 %lang(ko) %{_datadir}/vim/tutor/tutor.ko
1467 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc
1468 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8
1469 %lang(lv) %{_datadir}/vim/tutor/tutor.lv.utf-8
1470 %lang(nl) %{_datadir}/vim/tutor/tutor.nl
1471 %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8
1472 %lang(nb) %{_datadir}/vim/tutor/tutor.nb
1473 %lang(nb) %{_datadir}/vim/tutor/tutor.nb.utf-8
1474 %lang(pl) %{_datadir}/vim/tutor/tutor.pl
1475 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.cp1250
1476 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.utf-8
1477 %lang(pt) %{_datadir}/vim/tutor/tutor.pt
1478 %lang(pt) %{_datadir}/vim/tutor/tutor.pt.utf-8
1479 %lang(ru) %{_datadir}/vim/tutor/tutor.ru
1480 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.cp1251
1481 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.utf-8
1482 %lang(sk) %{_datadir}/vim/tutor/tutor.sk
1483 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.cp1250
1484 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.utf-8
1485 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.cp1250
1486 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.utf-8
1487 %lang(sv) %{_datadir}/vim/tutor/tutor.sv
1488 %lang(sv) %{_datadir}/vim/tutor/tutor.sv.utf-8
1489 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.iso9
1490 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.utf-8
1491 %lang(uk) %{_datadir}/vim/tutor/tutor.uk.utf-8
1492 %lang(vi) %{_datadir}/vim/tutor/tutor.vi.utf-8
1493 %lang(zh_CN) %{_datadir}/vim/tutor/tutor.zh_cn.utf-8
1494 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.big5
1495 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.euc
1496 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.utf-8
1497 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh_tw.utf-8
1499 %{_mandir}/man1/vimtutor.1*
1500 %lang(da) %{_mandir}/da/man1/vimtutor.1*
1501 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1502 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1503 %lang(ja) %{_mandir}/ja/man1/vimtutor.1*
1504 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1505 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1506 %lang(tr) %{_mandir}/tr/man1/vimtutor.1*
1510 %defattr(644,root,root,755)
1511 %attr(755,root,root) %{_bindir}/vimx
1516 %defattr(644,root,root,755)
1517 %attr(755,root,root) %{_bindir}/vim.heavy
1522 %defattr(644,root,root,755)
1523 %attr(755,root,root) %{_bindir}/vim.light
1527 %defattr(644,root,root,755)
1528 %{_datadir}/vim/spell/en.*.*
1531 %files -n gvim-athena
1532 %defattr(644,root,root,755)
1533 %attr(755,root,root) %{_bindir}/gvim.athena
1534 %{_desktopdir}/gvim-athena.desktop
1538 %files -n gvim-motif
1539 %defattr(644,root,root,755)
1540 %attr(755,root,root) %{_bindir}/gvim.motif
1541 %{_desktopdir}/gvim-motif.desktop
1546 %defattr(644,root,root,755)
1547 %attr(755,root,root) %{_bindir}/gvim.gtk
1548 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1549 %attr(755,root,root) %{_bindir}/eview
1550 %attr(755,root,root) %{_bindir}/evim
1551 %attr(755,root,root) %{_bindir}/gview
1552 %attr(755,root,root) %{_bindir}/gvimdiff
1553 %attr(755,root,root) %{_bindir}/rgview
1554 %attr(755,root,root) %{_bindir}/rgvim
1555 %{_mandir}/man1/eview.1*
1556 %{_mandir}/man1/evim.1*
1557 %{_mandir}/man1/gview.1*
1558 %{_mandir}/man1/gvim.1*
1559 %{_mandir}/man1/gvimdiff.1*
1560 %{_mandir}/man1/rgview.1*
1561 %{_mandir}/man1/rgvim.1*
1562 %lang(da) %{_mandir}/da/man1/gvi*.1*
1563 %lang(da) %{_mandir}/da/man1/rgv*.1*
1564 %lang(de) %{_mandir}/de/man1/gvi*.1*
1565 %lang(de) %{_mandir}/de/man1/rgv*.1*
1566 %lang(fi) %{_mandir}/fi/man1/gvi*.1*
1567 %lang(fi) %{_mandir}/fi/man1/rgv*.1*
1568 %lang(fr) %{_mandir}/fr/man1/eview.1*
1569 %lang(fr) %{_mandir}/fr/man1/evim.1*
1570 %lang(fr) %{_mandir}/fr/man1/gvi*.1*
1571 %lang(fr) %{_mandir}/fr/man1/rgv*.1*
1572 %lang(id) %{_mandir}/id/man1/gvi*.1*
1573 %lang(id) %{_mandir}/id/man1/rgv*.1*
1574 %lang(it) %{_mandir}/it/man1/eview.1*
1575 %lang(it) %{_mandir}/it/man1/evim.1*
1576 %lang(it) %{_mandir}/it/man1/gvi*.1*
1577 %lang(it) %{_mandir}/it/man1/rgv*.1*
1578 %lang(ja) %{_mandir}/ja/man1/eview.1*
1579 %lang(ja) %{_mandir}/ja/man1/evim.1*
1580 %lang(ja) %{_mandir}/ja/man1/gvi*.1*
1581 %lang(ja) %{_mandir}/ja/man1/rgv*.1*
1582 %lang(pl) %{_mandir}/pl/man1/eview.1*
1583 %lang(pl) %{_mandir}/pl/man1/evim.1*
1584 %lang(pl) %{_mandir}/pl/man1/gvi*.1*
1585 %lang(pl) %{_mandir}/pl/man1/rgv*.1*
1586 %lang(ru) %{_mandir}/ru/man1/eview.1*
1587 %lang(ru) %{_mandir}/ru/man1/evim.1*
1588 %lang(ru) %{_mandir}/ru/man1/gvi*.1*
1589 %lang(ru) %{_mandir}/ru/man1/rgv*.1*
1590 %lang(tr) %{_mandir}/tr/man1/eview.1*
1591 %lang(tr) %{_mandir}/tr/man1/evim.1*
1592 %lang(tr) %{_mandir}/tr/man1/gvi*.1*
1593 %lang(tr) %{_mandir}/tr/man1/rgv*.1*
1594 %{_desktopdir}/gvim-gtk.desktop
1598 %files -n gvim-gnome
1599 %defattr(644,root,root,755)
1600 %attr(755,root,root) %{_bindir}/gvim.gnome
1601 %{_desktopdir}/gvim-gnome.desktop
1605 %files -n gvim-heavy
1606 %defattr(644,root,root,755)
1607 %attr(755,root,root) %{_bindir}/gvim.heavy