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