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