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