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