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