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