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