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