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