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