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