]> git.pld-linux.org Git - packages/vim.git/blame - vim.spec
- release 2 (rel 1 for ac)
[packages/vim.git] / vim.spec
CommitLineData
9bc905eb 1# TODO:
c931d32b 2# - create vim-full (better name, anybody?) or/and other packages
3# for scripting languages support
7232505e
ER
4# - warning: Installed (but unpackaged) file(s) found:
5# /usr/bin/gview
6facb60f
JB
6#
7# Conditional build:
ec23c5c9
JB
8%bcond_without static # don't build static version
9%bcond_without athena # don't build Athena Widgets-based gvim
10%bcond_without motif # don't build Motif-based gvim
e746f321 11%bcond_without gtk # don't build GTK+-based gvim support
12%bcond_without gnome # don't build GNOME-based gvim support
237877cd 13%bcond_with perl # with Perl interp
c931d32b 14%bcond_with python # with Python interp
15%bcond_with ruby # with Ruby interp
16%bcond_with tcl # with Tcl interp
ec23c5c9 17%bcond_without selinux # without selinux support
ec23c5c9 18%bcond_without home_etc # without home_etc support
7ba74caf 19#
27be4eca 20%define ver 7.1
f122816b 21%define patchlevel 278
80b161c5 22
fc7b36fc
ER
23# cflags get changed while configuring
24%undefine configure_cache
25#
84c81dea 26Summary: Vi IMproved - a Vi clone
1a02d184
ER
27Summary(de.UTF-8): VIsual editor iMproved
28Summary(es.UTF-8): Editor visual incrementado
29Summary(fr.UTF-8): Editeur VIM : VIsual editor iMproved
30Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
31Summary(pt_BR.UTF-8): Editor visual incrementado
32Summary(ru.UTF-8): Visual editor IMproved - Единственно Правильный Редактор :)
33Summary(tr.UTF-8): Gelişmiş bir vi sürümü
34Summary(uk.UTF-8): Visual editor IMproved - Єдино Вірний Редактор :)
86c64819 35Name: vim
27be4eca 36Version: %{ver}.%{patchlevel}
0d4dde83 37Release: 2
2f66771d 38Epoch: 4
f73b565e 39License: Charityware
8627c94f 40Group: Applications/Editors/Vim
27be4eca 41Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
95142873 42# Source0-md5: 44c6b4914f38d6f9aa959640b89da329
27be4eca 43Source1: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{ver}-lang.tar.gz
95142873 44# Source1-md5: 144aa049ba70621acf4247f0459f3ee7
27be4eca 45Source2: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{ver}-extra.tar.gz
95142873 46# Source2-md5: 605cc7ae31bcc9d7864bb0bb6025f55d
41f33985
AM
47Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
48# Source3-md5: bc4d1e115ca506ad7751b9bd2b773a7f
49Source4: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
50# Source4-md5: ff96284b1c913d55cf0877839b34d490
59e47b54
AF
51Source10: g%{name}-athena.desktop
52Source11: g%{name}-motif.desktop
53Source12: g%{name}-gtk.desktop
54Source13: g%{name}-gnome.desktop
0f99c50f 55Source14: %{name}.desktop
2215010b 56# http://www.vim.org/scripts/script.php?script_id=415 (1.15)
19d8e711 57Source15: zenburn.%{name}
2215010b 58# http://www.vim.org/scripts/script.php?script_id=1491 (0.7.3)
19d8e711 59Source17: javascript.%{name}
aaf60aad 60Source18: nagios.%{name}
db58c86e 61Patch0: %{name}-sysconfdir.patch
62Patch1: %{name}-visual.patch
63Patch2: %{name}-paths.patch
d1abaab5
AG
64Patch3: %{name}-%{name}rc.patch
65Patch4: %{name}-no_libelf.patch
66Patch5: %{name}-egrep.patch
67Patch6: %{name}-awk.patch
d6de9a65
AG
68Patch7: %{name}-filetype_vim-perl_tests.patch
69Patch8: %{name}-apache.patch
70Patch9: %{name}-po-syntax.patch
71Patch10: %{name}-modprobe.patch
72Patch11: %{name}-doubleparenthesis.patch
73Patch12: %{name}-syntax-fstab.patch
74Patch13: 010_all_%{name}-6.3-vixie.patch
75Patch14: 013_all_%{name}-7.0-cron-vars-79981.patch
76Patch15: 020_all_%{name}-7.0-fstab-tmpfs-size.patch
77Patch16: 021_all_%{name}-7.0-fstab-bogus-errors.patch
78Patch17: 024_all_%{name}-6.3-bash-83565.patch
79Patch18: 027_all_%{name}-7.0-automake-substitutions-93378.patch
80Patch19: %{name}-smarty.patch
81Patch20: %{name}-tutor-lessdeps.patch
82Patch21: %{name}-nagios.patch
83Patch22: %{name}-filetypes.patch
9c95080e 84Patch23: %{name}-man_installation.patch
d6de9a65 85Patch102: %{name}-gtkfilechooser.patch
d6de9a65
AG
86Patch104: %{name}-home_etc.patch
87Patch105: %{name}-selinux.patch
95142873
AG
88Patch106: %{name}-autopaste.patch
89Patch107: %{name}-ft-cron.patch
27be4eca 90%patchset_source -f ftp://ftp.vim.org/pub/editors/vim/patches/7.1/7.1.%03g 1 %{patchlevel}
f73b565e 91URL: http://www.vim.org/
21ab67a5 92BuildRequires: acl-devel
da7b5595
JB
93BuildRequires: autoconf
94BuildRequires: gettext-devel
84c81dea 95BuildRequires: gpm-devel
a8f099d1 96%{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.6.0}
d6e63bbe 97%{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
e57aa23e 98%{?with_selinux:BuildRequires: libselinux-devel}
1fa34b46 99BuildRequires: ncurses-devel
e37f7386 100%{?with_motif:BuildRequires: openmotif-devel}
d6e63bbe 101%{?with_perl:BuildRequires: perl-devel}
f14f41d3 102%{?with_python:BuildRequires: python-devel >= 2.5}
27be4eca 103BuildRequires: rpmbuild(macros) >= 1.426
2a5b9a50 104%{?with_ruby:BuildRequires: ruby-devel}
d6e63bbe 105%{?with_tcl:BuildRequires: tcl-devel}
2a61b438
ER
106%{?with_athena:BuildRequires: xorg-lib-libXaw-devel}
107Obsoletes: kvim
082a03d8
AM
108%if %{with static}
109BuildRequires: acl-static
40ff2b7e
JB
110BuildRequires: attr-static
111BuildRequires: glibc-static
e57aa23e 112%{?with_selinux:BuildRequires: libselinux-static}
40ff2b7e 113BuildRequires: ncurses-static
082a03d8 114%else
7ba74caf 115Provides: %{name}-static = %{epoch}:%{version}-%{release}
214d5c14
ER
116Obsoletes: elvis-static
117Obsoletes: nvi
118Obsoletes: vi
119Obsoletes: vim-minimal
fc7b36fc 120Obsoletes: vim-static
082a03d8 121%endif
7b8fe793 122BuildRequires: unzip
99216be1 123Requires: %{name}-rt = %{epoch}:%{version}-%{release}
ed99f1fe 124Provides: vi-editor
fc7b36fc 125Provides: vi
84c81dea 126Obsoletes: vim-enhanced
5664b129 127Obsoletes: vim-ispell
ea73bb7e 128Obsoletes: vim-plugin-multvals
beb06d49 129BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8627c94f 130
f2ff3795 131# that's example script
132%define _noautoreq '/bin/csh'
133
84c81dea 134%description
f73b565e 135Text editor similar to Vi. Important improvements: multiple windows,
b83ed9cf 136multi-level undo, block highliting, folding, and many other.
f73b565e 137
5cf83aa7
JR
138%description -l cs.UTF-8
139ViM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
140byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
141populární. ViM je obohacený funkcemi jako: podpora více oken,
142víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
143funkcí.
507e1057 144
5cf83aa7 145%description -l de.UTF-8
f73b565e 146Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
147des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
148wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
149Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
150Standard-vi-Programm.
151
5cf83aa7
JR
152%description -l es.UTF-8
153El editor Visual Mejorado es una versión actualizada y con nuevas
154características adicionales del mundialmente famoso 'vi' que acompaña
155prácticamente todos los sistemas UN*X. Posibilita trabajar con
156múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
157otras muchas características del 'vi'.
158
159%description -l fr.UTF-8
160L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
161caractéristiques supplémentaires de l'éditeur « vi » fourni avec
162pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
163mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
164blocs et autres caractéristiques au vi de base.
165
166%description -l id.UTF-8
507e1057 167VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
168diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
169pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
170mengembangkan vi dengan menambah kemampuan baru seperti: multiple
171windows, multi-level undo, block highlighting, dll.
172
5cf83aa7
JR
173%description -l is.UTF-8
174VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
175ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
176vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
177gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
507e1057 178fleira.
179
5cf83aa7
JR
180%description -l it.UTF-8
181VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
182vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
507e1057 183ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
184finestre multiple, funzione \"annulla\" multilivello, evidenziazione
185dei blocchi e altro.
186
5cf83aa7
JR
187%description -l pl.UTF-8
188Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
189oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
b83ed9cf 190folding i wiele innych.
8f1c0b93 191
5cf83aa7
JR
192%description -l pt.UTF-8
193O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
194editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
195o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
196novas potencialidades: janelas múltiplas, anulação multi-nível, realce
507e1057 197de blocos e mais.
198
5cf83aa7
JR
199%description -l pt_BR.UTF-8
200O editor Vim (Vi Enhanced) é um versão atualizada e com novas
201características do mundialmente famoso 'vi' que acompanha praticamente
202todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
203janelas, vários níveis de desfazer, blocos enfatizados, e muitas
204outras características do 'vi'.
205
206%description -l ru.UTF-8
207VIsual editor iMproved - это обновленный и значительно улучшенный клон
208редактора vi, который поставляется практически со всеми
209UN*X-системами. В этой версии есть многоуровневый откат, выделение
210блоков, синтаксическая подсветка и много другого...
211
212%description -l sk.UTF-8
213VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
214Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
215stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
216viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
217
218%description -l sv.UTF-8
219VIM (Vi IMproved) är en uppdaterad och förbättrad version av
220redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
221till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
222nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
223ändå.
224
225%description -l tr.UTF-8
226Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
227birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
228
229%description -l uk.UTF-8
230VIsual editor iMproved - це оновлений та значно поліпшений клон
231редактора vi, який поставляється практично зі всіма UN*X-системами. В
232цій версії є багаторівневий відкат, виділення блоків, синтаксична
233підсвітка та багато іншого...
9e79ff1a 234
5f8672c8
JB
235%package -n xxd
236Summary: Utility to convert files to hexdump or do the reverse
1a02d184 237Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
5f8672c8 238Group: Applications/Editors/Vim
5f8672c8
JB
239
240%description -n xxd
241xxd creates a hex dump of a given file or standard input. It can also
242convert a hex dump back to its original binary form. Like uuencode and
243uudecode it allows the transmission of binary data in a `mail-safe'
244ASCII representation, but has the advantage of decoding to standard
245output. Moreover, it can be used to perform binary file patching.
246
5cf83aa7
JR
247%description -n xxd -l pl.UTF-8
248xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
249Może także przekonwertować taki zapis na oryginalną, binarną postać.
250Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
251binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
252wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
5f8672c8 253
6590d069 254%package static
7e3e3036 255Summary: Statically linked Vim
1a02d184 256Summary(pl.UTF-8): Statycznie skonsolidowany Vim
84c81dea 257Group: Applications/Editors/Vim
ed99f1fe 258Provides: vi-editor
fc7b36fc 259Provides: vi
95a598bc
JB
260Obsoletes: elvis-static
261Obsoletes: nvi
84c81dea 262Obsoletes: vim-minimal
c9897555 263
84c81dea 264%description static
b83ed9cf 265Text editor similar to Vi. This version is built with minimal feature
f73b565e 266and is installed in /bin as a rescue tool. The installation of this
267package is STRONGLY recommended.
84c81dea 268
5cf83aa7
JR
269%description static -l pl.UTF-8
270Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
271statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
272jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
273zalecana, może on pomóc Ci uratować system w czasie awarii.
8627c94f 274
5cf83aa7
JR
275%description static -l ru.UTF-8
276Пакет vim-static устанавливает разновидность vim как /bin/vi, что
277удобно для запуска даже когда смонтирована только корневая файловая
278система.
9e79ff1a 279
5cf83aa7
JR
280%description static -l uk.UTF-8
281Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
282запуску навіть тоді, коли змонтована тільки корньова файлова система.
9e79ff1a 283
c9897555 284%package rt
8627c94f 285Summary: Vim runtime files
1a02d184
ER
286Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor ViM
287Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren
288Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
289Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM
290Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM
291Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM
292Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
293Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM
294Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル
295Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren
296Summary(pl.UTF-8): Pliki przydatne edytorowi Vim
297Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM
298Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim
299Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM
300Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
301Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
302Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim
303Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。
8627c94f 304Group: Applications/Editors/Vim
27be4eca 305Requires: vim-syntax-spec
fc7b36fc 306# mktemp is for vimtutor
b8b82f5a 307Requires: mktemp
ed99f1fe 308Requires: vi-editor
ffe75389 309Suggests: vim-plugin-securemodelines
237877cd 310Obsoletes: gvim-bonobo
84c81dea 311Obsoletes: vim-common
8627c94f 312
313%description rt
f73b565e 314This package contains macros, documentation, syntax configuration and
ec6033c5 315manual pages for Vim. If you want to take advantage of Vim more
f73b565e 316powerful features, you should install this package.
8627c94f 317
5cf83aa7
JR
318%description rt -l cs.UTF-8
319Tento balíček obsahuje společné soubory pro všechny další balíčky s
507e1057 320vim.
321
5cf83aa7 322%description rt -l da.UTF-8
507e1057 323The vim-rt package contains files which every VIM binary will need in
324order to run.
325
5cf83aa7
JR
326%description rt -l de.UTF-8
327Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
328Ausführung benötigt.
507e1057 329
5cf83aa7 330%description rt -l fr.UTF-8
507e1057 331Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
332VIM a besoin pour fonctionner.
333
5cf83aa7 334%description rt -l id.UTF-8
507e1057 335Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
336berjalan.
337
5cf83aa7
JR
338%description rt -l is.UTF-8
339vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
340til að keyra.
507e1057 341
5cf83aa7 342%description rt -l it.UTF-8
507e1057 343Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
344per poter funzionare.
345
5cf83aa7
JR
346%description rt -l pl.UTF-8
347W tym pakiecie znajdziesz dokumentację, makra, pliki konfiguracyjne i
348strony podręcznika dla edytora Vim. Jeżeli chcesz korzystać z
349zaawansowanych możliwości Vima, powinieneś zainstalować ten pakiet.
84c81dea 350
5cf83aa7
JR
351%description rt -l pt.UTF-8
352O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
353irão necessitar para correr.
507e1057 354
5cf83aa7
JR
355%description rt -l ru.UTF-8
356Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
357для работы любой программы vim.
9e79ff1a 358
5cf83aa7
JR
359%description rt -l sk.UTF-8
360Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
361funkciu každá verzia editoru VIM.
507e1057 362
5cf83aa7
JR
363%description rt -l sv.UTF-8
364Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
365köra.
507e1057 366
5cf83aa7
JR
367%description rt -l uk.UTF-8
368Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
369для роботи будь-якої програми vim.
9e79ff1a 370
4399a7e9
JB
371%package spell-en
372Summary: English dictionaries for VIMspell
1a02d184 373Summary(pl.UTF-8): Angielskie słowniki dla VIMspella
4399a7e9
JB
374Group: Applications/Editors/Vim
375Requires: %{name} = %{epoch}:%{version}-%{release}
376
377%description spell-en
378English dictionaries for VIMspell.
379
5cf83aa7
JR
380%description spell-en -l pl.UTF-8
381Angielskie słowniki dla VIMspella.
4399a7e9 382
84c81dea 383%package -n gvim-athena
6facb60f 384Summary: Vim for X Window built with Athena
1a02d184 385Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena
84c81dea 386Group: Applications/Editors/Vim
99216be1 387Requires: %{name}-rt = %{epoch}:%{version}-%{release}
d5d214fb 388Requires: iconv
86dc40a0 389Provides: gvim
ed99f1fe 390Provides: vi-editor
84c81dea 391Obsoletes: vim-X11
392
393%description -n gvim-athena
f73b565e 394The classic Unix text editor now also under X Window System! This
b83ed9cf 395version is built with Athena Widget Set.
84c81dea 396
5cf83aa7
JR
397%description -n gvim-athena -l pl.UTF-8
398Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
f73b565e 399biblioteki Athena Widget Set.
84c81dea 400
5cf83aa7
JR
401%description -n gvim-athena -l ru.UTF-8
402Этот пакет представляет собой версию VIM, собранную с библиотеками
403Athena Widget Set, что позволяет запускать VIM как приложение X Window
404System - с полностью графическим интерфейсом и поддержкой мыши.
9e79ff1a 405
5cf83aa7
JR
406%description -n gvim-athena -l uk.UTF-8
407Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
408Set, що дозволяє запускати VIM як прикладну програму X Window System -
409з повністю графічним інтерфейсом та підтримкою миші.
9e79ff1a 410
7a9200fa
JR
411%package -n gvim-motif
412Summary: Vim for X Window built with Motif
1a02d184 413Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Motif
84c81dea 414Group: Applications/Editors/Vim
99216be1 415Requires: %{name}-rt = %{epoch}:%{version}-%{release}
d5d214fb 416Requires: iconv
86dc40a0 417Provides: gvim
ed99f1fe 418Provides: vi-editor
84c81dea 419Obsoletes: vim-X11
8627c94f 420
7a9200fa 421%description -n gvim-motif
f73b565e 422The classic Unix text editor now also under X Window System! This
b83ed9cf 423version is built with Motif.
84c81dea 424
5cf83aa7
JR
425%description -n gvim-motif -l pl.UTF-8
426Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
7a9200fa 427biblioteki Motif.
84c81dea 428
5cf83aa7
JR
429%description -n gvim-motif -l ru.UTF-8
430Этот пакет представляет собой версию VIM, собранную с библиотеками
431Motif, что позволяет запускать VIM как приложение X Window System - с
432полностью графическим интерфейсом и поддержкой мыши.
9e79ff1a 433
5cf83aa7
JR
434%description -n gvim-motif -l uk.UTF-8
435Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
436дозволяє запускати VIM як прикладну програму X Window System - з
437повністю графічним інтерфейсом та підтримкою миші.
9e79ff1a 438
84c81dea 439%package -n gvim-gtk
440Summary: Vim for X Window built with gtk
1a02d184 441Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GTK
8627c94f 442Group: Applications/Editors/Vim
9c95080e 443Requires(post,postun): gtk+2
4399a7e9 444Requires(post,postun): hicolor-icon-theme
99216be1 445Requires: %{name}-rt = %{epoch}:%{version}-%{release}
d5d214fb 446Requires: iconv
86dc40a0 447Provides: gvim
ed99f1fe 448Provides: vi-editor
84c81dea 449Obsoletes: vim-X11
8627c94f 450
84c81dea 451%description -n gvim-gtk
f73b565e 452The classic Unix text editor now also under X Window System! This
b83ed9cf 453version is built with GTK.
8627c94f 454
5cf83aa7
JR
455%description -n gvim-gtk -l pl.UTF-8
456Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
0d72267e 457biblioteki GTK.
d5d214fb 458
5cf83aa7
JR
459%description -n gvim-gtk -l ru.UTF-8
460Этот пакет представляет собой версию VIM, собранную с библиотеками
461GTK, что позволяет запускать VIM как приложение X Window System - с
462полностью графическим интерфейсом и поддержкой мыши. Просто скажите
9e79ff1a 463'gvim'...
464
5cf83aa7
JR
465%description -n gvim-gtk -l uk.UTF-8
466Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
467запускати VIM як прикладну програму X Window System - з повністю
468графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
9e79ff1a 469
d5d214fb 470%package -n gvim-gnome
e746f321 471Summary: Vim for X Window built with GNOME
1a02d184 472Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GNOME
d5d214fb 473Group: Applications/Editors/Vim
9c95080e 474Requires(post,postun): gtk+2
4399a7e9 475Requires(post,postun): hicolor-icon-theme
99216be1 476Requires: %{name}-rt = %{epoch}:%{version}-%{release}
d5d214fb 477Requires: iconv
86dc40a0 478Provides: gvim
ed99f1fe 479Provides: vi-editor
d5d214fb
AM
480Obsoletes: vim-X11
481
482%description -n gvim-gnome
483The classic Unix text editor now also under X Window System! This
484version is build with GNOME.
485
5cf83aa7
JR
486%description -n gvim-gnome -l pl.UTF-8
487Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
0d72267e 488bibliotek GNOME.
8627c94f 489
5cf83aa7
JR
490%description -n gvim-gnome -l ru.UTF-8
491Этот пакет представляет собой версию VIM, собранную с библиотеками
492GNOME, что позволяет запускать VIM как приложение X Window System - с
493полностью графическим интерфейсом и поддержкой мыши.
9e79ff1a 494
5cf83aa7
JR
495%description -n gvim-gnome -l uk.UTF-8
496Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
497дозволяє запускати VIM як прикладну програму X Window System - з
498повністю графічним інтерфейсом та підтримкою миші.
9e79ff1a 499
8627c94f 500%prep
95142873 501%setup -q -n %{name}71 -b1 -b2
60aa9cdd
AG
502
503# official patches
27be4eca 504%patchset_patch 1 %{patchlevel}
60aa9cdd 505
db58c86e 506%patch0 -p1
357ae4b4 507%patch1 -p1
2f99b393 508%patch2 -p1
d1abaab5
AG
509%patch3 -p1
510%patch4 -p1
d0793c9f 511%patch5 -p1
64570325 512%patch6 -p1
d6de9a65 513%patch7 -p1
19d8e711 514%patch8 -p1
d6de9a65
AG
515%patch9 -p1
516%patch10 -p0
517%patch11 -p1
19d8e711 518%patch12 -p1
d6de9a65
AG
519%patch13 -p1
520%patch14 -p1
521%patch15 -p1
bf653f43 522%patch16 -p1
d6de9a65
AG
523%patch17 -p0
524%patch18 -p0
d1abaab5
AG
525%patch19 -p1
526%patch20 -p1
527%patch21 -p1
d6de9a65 528%patch22 -p1
9c95080e 529%patch23 -p1
d6de9a65 530
d6de9a65
AG
531# home etc
532%{?with_home_etc:%patch104 -p1}
533
534# selinux
535%{?with_selinux:%patch105 -p1}
99890e04 536
9e18e433 537# autopaste patch - automatically switch to paste mode if `really fast typing'
e8531d99 538# situation happens
95142873 539%patch106 -p1
9e18e433 540
95142873 541%patch107 -p1
e8531d99 542
19d8e711
AG
543install %{SOURCE14} runtime/indent
544install %{SOURCE15} runtime/colors
32e75812 545install %{SOURCE17} runtime/syntax
b88c7a3a 546install %{SOURCE18} runtime/syntax
abf48674 547
8627c94f 548%build
96eaec6a 549cd src
34ddecbc 550%{__autoconf}
ffce5254
JB
551# needed to prevent deconfiguring
552cp -f configure auto
8490904a 553
69b192f0 554install -d bin
afe2d598 555
d6e63bbe 556%if %{with static}
8490904a
JB
557%{__make} distclean
558LDFLAGS="%{rpmldflags} -static"
559%configure \
560 --disable-gui \
561 --without-x \
562 --disable-perlinterp \
563 --disable-pythoninterp \
564 --disable-rubyinterp \
565 --disable-tclinterp \
566 --disable-cscope \
567 --disable-gpm \
568 --disable-multibyte \
569 --with-features=small \
00311d17 570 --with-tlib="ncurses -ltinfo" \
a82d590c 571 --disable-nls \
e9089381 572 --with-modifiedby="PLD Linux Distribution" \
573 --with-compiledby="PLD Linux Distribution"
8490904a 574
725c510f
JB
575%{__make} vim
576
afe2d598 577mv -f vim bin/vim.static
8490904a
JB
578LDFLAGS="%{rpmldflags}"
579%endif
580
d924622d 581%{__make} distclean
84c81dea 582%configure \
583 --disable-gui \
584 --without-x \
d6e63bbe
AF
585 %{!?with_perl:--disable-perlinterp} \
586 %{?with_perl:--enable-perlinterp} \
587 %{!?with_python:--disable-pythoninterp} \
588 %{?with_python:--enable-pythoninterp} \
589 %{!?with_ruby:--disable-rubyinterp} \
590 %{?with_ruby:--enable-rubyinterp} \
591 %{!?with_tcl:--disable-tclinterp} \
592 %{?with_tcl:--enable-tclinterp} \
d5d214fb 593 --enable-cscope \
f22e9322 594 --enable-gpm \
595 --with-features=huge \
d5d214fb 596 --enable-multibyte \
ba794b83 597 --with-tlib="ncurses -ltinfo" \
a82d590c 598 --enable-nls \
e9089381 599 --with-modifiedby="PLD Linux Distribution" \
600 --with-compiledby="PLD Linux Distribution"
d5d214fb 601
725c510f
JB
602%{__make} vim
603
afe2d598 604mv -f vim bin/vim.ncurses
a04973b9 605
d6e63bbe 606%if %{with athena}
fc7569f7 607%{__make} distclean
a82d590c 608%configure \
f22e9322 609 --with-features=huge \
f73b565e 610 --enable-gui=athena \
611 --with-x \
d6e63bbe
AF
612 %{!?with_perl:--disable-perlinterp} \
613 %{?with_perl:--enable-perlinterp} \
614 %{!?with_python:--disable-pythoninterp} \
615 %{?with_python:--enable-pythoninterp} \
616 %{!?with_ruby:--disable-rubyinterp} \
617 %{?with_ruby:--enable-rubyinterp} \
618 %{!?with_tcl:--disable-tclinterp} \
619 %{?with_tcl:--enable-tclinterp} \
d5d214fb
AM
620 --enable-cscope \
621 --enable-fontset \
622 --disable-gpm \
623 --without-gnome \
00311d17 624 --with-tlib="ncurses -ltinfo" \
a82d590c 625 --enable-nls \
e9089381 626 --with-modifiedby="PLD Linux Distribution" \
627 --with-compiledby="PLD Linux Distribution"
a82d590c 628
fc7569f7 629%{__make} vim
afe2d598 630mv -f vim bin/gvim.athena
fc7569f7 631%endif
84c81dea 632
a04973b9 633
d6e63bbe 634%if %{with motif}
fc7569f7 635%{__make} distclean
a82d590c 636%configure \
f22e9322 637 --with-features=huge \
f73b565e 638 --enable-gui=motif \
639 --with-x \
d6e63bbe
AF
640 %{!?with_perl:--disable-perlinterp} \
641 %{?with_perl:--enable-perlinterp} \
642 %{!?with_python:--disable-pythoninterp} \
643 %{?with_python:--enable-pythoninterp} \
644 %{!?with_ruby:--disable-rubyinterp} \
645 %{?with_ruby:--enable-rubyinterp} \
646 %{!?with_tcl:--disable-tclinterp} \
647 %{?with_tcl:--enable-tclinterp} \
d5d214fb
AM
648 --enable-multibyte \
649 --enable-cscope \
650 --enable-fontset \
651 --disable-gpm \
652 --without-gnome \
00311d17 653 --with-tlib="ncurses -ltinfo" \
a82d590c 654 --enable-nls \
e9089381 655 --with-modifiedby="PLD Linux Distribution" \
656 --with-compiledby="PLD Linux Distribution"
e7cb0e5d 657
fc7569f7 658%{__make} vim
afe2d598 659mv -f vim bin/gvim.motif
fc7569f7 660%endif
8627c94f 661
d6e63bbe 662%if %{with gtk}
fc7569f7 663%{__make} distclean
a82d590c 664%configure \
f22e9322 665 --with-features=huge \
db58c86e 666 --enable-gui=gtk2 \
667 --enable-gtk2-check \
f73b565e 668 --with-x \
d6e63bbe
AF
669 %{!?with_perl:--disable-perlinterp} \
670 %{?with_perl:--enable-perlinterp} \
671 %{!?with_python:--disable-pythoninterp} \
672 %{?with_python:--enable-pythoninterp} \
673 %{!?with_ruby:--disable-rubyinterp} \
674 %{?with_ruby:--enable-rubyinterp} \
675 %{!?with_tcl:--disable-tclinterp} \
676 %{?with_tcl:--enable-tclinterp} \
d5d214fb
AM
677 --disable-gpm \
678 --enable-cscope \
00311d17 679 --with-tlib="ncurses -ltinfo" \
a82d590c 680 --enable-nls \
e9089381 681 --with-modifiedby="PLD Linux Distribution" \
682 --with-compiledby="PLD Linux Distribution"
a82d590c 683
fc7569f7 684%{__make} vim
afe2d598 685mv -f vim bin/gvim.gtk
fc7569f7 686%endif
8627c94f 687
d6e63bbe 688%if %{with gnome}
fc7569f7 689%{__make} distclean
a82d590c 690%configure \
f22e9322 691 --with-features=huge \
db58c86e 692 --enable-gui=gnome2 \
db58c86e 693 --enable-gtk2-check \
694 --enable-gnome-check \
d5d214fb 695 --with-x \
d6e63bbe
AF
696 %{!?with_perl:--disable-perlinterp} \
697 %{?with_perl:--enable-perlinterp} \
698 %{!?with_python:--disable-pythoninterp} \
699 %{?with_python:--enable-pythoninterp} \
700 %{!?with_ruby:--disable-rubyinterp} \
701 %{?with_ruby:--enable-rubyinterp} \
702 %{!?with_tcl:--disable-tclinterp} \
703 %{?with_tcl:--enable-tclinterp} \
d5d214fb
AM
704 --disable-gpm \
705 --enable-cscope \
00311d17 706 --with-tlib="ncurses -ltinfo" \
a82d590c 707 --enable-nls \
e9089381 708 --with-modifiedby="PLD Linux Distribution" \
709 --with-compiledby="PLD Linux Distribution"
a82d590c 710
fc7569f7 711%{__make} vim
afe2d598 712mv -f vim bin/gvim.gnome
fc7569f7 713%endif
d5d214fb 714
afe2d598
AF
715%{__make} xxd/xxd languages
716
8627c94f 717%install
718rm -rf $RPM_BUILD_ROOT
0b31d255 719
f22e9322 720install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
d5d214fb 721 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
474e8862 722 $RPM_BUILD_ROOT%{_desktopdir}
46f826dd 723
f76e6f17 724%{__make} -j1 install \
a82d590c 725 DESTDIR=$RPM_BUILD_ROOT
7ba74caf 726
310b65f3 727rm -f $RPM_BUILD_ROOT%{_bindir}/*
8627c94f 728
b93a0a21 729%if %{with static}
baa4aaf8 730install src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
731install src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
b93a0a21 732%else
baa4aaf8 733install src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
b93a0a21
AF
734ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
735%endif
baa4aaf8 736install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
737install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
a7fbf53c 738
9c95080e 739# Moved into patch
740#
741# rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
742# install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
743# install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
744# install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
745# echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
746# echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
747# echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
748# echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
4ae2e5e0 749
84c81dea 750echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
751echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
8627c94f 752
9c95080e 753# not supported directories
754rm -rf $RPM_BUILD_ROOT%{_mandir}/??.*/
755
64570325 756mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
d5d214fb 757mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
8627c94f 758
4399a7e9
JB
759ln -sf vim $RPM_BUILD_ROOT%{_bindir}/eview
760ln -sf vim $RPM_BUILD_ROOT%{_bindir}/evim
923c746f 761ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
4399a7e9 762ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
d5d214fb
AM
763ln -sf vi $RPM_BUILD_ROOT/bin/ex
764ln -sf vi $RPM_BUILD_ROOT/bin/view
765ln -sf vi $RPM_BUILD_ROOT/bin/rview
84c81dea 766
0f99c50f
PG
767install %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir}
768
b93a0a21 769%if %{with athena}
baa4aaf8 770install src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
eab7da3d 771install %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir}
b93a0a21
AF
772%endif
773%if %{with motif}
baa4aaf8 774install src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
eab7da3d 775install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
b93a0a21
AF
776%endif
777%if %{with gnome}
baa4aaf8 778install src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
b93a0a21
AF
779install %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir}
780%endif
781%if %{with gtk}
baa4aaf8 782install src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
b93a0a21 783ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
b93a0a21 784ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
4399a7e9 785ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
b93a0a21 786ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
4399a7e9 787ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
eab7da3d 788install %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir}
b93a0a21 789%endif
8627c94f 790
ef0fdc18 791install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
792install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
793install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
794install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
795
41f33985 796bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
9c95080e 797
41f33985 798unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE4}
9e79ff1a 799
a76f8cb4 800install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
8e79b441 801> $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
9f5fc2a1 802
27be4eca
ER
803# separate package
804%{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/vim71/{ftplugin,syntax}/spec.vim
805
af865184
ER
806# no autodeps
807chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/doc/vim2html.pl
808chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/tools/shtags.pl
809chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/tools/pltags.pl
810chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/tools/efm_perl.pl
811chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/tools/efm_filter.pl
812
8627c94f 813%clean
814rm -rf $RPM_BUILD_ROOT
815
b1844844 816%post
7285c5a1 817[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
b1844844 818
819%postun
7285c5a1 820[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
b1844844 821
822%post -n gvim-athena
7285c5a1 823[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
b1844844 824
825%postun -n gvim-athena
7285c5a1 826[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
b1844844 827
828%post -n gvim-motif
7285c5a1 829[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
b1844844 830
831%postun -n gvim-motif
7285c5a1 832[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
b1844844 833
834%post -n gvim-gtk
7285c5a1 835[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
70502921 836%update_icon_cache hicolor
b1844844 837
838%postun -n gvim-gtk
7285c5a1 839[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
70502921 840%update_icon_cache hicolor
b1844844 841
842%post -n gvim-gnome
9c95080e 843%update_desktop_database_post
70502921 844%update_icon_cache hicolor
b1844844 845
846%postun -n gvim-gnome
9c95080e 847%update_desktop_database_postun
70502921 848%update_icon_cache hicolor
b1844844 849
84c81dea 850%files
851%defattr(644,root,root,755)
4399a7e9
JB
852%attr(755,root,root) %{_bindir}/eview
853%attr(755,root,root) %{_bindir}/evim
84c81dea 854%attr(755,root,root) %{_bindir}/rvim
4399a7e9
JB
855%attr(755,root,root) %{_bindir}/vim
856%attr(755,root,root) %{_bindir}/vimdiff
9a40bb9c 857%{_mandir}/man1/eview.1*
4399a7e9
JB
858%{_mandir}/man1/evim.1*
859%{_mandir}/man1/rvim.1*
860%{_mandir}/man1/vimdiff.1*
861%lang(fi) %{_mandir}/fi/man1/rvim.1*
9a40bb9c 862%lang(fr) %{_mandir}/fr/man1/eview.1*
4399a7e9
JB
863%lang(fr) %{_mandir}/fr/man1/evim.1*
864%lang(fr) %{_mandir}/fr/man1/rvim.1*
865%lang(fr) %{_mandir}/fr/man1/vimdiff.1*
866%lang(id) %{_mandir}/id/man1/rvim.1*
9a40bb9c 867%lang(it) %{_mandir}/it/man1/eview.1*
4399a7e9
JB
868%lang(it) %{_mandir}/it/man1/evim.1*
869%lang(it) %{_mandir}/it/man1/rvim.1*
870%lang(it) %{_mandir}/it/man1/vimdiff.1*
9a40bb9c 871%lang(pl) %{_mandir}/pl/man1/eview.1*
4399a7e9
JB
872%lang(pl) %{_mandir}/pl/man1/evim.1*
873%lang(pl) %{_mandir}/pl/man1/rvim.1*
874%lang(pl) %{_mandir}/pl/man1/vimdiff.1*
9a40bb9c 875%lang(ru) %{_mandir}/ru/man1/eview.1*
4399a7e9
JB
876%lang(ru) %{_mandir}/ru/man1/evim.1*
877%lang(ru) %{_mandir}/ru/man1/rvim.1*
878%lang(ru) %{_mandir}/ru/man1/vimdiff.1*
0f99c50f 879%{_desktopdir}/%{name}.desktop
84c81dea 880
d6e63bbe 881%if %{with static}
84c81dea 882%files static
2576aec7 883%endif
ce504e8b 884%defattr(644,root,root,755)
ce504e8b 885%attr(755,root,root) /bin/*
671e058b
AF
886%{_mandir}/man1/vi.1*
887%{_mandir}/man1/ex.1*
671e058b
AF
888%{_mandir}/man1/view.1*
889%{_mandir}/man1/rview.1*
0d564f51
JB
890%lang(fi) %{_mandir}/fi/man1/vi.1*
891%lang(fi) %{_mandir}/fi/man1/ex.1*
892%lang(fi) %{_mandir}/fi/man1/view.1*
893%lang(fi) %{_mandir}/fi/man1/rview.1*
9c95080e 894%lang(fr) %{_mandir}/fr/man1/vi.1*
895%lang(fr) %{_mandir}/fr/man1/ex.1*
896%lang(fr) %{_mandir}/fr/man1/view.1*
897%lang(fr) %{_mandir}/fr/man1/rview.1*
0d564f51
JB
898%lang(id) %{_mandir}/id/man1/vi.1*
899%lang(id) %{_mandir}/id/man1/ex.1*
900%lang(id) %{_mandir}/id/man1/view.1*
901%lang(id) %{_mandir}/id/man1/rview.1*
9c95080e 902#%lang(it) %{_mandir}/it/man1/vi.1*
903%lang(it) %{_mandir}/it/man1/ex.1*
904%lang(it) %{_mandir}/it/man1/view.1*
905%lang(it) %{_mandir}/it/man1/rview.1*
906%lang(pl) %{_mandir}/pl/man1/vi.1*
907%lang(pl) %{_mandir}/pl/man1/ex.1*
908%lang(pl) %{_mandir}/pl/man1/view.1*
909%lang(pl) %{_mandir}/pl/man1/rview.1*
910#%lang(ru) %{_mandir}/ru/man1/vi.1*
911%lang(ru) %{_mandir}/ru/man1/ex.1*
912%lang(ru) %{_mandir}/ru/man1/view.1*
913%lang(ru) %{_mandir}/ru/man1/rview.1*
ce504e8b 914
2576aec7
AF
915%files -n xxd
916%defattr(644,root,root,755)
917%attr(755,root,root) %{_bindir}/xxd
918%{_mandir}/man1/xxd.1*
9c95080e 919%lang(fr) %{_mandir}/fr/man1/xxd.1*
920%lang(it) %{_mandir}/it/man1/xxd.1*
921%lang(pl) %{_mandir}/pl/man1/xxd.1*
922%lang(ru) %{_mandir}/ru/man1/xxd.1*
2576aec7 923
8627c94f 924%files rt
925%defattr(644,root,root,755)
307833bf 926%attr(755,root,root) %{_bindir}/vimtutor
54e1a2a3 927%dir %{_sysconfdir}/vim
baa4aaf8 928%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
929%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
84c81dea 930
1a773fc5 931%dir %{_datadir}/vim
d5d214fb 932%dir %{_datadir}/vim/v*
05a269bd 933%dir %{_datadir}/vim/v*/doc
1a881f20 934%doc %{_datadir}/vim/v*/doc/*.txt
17bdc5ff 935%lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
1a881f20 936%attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
baa4aaf8 937%verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
938%lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
d5d214fb
AM
939%{_datadir}/vim/v*/ftplugin
940%{_datadir}/vim/v*/indent
941%{_datadir}/vim/v*/keymap
942%dir %{_datadir}/vim/v*/lang
1a881f20 943%doc %{_datadir}/vim/v*/lang/README*
42d18f12 944
59274d07 945# just add after/ and ftdetect/ separately, other dirs caught by globs above or below
dd179d92
ER
946%{_datadir}/vim/vimfiles/after
947%{_datadir}/vim/vimfiles/ftdetect
9f5fc2a1 948
0b1385e8 949%lang(af) %{_datadir}/vim/v*/lang/menu_af*
96eaec6a 950%lang(af) %{_datadir}/vim/v*/lang/af/
0b1385e8 951%lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
96eaec6a 952%lang(ca) %{_datadir}/vim/v*/lang/ca/
0b1385e8
AM
953%lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
954%lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
96eaec6a 955%lang(cs) %{_datadir}/vim/v*/lang/cs/
0b1385e8
AM
956%lang(de) %{_datadir}/vim/v*/lang/menu_de*
957%lang(de) %{_datadir}/vim/v*/lang/menu_*german*
96eaec6a 958%lang(de) %{_datadir}/vim/v*/lang/de/
23543ee3 959%lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
0b1385e8 960%lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
96eaec6a
AG
961%lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/
962%lang(es) %{_datadir}/vim/v*/lang/menu_es*
963%lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
964%lang(es) %{_datadir}/vim/v*/lang/es/
0b1385e8 965%lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
96eaec6a 966%lang(fr) %{_datadir}/vim/v*/lang/fr/
37e3507e 967%lang(ga) %{_datadir}/vim/v*/lang/ga/
0b1385e8
AM
968%lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
969%lang(it) %{_datadir}/vim/v*/lang/menu_it*
96eaec6a 970%lang(it) %{_datadir}/vim/v*/lang/it/
0b1385e8 971%lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
96eaec6a 972%lang(ja) %{_datadir}/vim/v*/lang/ja/
0b1385e8 973%lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
96eaec6a 974%lang(ko) %{_datadir}/vim/v*/lang/ko/
0b1385e8
AM
975%lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
976%lang(nb) %{_datadir}/vim/v*/lang/menu_no*
96eaec6a 977%lang(nb) %{_datadir}/vim/v*/lang/no/
0b1385e8
AM
978%lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
979%lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
96eaec6a 980%lang(pl) %{_datadir}/vim/v*/lang/pl/
0b1385e8
AM
981%lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
982%lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
96eaec6a 983%lang(ru) %{_datadir}/vim/v*/lang/ru/
0b1385e8
AM
984%lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
985%lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
96eaec6a 986%lang(sk) %{_datadir}/vim/v*/lang/sk/
9a40bb9c 987%lang(sl) %{_datadir}/vim/v*/lang/menu_sl_si*
0b1385e8
AM
988%lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
989%lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
96eaec6a 990%lang(sv) %{_datadir}/vim/v*/lang/sv/
0b1385e8 991%lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
37e3507e 992%lang(uk) %{_datadir}/vim/v*/lang/uk/
9bc905eb 993%lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
37e3507e 994%lang(vi) %{_datadir}/vim/v*/lang/vi/
7a778761 995%lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
ec23c5c9 996%lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
42d18f12 997%lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
0b1385e8 998%lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
96eaec6a 999%lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/
9a40bb9c 1000%lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN.UTF-8/
7a778761
JB
1001%lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1002%lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
42d18f12 1003%lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
0b1385e8 1004%lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
96eaec6a 1005%lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/
9a40bb9c 1006%lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW.UTF-8/
42d18f12 1007
1d2cf3d5 1008%dir %{_datadir}/vim/v*/spell
3558f1d8 1009%{_datadir}/vim/v*/spell/cleanadd.vim
9c95080e 1010%lang(he) %{_datadir}/vim/v*/spell/he.*
1011%lang(yi) %{_datadir}/vim/v*/spell/yi.*
9bc905eb 1012
d5d214fb
AM
1013%{_datadir}/vim/v*/macros
1014%{_datadir}/vim/v*/plugin
23543ee3 1015%{_datadir}/vim/v*/print
d5d214fb 1016%{_datadir}/vim/v*/syntax
a82d590c 1017%{_datadir}/vim/v*/tools
d5d214fb 1018%{_datadir}/vim/v*/tutor
ba50d0a1 1019%{_datadir}/vim/v*/colors
a0f9a135 1020%{_datadir}/vim/v*/compiler
9bc905eb 1021%{_datadir}/vim/v*/autoload
d5d214fb 1022%{_datadir}/vim/v*/*.vim
8627c94f 1023
4399a7e9
JB
1024%{_mandir}/man1/rvim.1*
1025%{_mandir}/man1/vim.1*
1026%{_mandir}/man1/vimtutor.1*
1027%lang(fi) %{_mandir}/fi/man1/rvim.1*
1028%lang(fi) %{_mandir}/fi/man1/vim.1*
1029%lang(fr) %{_mandir}/fr/man1/rvim.1*
1030%lang(fr) %{_mandir}/fr/man1/vim.1*
1031%lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1032%lang(id) %{_mandir}/id/man1/vim.1*
1033%lang(it) %{_mandir}/it/man1/vim.1*
1034%lang(it) %{_mandir}/it/man1/vimtutor.1*
1035%lang(pl) %{_mandir}/pl/man1/vim.1*
1036%lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1037%lang(ru) %{_mandir}/ru/man1/vim.1*
1038%lang(ru) %{_mandir}/ru/man1/vimtutor.1*
64bf7ae0 1039%{_iconsdir}/hicolor/16x16/apps/vim.png
1040%{_iconsdir}/hicolor/32x32/apps/vim.png
1041%{_iconsdir}/hicolor/48x48/apps/vim.png
1042
4399a7e9
JB
1043%files spell-en
1044%defattr(644,root,root,755)
1045%{_datadir}/vim/v*/spell/en.*.*
1046
d6e63bbe 1047%if %{with athena}
f22e9322 1048%files -n gvim-athena
1049%defattr(644,root,root,755)
c983f1ff 1050%attr(755,root,root) %{_bindir}/gvim.athena
eab7da3d 1051%{_desktopdir}/gvim-athena.desktop
f22e9322 1052%endif
1053
d6e63bbe 1054%if %{with motif}
f22e9322 1055%files -n gvim-motif
1056%defattr(644,root,root,755)
c983f1ff 1057%attr(755,root,root) %{_bindir}/gvim.motif
eab7da3d 1058%{_desktopdir}/gvim-motif.desktop
f22e9322 1059%endif
1060
d6e63bbe 1061%if %{with gtk}
f22e9322 1062%files -n gvim-gtk
1063%defattr(644,root,root,755)
c983f1ff 1064%attr(755,root,root) %{_bindir}/gvim.gtk
4399a7e9 1065%attr(755,root,root) %{_bindir}/gvimdiff
c983f1ff 1066%attr(755,root,root) %{_bindir}/rgvim
1067%attr(755,root,root) %{_bindir}/rgview
1068%attr(755,root,root) %verify(not link) %{_bindir}/gvim
4399a7e9
JB
1069%{_mandir}/man1/gvi*
1070%{_mandir}/man1/rgv*
9c95080e 1071%lang(fi) %{_mandir}/fi/man1/gvi*
1072%lang(fi) %{_mandir}/fi/man1/rgv*
1073%lang(fr) %{_mandir}/fr/man1/gvi*
1074%lang(fr) %{_mandir}/fr/man1/rgv*
1075%lang(id) %{_mandir}/id/man1/gvi*
1076%lang(id) %{_mandir}/id/man1/rgv*
4399a7e9
JB
1077%lang(it) %{_mandir}/it/man1/gvi*
1078%lang(it) %{_mandir}/it/man1/rgv*
9c95080e 1079%lang(pl) %{_mandir}/pl/man1/gvi*
1080%lang(pl) %{_mandir}/pl/man1/rgv*
4399a7e9
JB
1081%lang(ru) %{_mandir}/ru/man1/gvi*
1082%lang(ru) %{_mandir}/ru/man1/rgv*
eab7da3d 1083%{_desktopdir}/gvim-gtk.desktop
f22e9322 1084%endif
1085
d6e63bbe 1086%if %{with gnome}
f22e9322 1087%files -n gvim-gnome
1088%defattr(644,root,root,755)
c983f1ff 1089%attr(755,root,root) %{_bindir}/gvim.gnome
474e8862 1090%{_desktopdir}/gvim-gnome.desktop
afe2d598 1091%endif
This page took 0.369848 seconds and 4 git commands to generate.