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