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