]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
Up to 9.0.0032; modprobe patch obsolete
[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             9.0.0032
35 %define         rel             1
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:  c43a251b992e2b728058474c15dfa20f
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
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
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-nginx <= 0.3.3-2
465 Obsoletes:      vim-syntax-upstart
466 BuildArch:      noarch
467
468 %description rt
469 This package contains macros, documentation, syntax configuration and
470 manual pages for Vim. If you want to take advantage of Vim more
471 powerful features, you should install this package.
472
473 %description rt -l cs.UTF-8
474 Tento balíček obsahuje společné soubory pro všechny další balíčky s
475 vim.
476
477 %description rt -l de.UTF-8
478 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
479 Ausführung benötigt.
480
481 %description rt -l fr.UTF-8
482 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
483 VIM a besoin pour fonctionner.
484
485 %description rt -l hu.UTF-8
486 Ez a csomag makrókat, dokumentációt, nyelvi konfigurációt és kézikönyv
487 oldalakat tartalmaz Vim-hez. Ha ki akarod használni a Vim
488 lehetőségeit, érdemes telepítened ezt a csomagot.
489
490 %description rt -l id.UTF-8
491 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
492 berjalan.
493
494 %description rt -l is.UTF-8
495 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
496 til að keyra.
497
498 %description rt -l it.UTF-8
499 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
500 per poter funzionare.
501
502 %description rt -l pl.UTF-8
503 W tym pakiecie znajdują się makra, pliki konfiguracyjne i strony
504 podręcznika dla edytora Vim. Aby korzystać z zaawansowanych możliwości
505 Vima, należy zainstalować ten pakiet.
506
507 %description rt -l pt.UTF-8
508 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
509 irão necessitar para correr.
510
511 %description rt -l ru.UTF-8
512 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
513 для работы любой программы vim.
514
515 %description rt -l sk.UTF-8
516 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
517 funkciu každá verzia editoru VIM.
518
519 %description rt -l sv.UTF-8
520 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
521 köra.
522
523 %description rt -l uk.UTF-8
524 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
525 для роботи будь-якої програми vim.
526
527 %package rt-extras
528 Summary:        Vim runtime extra files
529 Summary(pl.UTF-8):      Dodatkowe pliki uruchomieniowe Vima
530 Group:          Applications/Editors/Vim
531 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
532 BuildArch:      noarch
533
534 %description rt-extras
535 This package contains more runtime extra files, not really useful. If
536 you want to take full advantage of Vim more powerful features, you
537 should install this package.
538
539 %description rt-extras -l pl.UTF-8
540 Ten pakiet zawiera dodatkowe pliki uruchomieniowe, nie tak bardzo
541 przydatne. Aby korzystać ze wszystkich możliwości Vima, należy
542 zainstalować ten pakiet.
543
544 %package doc
545 Summary:        Context Vim documentation
546 Summary(pl.UTF-8):      Dokumentacja kontekstowa do Vima
547 Group:          Applications/Editors/Vim
548 Requires(post,postun):  /usr/bin/vim
549 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
550 BuildArch:      noarch
551
552 %description doc
553 This package contains Vim documentation accessible from vim itself
554 using :help command.
555
556 %description doc -l pl.UTF-8
557 Ten pakiet zawiera dokumentację do Vima dostępną z poziomu samego vima
558 za pomocą polecenia :help.
559
560 %package spell-en
561 Summary:        English dictionaries for VIMspell
562 Summary(pl.UTF-8):      Angielskie słowniki dla VIMspella
563 Group:          Applications/Editors/Vim
564 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
565 BuildArch:      noarch
566
567 %description spell-en
568 English dictionaries for VIMspell.
569
570 %description spell-en -l pl.UTF-8
571 Angielskie słowniki dla VIMspella.
572
573 %package tutor
574 Summary:        Vim tutorial
575 Summary(hu.UTF-8):      Vim tutorial
576 Summary(pl.UTF-8):      Samouczek do Vima
577 Group:          Applications/Editors/Vim
578 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
579 Requires:       mktemp
580 Requires:       vim-editor = %{epoch}:%{version}-%{release}
581 BuildArch:      noarch
582
583 %description tutor
584 This package contains Vim tutorial.
585
586 %description tutor -l hu.UTF-8
587 Ez a csomag a vimtutor-t tartalmazza, amely egy gyakorlat-orientált
588 bevezető a Vim-hez.
589
590 %description tutor -l pl.UTF-8
591 Ten pakiet zawiera samouczek do Vima.
592
593 %package -n gvim-athena
594 Summary:        Vim for X Window built with Athena
595 Summary(hu.UTF-8):      A Vim X Window verziója, az Athena felhasználásával
596 Summary(pl.UTF-8):      Vim dla X Window korzystający z biblioteki Athena
597 Group:          Applications/Editors/Vim
598 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
599 Requires:       iconv
600 Provides:       gvim
601 Provides:       vi-editor
602 Provides:       vim-editor = %{epoch}:%{version}-%{release}
603 Obsoletes:      vim-X11
604
605 %description -n gvim-athena
606 The classic Unix text editor now also under X Window System! This
607 version is built with Athena Widget Set.
608
609 %description -n gvim-athena -l hu.UTF-8
610 A Vim X Window verziója, az Athena Widgetkészlet felhasználásával.
611
612 %description -n gvim-athena -l pl.UTF-8
613 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
614 biblioteki Athena Widget Set.
615
616 %description -n gvim-athena -l ru.UTF-8
617 Этот пакет представляет собой версию VIM, собранную с библиотеками
618 Athena Widget Set, что позволяет запускать VIM как приложение X Window
619 System - с полностью графическим интерфейсом и поддержкой мыши.
620
621 %description -n gvim-athena -l uk.UTF-8
622 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
623 Set, що дозволяє запускати VIM як прикладну програму X Window System -
624 з повністю графічним інтерфейсом та підтримкою миші.
625
626 %package -n gvim-motif
627 Summary:        Vim for X Window System built with Motif
628 Summary(hu.UTF-8):      A Vim X Window verziója, a Motif felhasználásával
629 Summary(pl.UTF-8):      Vim dla systemu X Window korzystający z biblioteki Motif
630 Group:          Applications/Editors/Vim
631 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
632 Requires:       iconv
633 Provides:       gvim
634 Provides:       vi-editor
635 Provides:       vim-editor = %{epoch}:%{version}-%{release}
636 Obsoletes:      vim-X11
637
638 %description -n gvim-motif
639 The classic Unix text editor now also under X Window System! This
640 version is built with Motif.
641
642 %description -n gvim-motif -l hu.UTF-8
643 A Vim X Window verziója, a Motif Widgetkészlet felhasználásával.
644
645 %description -n gvim-motif -l pl.UTF-8
646 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
647 biblioteki Motif.
648
649 %description -n gvim-motif -l ru.UTF-8
650 Этот пакет представляет собой версию VIM, собранную с библиотеками
651 Motif, что позволяет запускать VIM как приложение X Window System - с
652 полностью графическим интерфейсом и поддержкой мыши.
653
654 %description -n gvim-motif -l uk.UTF-8
655 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
656 дозволяє запускати VIM як прикладну програму X Window System - з
657 повністю графічним інтерфейсом та підтримкою миші.
658
659 %package -n gvim-gtk
660 Summary:        Vim for X Window System built with GTK+
661 Summary(hu.UTF-8):      A Vim X Window verziója, a GTK+ felhasználásával
662 Summary(pl.UTF-8):      Vim dla systemu X Window korzystający z biblioteki GTK+
663 Group:          Applications/Editors/Vim
664 Requires(post,postun):  gtk-update-icon-cache
665 Requires(post,postun):  hicolor-icon-theme
666 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
667 Requires:       %{name}-rt-extras = %{epoch}:%{version}-%{release}
668 Requires:       iconv
669 Provides:       gvim
670 Provides:       vi-editor
671 Provides:       vim-editor = %{epoch}:%{version}-%{release}
672 Obsoletes:      vim-X11
673
674 %description -n gvim-gtk
675 The classic Unix text editor now also under X Window System! This
676 version is built with GTK+.
677
678 %description -n gvim-gtk -l hu.UTF-8
679 A Vim X Window verziója, a GTK+ Widgetkészlet felhasználásával.
680
681 %description -n gvim-gtk -l pl.UTF-8
682 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
683 biblioteki GTK+.
684
685 %description -n gvim-gtk -l ru.UTF-8
686 Этот пакет представляет собой версию VIM, собранную с библиотеками
687 GTK, что позволяет запускать VIM как приложение X Window System - с
688 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
689 'gvim'...
690
691 %description -n gvim-gtk -l uk.UTF-8
692 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
693 запускати VIM як прикладну програму X Window System - з повністю
694 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
695
696 %package -n gvim-gnome
697 Summary:        Vim for X Window System built with GNOME
698 Summary(hu.UTF-8):      A Vim X Window verziója, a GNOME felhasználásával
699 Summary(pl.UTF-8):      Vim dla systemu X Window korzystający z biblioteki GNOME
700 Group:          Applications/Editors/Vim
701 Requires(post,postun):  gtk-update-icon-cache
702 Requires(post,postun):  hicolor-icon-theme
703 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
704 Requires:       %{name}-rt-extras = %{epoch}:%{version}-%{release}
705 Requires:       iconv
706 Provides:       gvim
707 Provides:       vi-editor
708 Provides:       vim-editor = %{epoch}:%{version}-%{release}
709 Obsoletes:      vim-X11
710
711 %description -n gvim-gnome
712 The classic Unix text editor now also under X Window System! This
713 version is build with GNOME.
714
715 %description -n gvim-gnome -l hu.UTF-8
716 A Vim X Window verziója, a GNOME felhasználásával.
717
718 %description -n gvim-gnome -l pl.UTF-8
719 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
720 bibliotek GNOME.
721
722 %description -n gvim-gnome -l ru.UTF-8
723 Этот пакет представляет собой версию VIM, собранную с библиотеками
724 GNOME, что позволяет запускать VIM как приложение X Window System - с
725 полностью графическим интерфейсом и поддержкой мыши.
726
727 %description -n gvim-gnome -l uk.UTF-8
728 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
729 дозволяє запускати VIM як прикладну програму X Window System - з
730 повністю графічним інтерфейсом та підтримкою миші.
731
732 %package -n gvim-heavy
733 Summary:        Full featured build of Vim with X Window support
734 Summary(hu.UTF-8):      A gvim legteljesebb verziója
735 Summary(pl.UTF-8):      W pełni funkcjonalna wersja Vima z interfejsem dla X Window
736 Group:          Applications/Editors/Vim
737 Requires(post,postun):  gtk-update-icon-cache
738 Requires(post,postun):  hicolor-icon-theme
739 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
740 Requires:       %{name}-rt-extras = %{epoch}:%{version}-%{release}
741 Requires:       iconv
742 Provides:       gvim
743 Provides:       vi-editor
744 Provides:       vim-editor = %{epoch}:%{version}-%{release}
745 Obsoletes:      vim-X11
746
747 %description -n gvim-heavy
748 This package provides full featured version of Vim, which includes
749 support for Perl, Python, Ruby and Tcl scripting, as well as GTK+2
750 GUI.
751
752 %description -n gvim-heavy -l hu.UTF-8
753 A gvim legteljesebb verziója, Perl, Python, Ruby és Tcl támogatással.
754
755 %description -n gvim-heavy -l pl.UTF-8
756 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
757 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl
758 jak również GUI GTK+2.
759
760 %prep
761 %setup -q
762
763 cp -p runtime/gvim.desktop gvim-athena.desktop
764 cp -p runtime/gvim.desktop gvim-gnome.desktop
765 cp -p runtime/gvim.desktop gvim-gtk.desktop
766 cp -p runtime/gvim.desktop gvim-motif.desktop
767
768 %patch0 -p1
769
770 %patch2 -p1
771 %patch3 -p1
772
773 %patch5 -p1
774 %patch6 -p1
775 %patch7 -p1
776 %patch8 -p1
777
778 %patch10 -p1
779 %patch11 -p1
780 %patch12 -p1
781 %patch14 -p1
782 %patch15 -p1
783 %patch17 -p1
784 %patch18 -p1
785 %patch19 -p1
786 %patch20 -p1
787 %patch21 -p1
788 %patch22 -p1
789 %patch23 -p1
790 %patch24 -p1
791 %patch25 -p1
792 %{?with_home_etc:%patch26 -p1}
793
794 # autopaste patch - automatically switch to paste mode
795 # when `really fast typing' situation happens
796 %patch27 -p1
797 %patch28 -p1
798 %patch29 -p1
799 %patch30 -p1
800 %patch32 -p1
801
802 %patch34 -p1
803 %patch35 -p1
804
805 %patch37 -p1
806 %patch38 -p1
807 %patch39 -p1
808 %patch40 -p1
809 %patch41 -p1
810
811 cp -p %{SOURCE20} runtime/syntax
812 cp -p %{SOURCE22} runtime/syntax
813 cp -p %{SOURCE30} runtime/colors
814 cp -p %{SOURCE31} runtime/colors
815 cp -p %{SOURCE32} runtime/colors
816
817 %{__unzip} -qd runtime/doc %{SOURCE2}
818
819 # not info files but some binary files for Amiga:
820 # Amiga Workbench drawer icon
821 # Amiga Workbench project icon
822 # Amiga Workbench tool icon
823 find -name '*.info' | xargs rm -v
824
825 %build
826 cd src
827 %{__autoconf}
828 # needed to prevent deconfiguring
829 cp -f configure auto
830 install -d bin
831
832 build() {
833         set -x
834         local target=$1
835         shift
836
837         %configure \
838 %if "%{pld_release}" == "ac"
839                 --with-tlib="ncurses -ltinfo"
840 %else
841                 --with-tlib="ncursesw"
842 %endif
843
844         %{__make} -j1 distclean
845         # add common options, can override (disable) if needed with args
846         %configure \
847                 --%{!?with_lua:dis}%{?with_lua:en}able-luainterp \
848                 --%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
849                 --%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
850                 --%{!?with_python3:dis}%{?with_python3:en}able-python3interp \
851                 --%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
852                 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
853                 %{!?with_selinux:--disable-selinux} \
854                 --enable-cscope \
855                 --enable-gpm \
856                 --enable-multibyte \
857                 --enable-nls \
858 %if "%{pld_release}" == "ac"
859                 --with-tlib="ncurses -ltinfo" \
860 %else
861                 --with-tlib="ncursesw" \
862 %endif
863                 --with-modified-by="PLD Linux Distribution" \
864                 --with-compiledby="PLD Linux Distribution" \
865                 "$@"
866
867         %{__make} vim
868         mv -f vim bin/$target
869 }
870
871 %if %{with static}
872 LDFLAGS="%{rpmldflags} -static"
873 build vim.static \
874         --disable-gui \
875         --without-x \
876         --with-features=small \
877         --disable-canberra \
878         --disable-luainterp \
879         --disable-perlinterp \
880         --disable-pythoninterp \
881         --disable-python3interp \
882         --disable-rubyinterp \
883         --disable-tclinterp \
884         --disable-cscope \
885         --disable-gpm \
886         --enable-multibyte \
887         --disable-nls
888
889 LDFLAGS="%{rpmldflags}"
890 %endif
891
892 %if %{with light}
893 build vim.light \
894         --disable-gui \
895         --without-x \
896         --with-features=small \
897         --disable-canberra \
898         --disable-luainterp \
899         --disable-perlinterp \
900         --disable-pythoninterp \
901         --disable-python3interp \
902         --disable-rubyinterp \
903         --disable-tclinterp \
904         --disable-cscope \
905         --disable-gpm \
906         --disable-nls
907 %endif
908
909 build vim.ncurses \
910         --disable-gui \
911         %{__with_without x} \
912         --disable-canberra \
913         --with-features=huge
914
915 %if %{with x11}
916 build vimx \
917         --disable-gui \
918         --with-x \
919         --disable-canberra \
920         --with-features=huge
921 %endif
922
923 %if %{with athena}
924 build gvim.athena \
925         --with-features=huge \
926         --enable-gui=athena \
927         --with-x \
928         --enable-fontset \
929         --disable-canberra \
930         --disable-gpm \
931         --without-gnome
932
933 %endif
934
935 %if %{with motif}
936 build gvim.motif \
937         --with-features=huge \
938         --enable-gui=motif \
939         --with-x \
940         --enable-multibyte \
941         --enable-fontset \
942         --disable-canberra \
943         --disable-gpm \
944         --without-gnome
945
946 %endif
947
948 %if %{with gtk}
949 build gvim.gtk \
950         --with-features=huge \
951 %if %{with gtk3}
952         --enable-gui=gtk3 \
953         --enable-gtk3-check \
954 %else
955         --enable-gui=gtk2 \
956         --enable-gtk2-check \
957 %endif
958         --with-x \
959         --disable-canberra \
960         --disable-gpm
961
962 %endif
963
964 %if %{with gnome}
965 build gvim.gnome \
966         --with-features=huge \
967         --enable-gui=gnome2 \
968         --enable-gtk2-check \
969         --enable-gnome-check \
970         --with-x \
971         --disable-gpm
972
973 %endif
974
975 # vim.heavy / gvim.heavy
976 %if %{with heavy}
977 build vim.heavy \
978         --with-features=huge \
979         --disable-gui \
980         --without-x \
981         --enable-luainterp \
982         --enable-perlinterp \
983         --enable-pythoninterp \
984         --enable-python3interp \
985         --enable-rubyinterp \
986         --enable-tclinterp \
987         --disable-canberra \
988         --disable-gpm
989
990 build gvim.heavy \
991         --with-features=huge \
992         --enable-gui=gnome2 \
993         --enable-gtk2-check \
994         --enable-gnome-check \
995         --with-x \
996         --enable-luainterp \
997         --enable-perlinterp \
998         --enable-pythoninterp \
999         --enable-python3interp \
1000         --enable-rubyinterp \
1001         --enable-tclinterp \
1002         --disable-gpm
1003 %endif
1004
1005 %{__make} xxd/xxd languages
1006
1007 %install
1008 rm -rf $RPM_BUILD_ROOT
1009
1010 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1011         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim/ftdetect} \
1012         $RPM_BUILD_ROOT%{_desktopdir}
1013
1014 %{__make} -j1 install \
1015         DESTDIR=$RPM_BUILD_ROOT
1016
1017 # generic gvim from upstream, but we have bunch of subpackages
1018 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/gvim.desktop
1019
1020 # fix nb/no
1021 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}
1022 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}.utf-8
1023 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.latin1.vim
1024 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.utf-8.vim
1025 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.latin1.vim
1026 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.utf-8.vim
1027
1028 # remove unsupported locales
1029 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ko.UTF-8
1030 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
1031 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.UTF-8
1032 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_TW.UTF-8
1033 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
1034 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
1035 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
1036 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
1037 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
1038 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
1039 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
1040 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
1041 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
1042 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_zh_{cn,tw}.utf-8.vim
1043
1044 %find_lang %{name}
1045
1046 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*
1047
1048 %if %{with static}
1049 install -p src/bin/vim.ncurses  $RPM_BUILD_ROOT%{_bindir}/vim
1050 install -p src/bin/vim.static   $RPM_BUILD_ROOT/bin/vi
1051 %else
1052 install -p src/bin/vim.ncurses  $RPM_BUILD_ROOT/bin/vi
1053 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
1054 %endif
1055 %if %{with x11}
1056 install -p src/bin/vimx $RPM_BUILD_ROOT%{_bindir}/vimx
1057 %endif
1058 install -p src/xxd/xxd  $RPM_BUILD_ROOT%{_bindir}/xxd
1059 install -p src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
1060
1061 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1062 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1063
1064 # not supported directories
1065 %{__rm} -r $RPM_BUILD_ROOT%{_mandir}/??.*/
1066
1067 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/vimrc_example.vim,%{_sysconfdir}/vim/vimrc}
1068 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/gvimrc_example.vim,%{_sysconfdir}/vim/gvimrc}
1069
1070 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1071 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
1072 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
1073 ln -sf vi  $RPM_BUILD_ROOT/bin/view
1074 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
1075
1076 %if %{with athena}
1077 install -p src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1078 cp -p gvim-athena.desktop $RPM_BUILD_ROOT%{_desktopdir}
1079 %endif
1080 %if %{with motif}
1081 install -p src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1082 cp -p gvim-motif.desktop $RPM_BUILD_ROOT%{_desktopdir}
1083 %endif
1084 %if %{with gnome}
1085 install -p src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1086 cp -p gvim-gnome.desktop $RPM_BUILD_ROOT%{_desktopdir}
1087 %endif
1088 %if %{with gtk}
1089 install -p src/bin/gvim.gtk     $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1090 cp -p gvim-gtk.desktop $RPM_BUILD_ROOT%{_desktopdir}
1091 ln -sf gvim.gtk         $RPM_BUILD_ROOT%{_bindir}/gvim
1092 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/eview
1093 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/evim
1094 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gview
1095 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gvimdiff
1096 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgview
1097 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgvim
1098 %endif
1099 %if %{with heavy}
1100 install -p src/bin/vim.heavy    $RPM_BUILD_ROOT%{_bindir}
1101 install -p src/bin/gvim.heavy   $RPM_BUILD_ROOT%{_bindir}
1102 %endif
1103 %if %{with light}
1104 install -p src/bin/vim.light    $RPM_BUILD_ROOT%{_bindir}
1105 %endif
1106
1107 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
1108 mv $RPM_BUILD_ROOT{%{_iconsdir}/hicolor/48x48/apps,%{_pixmapsdir}}/gvim.png
1109
1110 # locolor scheme no longer supported
1111 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/locolor
1112
1113 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1114
1115 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1116 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1117
1118 # separate package
1119 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/{ftplugin,syntax}/spec.vim
1120
1121 # unuseful
1122 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/tools
1123 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/bugreport.vim
1124 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/check_locales.vim
1125 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/cleanadd.vim
1126 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/fixdup.vim
1127 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/doc/vim2html.pl
1128
1129 %clean
1130 rm -rf $RPM_BUILD_ROOT
1131
1132 %post
1133 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1134
1135 %postun
1136 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1137
1138 %post doc
1139 %vim_doc_helptags
1140
1141 %postun doc
1142 %vim_doc_helptags
1143
1144 %post -n gvim-athena
1145 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1146
1147 %postun -n gvim-athena
1148 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1149
1150 %post -n gvim-motif
1151 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1152
1153 %postun -n gvim-motif
1154 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1155
1156 %post -n gvim-gtk
1157 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1158 %update_icon_cache hicolor
1159
1160 %postun -n gvim-gtk
1161 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1162 %update_icon_cache hicolor
1163
1164 %post -n gvim-gnome
1165 %update_desktop_database_post
1166 %update_icon_cache hicolor
1167
1168 %postun -n gvim-gnome
1169 %update_desktop_database_postun
1170 %update_icon_cache hicolor
1171
1172 %post -n gvim-heavy
1173 %update_icon_cache hicolor
1174
1175 %postun -n gvim-heavy
1176 %update_icon_cache hicolor
1177
1178 %files
1179 %defattr(644,root,root,755)
1180 %attr(755,root,root) %{_bindir}/rvim
1181 %attr(755,root,root) %{_bindir}/vim
1182 %attr(755,root,root) %{_bindir}/vimdiff
1183 %{_mandir}/man1/rvim.1*
1184 %{_mandir}/man1/vimdiff.1*
1185 %lang(da) %{_mandir}/da/man1/rvim.1*
1186 %lang(da) %{_mandir}/da/man1/vimdiff.1*
1187 %lang(de) %{_mandir}/de/man1/rvim.1*
1188 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1189 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1190 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1191 %lang(id) %{_mandir}/id/man1/rvim.1*
1192 %lang(it) %{_mandir}/it/man1/rvim.1*
1193 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1194 %lang(ja) %{_mandir}/ja/man1/rvim.1*
1195 %lang(ja) %{_mandir}/ja/man1/vimdiff.1*
1196 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1197 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1198 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1199 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1200 %lang(tr) %{_mandir}/tr/man1/rvim.1*
1201 %lang(tr) %{_mandir}/tr/man1/vimdiff.1*
1202 %{_desktopdir}/vim.desktop
1203
1204 %if %{with static}
1205 %files static
1206 %endif
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) /bin/ex
1209 %attr(755,root,root) /bin/rview
1210 %attr(755,root,root) /bin/vi
1211 %attr(755,root,root) /bin/view
1212 %{_mandir}/man1/vi.1*
1213 %{_mandir}/man1/ex.1*
1214 %{_mandir}/man1/view.1*
1215 %{_mandir}/man1/rview.1*
1216 %lang(da) %{_mandir}/da/man1/ex.1*
1217 %lang(da) %{_mandir}/da/man1/rview.1*
1218 %lang(da) %{_mandir}/da/man1/view.1*
1219 %lang(de) %{_mandir}/de/man1/ex.1*
1220 %lang(de) %{_mandir}/de/man1/rview.1*
1221 %lang(de) %{_mandir}/de/man1/view.1*
1222 %lang(fi) %{_mandir}/fi/man1/vi.1*
1223 %lang(fi) %{_mandir}/fi/man1/ex.1*
1224 %lang(fi) %{_mandir}/fi/man1/view.1*
1225 %lang(fi) %{_mandir}/fi/man1/rview.1*
1226 %lang(fr) %{_mandir}/fr/man1/vi.1*
1227 %lang(fr) %{_mandir}/fr/man1/ex.1*
1228 %lang(fr) %{_mandir}/fr/man1/view.1*
1229 %lang(fr) %{_mandir}/fr/man1/rview.1*
1230 %lang(id) %{_mandir}/id/man1/vi.1*
1231 %lang(id) %{_mandir}/id/man1/ex.1*
1232 %lang(id) %{_mandir}/id/man1/view.1*
1233 %lang(id) %{_mandir}/id/man1/rview.1*
1234 #%lang(it) %{_mandir}/it/man1/vi.1*
1235 %lang(it) %{_mandir}/it/man1/ex.1*
1236 %lang(it) %{_mandir}/it/man1/view.1*
1237 %lang(it) %{_mandir}/it/man1/rview.1*
1238 %lang(ja) %{_mandir}/ja/man1/ex.1*
1239 %lang(ja) %{_mandir}/ja/man1/view.1*
1240 %lang(ja) %{_mandir}/ja/man1/rview.1*
1241 %lang(pl) %{_mandir}/pl/man1/vi.1*
1242 %lang(pl) %{_mandir}/pl/man1/ex.1*
1243 %lang(pl) %{_mandir}/pl/man1/view.1*
1244 %lang(pl) %{_mandir}/pl/man1/rview.1*
1245 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1246 %lang(ru) %{_mandir}/ru/man1/ex.1*
1247 %lang(ru) %{_mandir}/ru/man1/view.1*
1248 %lang(ru) %{_mandir}/ru/man1/rview.1*
1249 %lang(tr) %{_mandir}/tr/man1/ex.1*
1250 %lang(tr) %{_mandir}/tr/man1/view.1*
1251 %lang(tr) %{_mandir}/tr/man1/rview.1*
1252
1253 %files -n xxd
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_bindir}/xxd
1256 %{_mandir}/man1/xxd.1*
1257 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1258 %lang(it) %{_mandir}/it/man1/xxd.1*
1259 %lang(ja) %{_mandir}/ja/man1/xxd.1*
1260 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1261 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1262
1263 %files rt -f %{name}.lang
1264 %defattr(644,root,root,755)
1265 %dir %{_sysconfdir}/vim
1266 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1267 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1268
1269 %dir %{_datadir}/vim
1270 %dir %{_datadir}/vim/doc
1271 %verify(not md5 mtime size) %{_datadir}/vim/doc/tags
1272 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
1273 %verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
1274
1275 %dir %{_datadir}/vim/vimfiles
1276 %dir %{_datadir}/vim/vimfiles/doc
1277 %dir %{_datadir}/vim/vimfiles/after
1278 %dir %{_datadir}/vim/vimfiles/after/compiler
1279 %dir %{_datadir}/vim/vimfiles/after/ftdetect
1280 %dir %{_datadir}/vim/vimfiles/after/ftplugin
1281 %dir %{_datadir}/vim/vimfiles/after/indent
1282 %dir %{_datadir}/vim/vimfiles/after/plugin
1283 %dir %{_datadir}/vim/vimfiles/after/spell
1284 %dir %{_datadir}/vim/vimfiles/after/syntax
1285 %dir %{_datadir}/vim/vimfiles/compiler
1286 %dir %{_datadir}/vim/vimfiles/ftdetect
1287 %dir %{_datadir}/vim/vimfiles/ftplugin
1288 %dir %{_datadir}/vim/vimfiles/indent
1289 %dir %{_datadir}/vim/vimfiles/plugin
1290 %dir %{_datadir}/vim/vimfiles/spell
1291 %dir %{_datadir}/vim/vimfiles/syntax
1292
1293 %{_datadir}/vim/*.vim
1294
1295 %dir %{_datadir}/vim/autoload
1296 %{_datadir}/vim/autoload/*complete.vim
1297 %doc %{_datadir}/vim/autoload/README.txt
1298 %dir %{_datadir}/vim/autoload/dist
1299 %{_datadir}/vim/autoload/dist/ft.vim
1300 %{_datadir}/vim/autoload/dist/man.vim
1301 %{_datadir}/vim/autoload/dist/script.vim
1302
1303 %dir %{_datadir}/vim/ftdetect
1304
1305 %dir %{_datadir}/vim/ftplugin
1306 %doc %{_datadir}/vim/ftplugin/README.txt
1307 %{_datadir}/vim/ftplugin/*.vim
1308 %{_datadir}/vim/ftplugin/logtalk.dict
1309
1310 %dir %{_datadir}/vim/import
1311 %dir %{_datadir}/vim/import/dist
1312 %{_datadir}/vim/import/dist/vimhelp.vim
1313
1314 %dir %{_datadir}/vim/indent
1315 %doc %{_datadir}/vim/indent/README.txt
1316 %{_datadir}/vim/indent/*.vim
1317
1318 %dir %{_datadir}/vim/keymap
1319 %doc %{_datadir}/vim/keymap/README.txt
1320 %{_datadir}/vim/keymap/*.vim
1321
1322 %{_datadir}/vim/pack
1323
1324 %dir %{_datadir}/vim/plugin
1325 %doc %{_datadir}/vim/plugin/README.txt
1326
1327 %dir %{_datadir}/vim/syntax
1328 %doc %{_datadir}/vim/syntax/README.txt
1329 %{_datadir}/vim/syntax/*.vim
1330
1331 %dir %{_datadir}/vim/colors
1332 %doc %{_datadir}/vim/colors/README.txt
1333 %{_datadir}/vim/colors/*.vim
1334 %dir %{_datadir}/vim/colors/lists
1335 %{_datadir}/vim/colors/lists/*.vim
1336 %dir %{_datadir}/vim/colors/tools
1337 %{_datadir}/vim/colors/tools/check_colors.vim
1338
1339 %dir %{_datadir}/vim/lang
1340 %doc %{_datadir}/vim/lang/README*
1341
1342 %lang(af) %{_datadir}/vim/lang/menu_af*
1343 %lang(ca) %{_datadir}/vim/lang/menu_ca*
1344 %lang(cs) %{_datadir}/vim/lang/menu_cs*
1345 %lang(cs) %{_datadir}/vim/lang/menu_*czech*
1346 %lang(da) %{_datadir}/vim/lang/menu_da*
1347 %lang(de) %{_datadir}/vim/lang/menu_de*
1348 %lang(de) %{_datadir}/vim/lang/menu_*german*
1349 %lang(en_GB) %{_datadir}/vim/lang/menu_en_gb*
1350 %lang(en_GB) %{_datadir}/vim/lang/menu_*english*
1351 %lang(eo) %{_datadir}/vim/lang/menu_eo.utf-8.vim
1352 %lang(eo) %{_datadir}/vim/lang/menu_eo_eo.utf-8.vim
1353 %lang(eo) %{_datadir}/vim/lang/menu_eo_xx.utf-8.vim
1354 %lang(es) %{_datadir}/vim/lang/menu_es*
1355 %lang(es) %{_datadir}/vim/lang/menu_*spanish*
1356 %lang(fi) %{_datadir}/vim/lang/menu_fi.latin1.vim
1357 %lang(fi) %{_datadir}/vim/lang/menu_fi.utf-8.vim
1358 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.latin1.vim
1359 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.utf-8.vim
1360 %lang(fi) %{_datadir}/vim/lang/menu_finnish_finland.1252.vim
1361 %lang(fr) %{_datadir}/vim/lang/menu_fr*
1362 %lang(hu) %{_datadir}/vim/lang/menu_hu*
1363 %lang(is) %{_datadir}/vim/lang/menu_is*
1364 %lang(it) %{_datadir}/vim/lang/menu_it*
1365 %lang(ja) %{_datadir}/vim/lang/menu_ja*
1366 %lang(ko) %{_datadir}/vim/lang/menu_ko*
1367 %lang(nl) %{_datadir}/vim/lang/menu_nl*
1368 %lang(nb) %{_datadir}/vim/lang/menu_nb*
1369 %lang(pl) %{_datadir}/vim/lang/menu_pl*
1370 %lang(pl) %{_datadir}/vim/lang/menu_*polish*
1371 %lang(pt) %{_datadir}/vim/lang/menu_pt*
1372 %lang(ru) %{_datadir}/vim/lang/menu_ru*
1373 %lang(sk) %{_datadir}/vim/lang/menu_sk*
1374 %lang(sk) %{_datadir}/vim/lang/menu_*slovak*
1375 %lang(sl) %{_datadir}/vim/lang/menu_sl_si*
1376 %lang(sr) %{_datadir}/vim/lang/menu_sr*
1377 %lang(sv) %{_datadir}/vim/lang/menu_sv*
1378 %lang(tr) %{_datadir}/vim/lang/menu_tr*
1379 %lang(uk) %{_datadir}/vim/lang/menu_uk*
1380 %lang(vi) %{_datadir}/vim/lang/menu_vi*
1381 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.cp936*
1382 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.gb2312*
1383 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh_cn*
1384 %lang(zh_CN) %{_datadir}/vim/lang/menu_*chinese*gb*
1385 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.cp950*
1386 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.big5*
1387 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh_tw*
1388 %lang(zh_TW) %{_datadir}/vim/lang/menu_*taiwan*
1389
1390 %dir %{_datadir}/vim/spell
1391 %{_datadir}/vim/spell/spell.vim
1392 %lang(he) %{_datadir}/vim/spell/he.*
1393 %lang(yi) %{_datadir}/vim/spell/yi.*
1394
1395 %{_mandir}/man1/vim.1*
1396 %lang(da) %{_mandir}/da/man1/vim.1*
1397 %lang(de) %{_mandir}/de/man1/vim.1*
1398 %lang(fi) %{_mandir}/fi/man1/vim.1*
1399 %lang(fr) %{_mandir}/fr/man1/vim.1*
1400 %lang(id) %{_mandir}/id/man1/vim.1*
1401 %lang(it) %{_mandir}/it/man1/vim.1*
1402 %lang(ja) %{_mandir}/ja/man1/vim.1*
1403 %lang(pl) %{_mandir}/pl/man1/vim.1*
1404 %lang(ru) %{_mandir}/ru/man1/vim.1*
1405 %lang(tr) %{_mandir}/tr/man1/vim.1*
1406 %{_pixmapsdir}/gvim.png
1407
1408 # plugins in base -rt package
1409 %{_datadir}/vim/autoload/gzip.vim
1410 %{_datadir}/vim/plugin/gzip.vim
1411 %{_datadir}/vim/plugin/matchparen.vim
1412
1413 %files rt-extras
1414 %defattr(644,root,root,755)
1415 %{_datadir}/vim/plugin/*.vim
1416 %{_datadir}/vim/autoload/*.vim
1417 %exclude %{_datadir}/vim/autoload/*complete.vim
1418 %{_datadir}/vim/autoload/xml
1419 %{_datadir}/vim/compiler
1420 %{_datadir}/vim/macros
1421 %{_datadir}/vim/print
1422
1423 # plugins in base -rt package
1424 %exclude %{_datadir}/vim/autoload/gzip.vim
1425 %exclude %{_datadir}/vim/plugin/gzip.vim
1426 %exclude %{_datadir}/vim/plugin/matchparen.vim
1427
1428 %files doc
1429 %defattr(644,root,root,755)
1430 # English
1431 %{_datadir}/vim/doc/*.txt
1432
1433 # Polish
1434 %lang(pl) %{_datadir}/vim/doc/*.plx
1435
1436 %files tutor
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{_bindir}/vimtutor
1439 %dir %{_datadir}/vim/tutor
1440 %{_datadir}/vim/tutor/tutor
1441
1442 %{_datadir}/vim/tutor/README.txt
1443 %{_datadir}/vim/tutor/tutor.vim
1444 %{_datadir}/vim/tutor/tutor.utf-8
1445 %lang(el) %{_datadir}/vim/tutor/README.el.cp737.txt
1446 %lang(el) %{_datadir}/vim/tutor/README.el.txt
1447
1448 %lang(de) %{_datadir}/vim/tutor/tutor.bar
1449 %lang(de) %{_datadir}/vim/tutor/tutor.bar.utf-8
1450 %lang(bg) %{_datadir}/vim/tutor/tutor.bg.utf-8
1451 %lang(ca) %{_datadir}/vim/tutor/tutor.ca
1452 %lang(ca) %{_datadir}/vim/tutor/tutor.ca.utf-8
1453 %lang(cs) %{_datadir}/vim/tutor/tutor.cs
1454 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.cp1250
1455 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.utf-8
1456 %lang(da) %{_datadir}/vim/tutor/tutor.da
1457 %lang(da) %{_datadir}/vim/tutor/tutor.da.utf-8
1458 %lang(de) %{_datadir}/vim/tutor/tutor.de
1459 %lang(de) %{_datadir}/vim/tutor/tutor.de.utf-8
1460 %lang(el) %{_datadir}/vim/tutor/tutor.el
1461 %lang(el) %{_datadir}/vim/tutor/tutor.el.cp737
1462 %lang(el) %{_datadir}/vim/tutor/tutor.el.utf-8
1463 %lang(eo) %{_datadir}/vim/tutor/tutor.eo
1464 %lang(eo) %{_datadir}/vim/tutor/tutor.eo.utf-8
1465 %lang(es) %{_datadir}/vim/tutor/tutor.es
1466 %lang(es) %{_datadir}/vim/tutor/tutor.es.utf-8
1467 %lang(fr) %{_datadir}/vim/tutor/tutor.fr
1468 %lang(fr) %{_datadir}/vim/tutor/tutor.fr.utf-8
1469 %lang(hr) %{_datadir}/vim/tutor/tutor.hr
1470 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.cp1250
1471 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.utf-8
1472 %lang(hu) %{_datadir}/vim/tutor/tutor.hu
1473 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.cp1250
1474 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.utf-8
1475 %lang(it) %{_datadir}/vim/tutor/tutor.it
1476 %lang(it) %{_datadir}/vim/tutor/tutor.it.utf-8
1477 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.euc
1478 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.sjis
1479 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8
1480 %lang(ko) %{_datadir}/vim/tutor/tutor.ko
1481 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc
1482 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8
1483 %lang(lv) %{_datadir}/vim/tutor/tutor.lv.utf-8
1484 %lang(nl) %{_datadir}/vim/tutor/tutor.nl
1485 %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8
1486 %lang(nb) %{_datadir}/vim/tutor/tutor.nb
1487 %lang(nb) %{_datadir}/vim/tutor/tutor.nb.utf-8
1488 %lang(pl) %{_datadir}/vim/tutor/tutor.pl
1489 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.cp1250
1490 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.utf-8
1491 %lang(pt) %{_datadir}/vim/tutor/tutor.pt
1492 %lang(pt) %{_datadir}/vim/tutor/tutor.pt.utf-8
1493 %lang(ru) %{_datadir}/vim/tutor/tutor.ru
1494 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.cp1251
1495 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.utf-8
1496 %lang(sk) %{_datadir}/vim/tutor/tutor.sk
1497 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.cp1250
1498 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.utf-8
1499 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.cp1250
1500 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.utf-8
1501 %lang(sv) %{_datadir}/vim/tutor/tutor.sv
1502 %lang(sv) %{_datadir}/vim/tutor/tutor.sv.utf-8
1503 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.iso9
1504 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.utf-8
1505 %lang(uk) %{_datadir}/vim/tutor/tutor.uk.utf-8
1506 %lang(vi) %{_datadir}/vim/tutor/tutor.vi.utf-8
1507 %lang(zh_CN) %{_datadir}/vim/tutor/tutor.zh_cn.utf-8
1508 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.big5
1509 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.euc
1510 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.utf-8
1511 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh_tw.utf-8
1512
1513 %{_mandir}/man1/vimtutor.1*
1514 %lang(da) %{_mandir}/da/man1/vimtutor.1*
1515 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1516 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1517 %lang(ja) %{_mandir}/ja/man1/vimtutor.1*
1518 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1519 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1520 %lang(tr) %{_mandir}/tr/man1/vimtutor.1*
1521
1522 %if %{with x11}
1523 %files -n vimx
1524 %defattr(644,root,root,755)
1525 %attr(755,root,root) %{_bindir}/vimx
1526 %endif
1527
1528 %if %{with heavy}
1529 %files heavy
1530 %defattr(644,root,root,755)
1531 %attr(755,root,root) %{_bindir}/vim.heavy
1532 %endif
1533
1534 %if %{with light}
1535 %files light
1536 %defattr(644,root,root,755)
1537 %attr(755,root,root) %{_bindir}/vim.light
1538 %endif
1539
1540 %files spell-en
1541 %defattr(644,root,root,755)
1542 %{_datadir}/vim/spell/en.*.*
1543
1544 %if %{with athena}
1545 %files -n gvim-athena
1546 %defattr(644,root,root,755)
1547 %attr(755,root,root) %{_bindir}/gvim.athena
1548 %{_desktopdir}/gvim-athena.desktop
1549 %endif
1550
1551 %if %{with motif}
1552 %files -n gvim-motif
1553 %defattr(644,root,root,755)
1554 %attr(755,root,root) %{_bindir}/gvim.motif
1555 %{_desktopdir}/gvim-motif.desktop
1556 %endif
1557
1558 %if %{with gtk}
1559 %files -n gvim-gtk
1560 %defattr(644,root,root,755)
1561 %attr(755,root,root) %{_bindir}/gvim.gtk
1562 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1563 %attr(755,root,root) %{_bindir}/eview
1564 %attr(755,root,root) %{_bindir}/evim
1565 %attr(755,root,root) %{_bindir}/gview
1566 %attr(755,root,root) %{_bindir}/gvimdiff
1567 %attr(755,root,root) %{_bindir}/rgview
1568 %attr(755,root,root) %{_bindir}/rgvim
1569 %{_mandir}/man1/eview.1*
1570 %{_mandir}/man1/evim.1*
1571 %{_mandir}/man1/gview.1*
1572 %{_mandir}/man1/gvim.1*
1573 %{_mandir}/man1/gvimdiff.1*
1574 %{_mandir}/man1/rgview.1*
1575 %{_mandir}/man1/rgvim.1*
1576 %lang(da) %{_mandir}/da/man1/gvi*.1*
1577 %lang(da) %{_mandir}/da/man1/rgv*.1*
1578 %lang(de) %{_mandir}/de/man1/gvi*.1*
1579 %lang(de) %{_mandir}/de/man1/rgv*.1*
1580 %lang(fi) %{_mandir}/fi/man1/gvi*.1*
1581 %lang(fi) %{_mandir}/fi/man1/rgv*.1*
1582 %lang(fr) %{_mandir}/fr/man1/eview.1*
1583 %lang(fr) %{_mandir}/fr/man1/evim.1*
1584 %lang(fr) %{_mandir}/fr/man1/gvi*.1*
1585 %lang(fr) %{_mandir}/fr/man1/rgv*.1*
1586 %lang(id) %{_mandir}/id/man1/gvi*.1*
1587 %lang(id) %{_mandir}/id/man1/rgv*.1*
1588 %lang(it) %{_mandir}/it/man1/eview.1*
1589 %lang(it) %{_mandir}/it/man1/evim.1*
1590 %lang(it) %{_mandir}/it/man1/gvi*.1*
1591 %lang(it) %{_mandir}/it/man1/rgv*.1*
1592 %lang(ja) %{_mandir}/ja/man1/eview.1*
1593 %lang(ja) %{_mandir}/ja/man1/evim.1*
1594 %lang(ja) %{_mandir}/ja/man1/gvi*.1*
1595 %lang(ja) %{_mandir}/ja/man1/rgv*.1*
1596 %lang(pl) %{_mandir}/pl/man1/eview.1*
1597 %lang(pl) %{_mandir}/pl/man1/evim.1*
1598 %lang(pl) %{_mandir}/pl/man1/gvi*.1*
1599 %lang(pl) %{_mandir}/pl/man1/rgv*.1*
1600 %lang(ru) %{_mandir}/ru/man1/eview.1*
1601 %lang(ru) %{_mandir}/ru/man1/evim.1*
1602 %lang(ru) %{_mandir}/ru/man1/gvi*.1*
1603 %lang(ru) %{_mandir}/ru/man1/rgv*.1*
1604 %lang(tr) %{_mandir}/tr/man1/eview.1*
1605 %lang(tr) %{_mandir}/tr/man1/evim.1*
1606 %lang(tr) %{_mandir}/tr/man1/gvi*.1*
1607 %lang(tr) %{_mandir}/tr/man1/rgv*.1*
1608 %{_desktopdir}/gvim-gtk.desktop
1609 %endif
1610
1611 %if %{with gnome}
1612 %files -n gvim-gnome
1613 %defattr(644,root,root,755)
1614 %attr(755,root,root) %{_bindir}/gvim.gnome
1615 %{_desktopdir}/gvim-gnome.desktop
1616 %endif
1617
1618 %if %{with heavy}
1619 %files -n gvim-heavy
1620 %defattr(644,root,root,755)
1621 %attr(755,root,root) %{_bindir}/gvim.heavy
1622 %endif
This page took 0.202345 seconds and 3 git commands to generate.