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