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