]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
8549e844d088fa719145ca2e92b9f8eb52a9e11e
[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/7.4/MD5SUMS -O sources
30 # tail -n1 sources | awk '{print $2}'
31 # VCS Commits: https://github.com/vim/vim/commits/master
32
33 %define         ver             8.0.0022
34 %define         rel             1
35 Summary:        Vi IMproved - a Vi clone
36 Summary(de.UTF-8):      VIsual editor iMproved
37 Summary(es.UTF-8):      Editor visual incrementado
38 Summary(fr.UTF-8):      Editeur VIM : VIsual editor iMproved
39 Summary(hu.UTF-8):      Vi IMproved - a Vi szerkesztő bővítése
40 Summary(pl.UTF-8):      Vi IMproved - klon edytora Vi
41 Summary(pt_BR.UTF-8):   Editor visual incrementado
42 Summary(ru.UTF-8):      Visual editor IMproved - Единственно Правильный Редактор :)
43 Summary(tr.UTF-8):      Gelişmiş bir vi sürümü
44 Summary(uk.UTF-8):      Visual editor IMproved - Єдино Вірний Редактор :)
45 Name:           vim
46 Version:        %{ver}
47 # keep macro for release, otherwise people tend to increment Epoch instead
48 Release:        %{rel}
49 Epoch:          4
50 License:        Charityware
51 Group:          Applications/Editors/Vim
52 #Source0:       ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
53 Source0:        https://github.com/vim/vim/archive/v%{ver}.tar.gz
54 # Source0-md5:  a1fcbd6d84b6ecf9c4ad061b4e24a9de
55 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
56 # Source1-md5:  bc4d1e115ca506ad7751b9bd2b773a7f
57 Source2:        http://skawina.eu.org/mikolaj/usr_doc_pl.zip
58 # Source2-md5:  ff96284b1c913d55cf0877839b34d490
59 Source15:       update-source.sh
60 # syntax files
61 # http://www.vim.org/scripts/script.php?script_id=1491 (0.7.5)
62 Source20:       javascript.vim
63 # http://www.vim.org/scripts/script.php?script_id=447 (20040206)
64 Source22:       exim.vim
65 # color schemes
66 # http://www.vim.org/scripts/script.php?script_id=415 (1.15)
67 Source30:       zenburn.vim
68 # http://www.vim.org/scripts/script.php?script_id=92 (1.0)
69 Source31:       borland.vim
70 # http://www.vim.org/scripts/script.php?script_id=368 (1.2.5)
71 Source32:       oceandeep.vim
72 # http://www.vim.org/scripts/script.php?script_id=1464 (2.6.3)
73 Source33:       moria.vim
74 Patch0:         %{name}-sysconfdir.patch
75
76 Patch2:         %{name}-paths.patch
77 Patch3:         %{name}-no_libelf.patch
78 Patch4:         %{name}-egrep.patch
79 Patch5:         %{name}-awk.patch
80 Patch6:         %{name}-filetype_vim-perl_tests.patch
81 Patch7:         %{name}-apache.patch
82 Patch8:         %{name}-po-syntax.patch
83 Patch9:         %{name}-modprobe.patch
84 Patch10:        %{name}-doubleparenthesis.patch
85 Patch11:        %{name}-syntax-fstab.patch
86 Patch12:        010_all_%{name}-6.3-vixie.patch
87 Patch14:        020_all_%{name}-7.0-fstab-tmpfs-size.patch
88 Patch15:        021_all_%{name}-7.0-fstab-bogus-errors.patch
89 Patch17:        027_all_%{name}-7.0-automake-substitutions-93378.patch
90 Patch18:        %{name}-smarty.patch
91 Patch19:        %{name}-tutor-lessdeps.patch
92 Patch20:        %{name}-nagios.patch
93 Patch21:        %{name}-filetypes.patch
94 Patch22:        %{name}-man_installation.patch
95 Patch23:        %{name}-vimrc.patch
96 Patch24:        %{name}-syntax-exports.patch
97 Patch25:        sudoers-include.patch
98 Patch26:        %{name}-home_etc.patch
99 Patch27:        %{name}-autopaste.patch
100 Patch28:        %{name}-ft-cron.patch
101 Patch29:        %{name}-phpscript.patch
102 Patch30:        %{name}-pam.patch
103 Patch32:        %{name}-localedir.patch
104 Patch33:        %{name}-locales.patch
105 Patch34:        %{name}-rtdir.patch
106 Patch35:        %{name}-ft-mib.patch
107 Patch36:        %{name}-ft-lib-udevrules.patch
108 Patch37:        %{name}-ft-mysql.patch
109 Patch38:        %{name}-ft-gyp.patch
110 Patch39:        %{name}-revert-7.4.165-noundo.patch
111 Patch40:        desktop.patch
112 Patch41:        %{name}-lua.patch
113 URL:            http://www.vim.org/
114 BuildRequires:  acl-devel
115 BuildRequires:  attr-devel
116 BuildRequires:  autoconf >= 2.12
117 BuildRequires:  gpm-devel
118 %if "%{pld_release}" == "ac"
119 %if %{with athena} || %{with x11}
120 BuildRequires:  XFree86-devel
121 %endif
122 BuildRequires:  gettext-devel
123 %else
124 BuildRequires:  gettext-tools
125 %{?with_athena:BuildRequires:   xorg-lib-libXaw-devel}
126 %if %{with x11} || %{with gui}
127 BuildRequires:  xorg-lib-libICE-devel
128 BuildRequires:  xorg-lib-libSM-devel
129 BuildRequires:  xorg-lib-libX11-devel
130 BuildRequires:  xorg-lib-libXt-devel
131 %endif
132 %endif
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-gitcommit
448 Obsoletes:      vim-syntax-golang <= 1.3.3-1
449 Obsoletes:      vim-syntax-lxc-docker <= 0.9.0-1
450 Obsoletes:      vim-syntax-docker < 1.10.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 %patch4 -p1
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 %patch33 -p1
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 # remove unsupported locales
816 %{__rm} src/po/zh_{CN,TW}.UTF-8.po
817 %{__rm} runtime/lang/menu_zh_{cn,tw}.utf-8.vim
818
819 # fix nb/no
820 %{__mv} src/po/n{o,b}.po
821 %{__mv} runtime/tutor/tutor.n{o,b}
822 %{__mv} runtime/tutor/tutor.n{o,b}.utf-8
823 %{__mv} runtime/lang/menu_n{o,b}.latin1.vim
824 %{__mv} runtime/lang/menu_n{o,b}.utf-8.vim
825 %{__mv} runtime/lang/menu_n{o,b}_no.latin1.vim
826 %{__mv} runtime/lang/menu_n{o,b}_no.utf-8.vim
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_ruby:dis}%{?with_ruby:en}able-rubyinterp \
860                 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
861                 %{!?with_selinux:--disable-selinux} \
862                 --enable-cscope \
863                 --enable-gpm \
864                 --enable-multibyte \
865                 --enable-nls \
866 %if "%{pld_release}" == "ac"
867                 --with-tlib="ncurses -ltinfo" \
868 %else
869                 --with-tlib="ncursesw" \
870 %endif
871                 --with-modified-by="PLD Linux Distribution" \
872                 --with-compiledby="PLD Linux Distribution" \
873                 "$@"
874
875         %{__make} vim
876         mv -f vim bin/$target
877 }
878
879 %if %{with static}
880 LDFLAGS="%{rpmldflags} -static"
881 build vim.static \
882         --disable-gui \
883         --without-x \
884         --with-features=small \
885         --disable-luainterp \
886         --disable-perlinterp \
887         --disable-pythoninterp \
888         --disable-rubyinterp \
889         --disable-tclinterp \
890         --disable-cscope \
891         --disable-gpm \
892         --disable-multibyte \
893         --disable-nls
894
895 LDFLAGS="%{rpmldflags}"
896 %endif
897
898 %if %{with light}
899 build vim.light \
900         --disable-gui \
901         --without-x \
902         --with-features=small \
903         --disable-luainterp \
904         --disable-perlinterp \
905         --disable-pythoninterp \
906         --disable-rubyinterp \
907         --disable-tclinterp \
908         --disable-cscope \
909         --disable-gpm \
910         --disable-nls
911 %endif
912
913 build vim.ncurses \
914         --disable-gui \
915         --without-x \
916         --with-features=huge
917
918 %if %{with x11}
919 build vimx \
920         --disable-gui \
921         --with-x \
922         --with-features=huge
923 %endif
924
925 %if %{with athena}
926 build gvim.athena \
927         --with-features=huge \
928         --enable-gui=athena \
929         --with-x \
930         --enable-fontset \
931         --disable-gpm \
932         --without-gnome
933
934 %endif
935
936 %if %{with motif}
937 build gvim.motif \
938         --with-features=huge \
939         --enable-gui=motif \
940         --with-x \
941         --enable-multibyte \
942         --enable-fontset \
943         --disable-gpm \
944         --without-gnome
945
946 %endif
947
948 %if %{with gtk}
949 build gvim.gtk \
950         --with-features=huge \
951 %if %{with gtk3}
952         --enable-gui=gtk3 \
953         --enable-gtk3-check \
954 %else
955         --enable-gui=gtk2 \
956         --enable-gtk2-check \
957 %endif
958         --with-x \
959         --disable-gpm
960
961 %endif
962
963 %if %{with gnome}
964 build gvim.gnome \
965         --with-features=huge \
966         --enable-gui=gnome2 \
967         --enable-gtk2-check \
968         --enable-gnome-check \
969         --with-x \
970         --disable-gpm
971
972 %endif
973
974 # vim.heavy / gvim.heavy
975 %if %{with heavy}
976 build vim.heavy \
977         --with-features=huge \
978         --disable-gui \
979         --without-x \
980         --enable-luainterp \
981         --enable-perlinterp \
982         --enable-pythoninterp \
983         --enable-rubyinterp \
984         --enable-tclinterp \
985         --disable-gpm
986
987 build gvim.heavy \
988         --with-features=huge \
989         --enable-gui=gnome2 \
990         --enable-gtk2-check \
991         --enable-gnome-check \
992         --with-x \
993         --enable-luainterp \
994         --enable-perlinterp \
995         --enable-pythoninterp \
996         --enable-rubyinterp \
997         --enable-tclinterp \
998         --disable-gpm
999 %endif
1000
1001 %{__make} xxd/xxd languages
1002
1003 %install
1004 rm -rf $RPM_BUILD_ROOT
1005
1006 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1007         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim/ftdetect} \
1008         $RPM_BUILD_ROOT%{_desktopdir}
1009
1010 %{__make} -j1 install \
1011         DESTDIR=$RPM_BUILD_ROOT
1012
1013 # generic gvim from upstream, but we have bunch of subpackages
1014 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/gvim.desktop
1015
1016 # not supported locales added by 7.3.764 or later
1017 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
1018 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
1019 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
1020 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
1021 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
1022 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
1023 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
1024 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
1025 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
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 # locolor scheme no longer supported
1091 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/locolor
1092
1093 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1094
1095 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1096 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1097
1098 # separate package
1099 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/{ftplugin,syntax}/spec.vim
1100
1101 # unuseful
1102 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/tools
1103 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/bugreport.vim
1104 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/check_locales.vim
1105 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/cleanadd.vim
1106 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/fixdup.vim
1107 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/doc/vim2html.pl
1108
1109 %clean
1110 rm -rf $RPM_BUILD_ROOT
1111
1112 %post
1113 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1114
1115 %postun
1116 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1117
1118 %post doc
1119 %vim_doc_helptags
1120
1121 %postun doc
1122 %vim_doc_helptags
1123
1124 %post -n gvim-athena
1125 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1126
1127 %postun -n gvim-athena
1128 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1129
1130 %post -n gvim-motif
1131 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1132
1133 %postun -n gvim-motif
1134 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1135
1136 %post -n gvim-gtk
1137 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1138 %update_icon_cache hicolor
1139
1140 %postun -n gvim-gtk
1141 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1142 %update_icon_cache hicolor
1143
1144 %post -n gvim-gnome
1145 %update_desktop_database_post
1146 %update_icon_cache hicolor
1147
1148 %postun -n gvim-gnome
1149 %update_desktop_database_postun
1150 %update_icon_cache hicolor
1151
1152 %post -n gvim-heavy
1153 %update_icon_cache hicolor
1154
1155 %postun -n gvim-heavy
1156 %update_icon_cache hicolor
1157
1158 %files
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) %{_bindir}/rvim
1161 %attr(755,root,root) %{_bindir}/vim
1162 %attr(755,root,root) %{_bindir}/vimdiff
1163 %{_mandir}/man1/rvim.1*
1164 %{_mandir}/man1/vimdiff.1*
1165 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1166 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1167 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1168 %lang(id) %{_mandir}/id/man1/rvim.1*
1169 %lang(id) %{_mandir}/id/man1/vim.1*
1170 %lang(it) %{_mandir}/it/man1/rvim.1*
1171 %lang(it) %{_mandir}/it/man1/vim.1*
1172 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1173 %lang(ja) %{_mandir}/ja/man1/rvim.1*
1174 %lang(ja) %{_mandir}/ja/man1/vim.1*
1175 %lang(ja) %{_mandir}/ja/man1/vimdiff.1*
1176 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1177 %lang(pl) %{_mandir}/pl/man1/vim.1*
1178 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1179 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1180 %lang(ru) %{_mandir}/ru/man1/vim.1*
1181 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1182 %{_desktopdir}/vim.desktop
1183
1184 %if %{with static}
1185 %files static
1186 %endif
1187 %defattr(644,root,root,755)
1188 %attr(755,root,root) /bin/ex
1189 %attr(755,root,root) /bin/rview
1190 %attr(755,root,root) /bin/vi
1191 %attr(755,root,root) /bin/view
1192 %{_mandir}/man1/vi.1*
1193 %{_mandir}/man1/ex.1*
1194 %{_mandir}/man1/view.1*
1195 %{_mandir}/man1/rview.1*
1196 %lang(fi) %{_mandir}/fi/man1/vi.1*
1197 %lang(fi) %{_mandir}/fi/man1/ex.1*
1198 %lang(fi) %{_mandir}/fi/man1/view.1*
1199 %lang(fi) %{_mandir}/fi/man1/rview.1*
1200 %lang(fr) %{_mandir}/fr/man1/vi.1*
1201 %lang(fr) %{_mandir}/fr/man1/ex.1*
1202 %lang(fr) %{_mandir}/fr/man1/view.1*
1203 %lang(fr) %{_mandir}/fr/man1/rview.1*
1204 %lang(id) %{_mandir}/id/man1/vi.1*
1205 %lang(id) %{_mandir}/id/man1/ex.1*
1206 %lang(id) %{_mandir}/id/man1/view.1*
1207 %lang(id) %{_mandir}/id/man1/rview.1*
1208 #%lang(it) %{_mandir}/it/man1/vi.1*
1209 %lang(it) %{_mandir}/it/man1/ex.1*
1210 %lang(it) %{_mandir}/it/man1/view.1*
1211 %lang(it) %{_mandir}/it/man1/rview.1*
1212 %lang(ja) %{_mandir}/ja/man1/ex.1*
1213 %lang(ja) %{_mandir}/ja/man1/view.1*
1214 %lang(ja) %{_mandir}/ja/man1/rview.1*
1215 %lang(pl) %{_mandir}/pl/man1/vi.1*
1216 %lang(pl) %{_mandir}/pl/man1/ex.1*
1217 %lang(pl) %{_mandir}/pl/man1/view.1*
1218 %lang(pl) %{_mandir}/pl/man1/rview.1*
1219 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1220 %lang(ru) %{_mandir}/ru/man1/ex.1*
1221 %lang(ru) %{_mandir}/ru/man1/view.1*
1222 %lang(ru) %{_mandir}/ru/man1/rview.1*
1223
1224 %files -n xxd
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_bindir}/xxd
1227 %{_mandir}/man1/xxd.1*
1228 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1229 %lang(it) %{_mandir}/it/man1/xxd.1*
1230 %lang(ja) %{_mandir}/ja/man1/xxd.1*
1231 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1232 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1233
1234 %files rt -f %{name}.lang
1235 %defattr(644,root,root,755)
1236 %dir %{_sysconfdir}/vim
1237 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1238 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1239
1240 %dir %{_datadir}/vim
1241 %dir %{_datadir}/vim/doc
1242 %verify(not md5 mtime size) %{_datadir}/vim/doc/tags
1243 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
1244 %verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
1245 # X11 colours definition for colour name lookup
1246 %{_datadir}/vim/rgb.txt
1247
1248 %dir %{_datadir}/vim/vimfiles
1249 %dir %{_datadir}/vim/vimfiles/doc
1250 %dir %{_datadir}/vim/vimfiles/after
1251 %dir %{_datadir}/vim/vimfiles/after/compiler
1252 %dir %{_datadir}/vim/vimfiles/after/ftdetect
1253 %dir %{_datadir}/vim/vimfiles/after/ftplugin
1254 %dir %{_datadir}/vim/vimfiles/after/indent
1255 %dir %{_datadir}/vim/vimfiles/after/plugin
1256 %dir %{_datadir}/vim/vimfiles/after/spell
1257 %dir %{_datadir}/vim/vimfiles/after/syntax
1258 %dir %{_datadir}/vim/vimfiles/compiler
1259 %dir %{_datadir}/vim/vimfiles/ftdetect
1260 %dir %{_datadir}/vim/vimfiles/ftplugin
1261 %dir %{_datadir}/vim/vimfiles/indent
1262 %dir %{_datadir}/vim/vimfiles/plugin
1263 %dir %{_datadir}/vim/vimfiles/spell
1264 %dir %{_datadir}/vim/vimfiles/syntax
1265
1266 %{_datadir}/vim/*.vim
1267
1268 %dir %{_datadir}/vim/autoload
1269 %{_datadir}/vim/autoload/*complete.vim
1270 %doc %{_datadir}/vim/autoload/README.txt
1271
1272 %dir %{_datadir}/vim/ftdetect
1273
1274 %dir %{_datadir}/vim/ftplugin
1275 %doc %{_datadir}/vim/ftplugin/README.txt
1276 %{_datadir}/vim/ftplugin/*.vim
1277 %{_datadir}/vim/ftplugin/logtalk.dict
1278
1279 %dir %{_datadir}/vim/indent
1280 %doc %{_datadir}/vim/indent/README.txt
1281 %{_datadir}/vim/indent/*.vim
1282
1283 %dir %{_datadir}/vim/keymap
1284 %doc %{_datadir}/vim/keymap/README.txt
1285 %{_datadir}/vim/keymap/*.vim
1286
1287 %{_datadir}/vim/pack
1288
1289 %dir %{_datadir}/vim/plugin
1290 %doc %{_datadir}/vim/plugin/README.txt
1291
1292 %dir %{_datadir}/vim/syntax
1293 %doc %{_datadir}/vim/syntax/README.txt
1294 %{_datadir}/vim/syntax/*.vim
1295
1296 %dir %{_datadir}/vim/colors
1297 %doc %{_datadir}/vim/colors/README.txt
1298 %{_datadir}/vim/colors/*.vim
1299
1300 %dir %{_datadir}/vim/lang
1301 %doc %{_datadir}/vim/lang/README*
1302
1303 %lang(af) %{_datadir}/vim/lang/menu_af*
1304 %lang(ca) %{_datadir}/vim/lang/menu_ca*
1305 %lang(cs) %{_datadir}/vim/lang/menu_cs*
1306 %lang(cs) %{_datadir}/vim/lang/menu_*czech*
1307 %lang(de) %{_datadir}/vim/lang/menu_de*
1308 %lang(de) %{_datadir}/vim/lang/menu_*german*
1309 %lang(en_GB) %{_datadir}/vim/lang/menu_en_gb*
1310 %lang(en_GB) %{_datadir}/vim/lang/menu_*english*
1311 %lang(eo) %{_datadir}/vim/lang/menu_eo.utf-8.vim
1312 %lang(eo) %{_datadir}/vim/lang/menu_eo_eo.utf-8.vim
1313 %lang(eo) %{_datadir}/vim/lang/menu_eo_xx.utf-8.vim
1314 %lang(es) %{_datadir}/vim/lang/menu_es*
1315 %lang(es) %{_datadir}/vim/lang/menu_*spanish*
1316 %lang(fi) %{_datadir}/vim/lang/menu_fi.latin1.vim
1317 %lang(fi) %{_datadir}/vim/lang/menu_fi.utf-8.vim
1318 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.latin1.vim
1319 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.utf-8.vim
1320 %lang(fi) %{_datadir}/vim/lang/menu_finnish_finland.1252.vim
1321 %lang(fr) %{_datadir}/vim/lang/menu_fr*
1322 %lang(hu) %{_datadir}/vim/lang/menu_hu*
1323 %lang(it) %{_datadir}/vim/lang/menu_it*
1324 %lang(ja) %{_datadir}/vim/lang/menu_ja*
1325 %lang(ko) %{_datadir}/vim/lang/menu_ko*
1326 %lang(nl) %{_datadir}/vim/lang/menu_nl*
1327 %lang(nb) %{_datadir}/vim/lang/menu_nb*
1328 %lang(pl) %{_datadir}/vim/lang/menu_pl*
1329 %lang(pl) %{_datadir}/vim/lang/menu_*polish*
1330 %lang(pt) %{_datadir}/vim/lang/menu_pt*
1331 %lang(ru) %{_datadir}/vim/lang/menu_ru*
1332 %lang(sk) %{_datadir}/vim/lang/menu_sk*
1333 %lang(sk) %{_datadir}/vim/lang/menu_*slovak*
1334 %lang(sl) %{_datadir}/vim/lang/menu_sl_si*
1335 %lang(sr) %{_datadir}/vim/lang/menu_sr*
1336 %lang(sv) %{_datadir}/vim/lang/menu_sv*
1337 %lang(uk) %{_datadir}/vim/lang/menu_uk*
1338 %lang(vi) %{_datadir}/vim/lang/menu_vi*
1339 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.cp936*
1340 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.gb2312*
1341 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh_cn*
1342 %lang(zh_CN) %{_datadir}/vim/lang/menu_*chinese*gb*
1343 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.cp950*
1344 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.big5*
1345 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh_tw*
1346 %lang(zh_TW) %{_datadir}/vim/lang/menu_*taiwan*
1347
1348 %dir %{_datadir}/vim/spell
1349 %{_datadir}/vim/spell/spell.vim
1350 %lang(he) %{_datadir}/vim/spell/he.*
1351 %lang(yi) %{_datadir}/vim/spell/yi.*
1352
1353 %{_mandir}/man1/vim.1*
1354 %lang(fi) %{_mandir}/fi/man1/vim.1*
1355 %lang(fr) %{_mandir}/fr/man1/vim.1*
1356 %{_iconsdir}/hicolor/48x48/apps/gvim.png
1357
1358 # plugins in base -rt package
1359 %{_datadir}/vim/autoload/gzip.vim
1360 %{_datadir}/vim/plugin/gzip.vim
1361 %{_datadir}/vim/plugin/matchparen.vim
1362
1363 %files rt-extras
1364 %defattr(644,root,root,755)
1365 %{_datadir}/vim/plugin/*.vim
1366 %{_datadir}/vim/autoload/*.vim
1367 %exclude %{_datadir}/vim/autoload/*complete.vim
1368 %{_datadir}/vim/autoload/xml
1369 %{_datadir}/vim/compiler
1370 %{_datadir}/vim/macros
1371 %{_datadir}/vim/print
1372
1373 # plugins in base -rt package
1374 %exclude %{_datadir}/vim/autoload/gzip.vim
1375 %exclude %{_datadir}/vim/plugin/gzip.vim
1376 %exclude %{_datadir}/vim/plugin/matchparen.vim
1377
1378 %files doc
1379 %defattr(644,root,root,755)
1380 # English
1381 %{_datadir}/vim/doc/*.txt
1382
1383 # Polish
1384 %lang(pl) %{_datadir}/vim/doc/*.plx
1385
1386 %files tutor
1387 %defattr(644,root,root,755)
1388 %attr(755,root,root) %{_bindir}/vimtutor
1389 %dir %{_datadir}/vim/tutor
1390 %dir %{_datadir}/vim/tutor/tutor
1391
1392 %{_datadir}/vim/tutor/README.txt
1393 %{_datadir}/vim/tutor/tutor.vim
1394 %{_datadir}/vim/tutor/tutor.utf-8
1395 %lang(el) %{_datadir}/vim/tutor/README.el.cp737.txt
1396 %lang(el) %{_datadir}/vim/tutor/README.el.txt
1397
1398 %lang(de) %{_datadir}/vim/tutor/tutor.bar
1399 %lang(de) %{_datadir}/vim/tutor/tutor.bar.utf-8
1400 %lang(bg) %{_datadir}/vim/tutor/tutor.bg.utf-8
1401 %lang(ca) %{_datadir}/vim/tutor/tutor.ca
1402 %lang(ca) %{_datadir}/vim/tutor/tutor.ca.utf-8
1403 %lang(cs) %{_datadir}/vim/tutor/tutor.cs
1404 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.cp1250
1405 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.utf-8
1406 %lang(de) %{_datadir}/vim/tutor/tutor.de
1407 %lang(de) %{_datadir}/vim/tutor/tutor.de.utf-8
1408 %lang(el) %{_datadir}/vim/tutor/tutor.el
1409 %lang(el) %{_datadir}/vim/tutor/tutor.el.cp737
1410 %lang(el) %{_datadir}/vim/tutor/tutor.el.utf-8
1411 %lang(eo) %{_datadir}/vim/tutor/tutor.eo
1412 %lang(eo) %{_datadir}/vim/tutor/tutor.eo.utf-8
1413 %lang(es) %{_datadir}/vim/tutor/tutor.es
1414 %lang(es) %{_datadir}/vim/tutor/tutor.es.utf-8
1415 %lang(fr) %{_datadir}/vim/tutor/tutor.fr
1416 %lang(fr) %{_datadir}/vim/tutor/tutor.fr.utf-8
1417 %lang(hr) %{_datadir}/vim/tutor/tutor.hr
1418 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.cp1250
1419 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.utf-8
1420 %lang(hu) %{_datadir}/vim/tutor/tutor.hu
1421 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.cp1250
1422 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.utf-8
1423 %lang(it) %{_datadir}/vim/tutor/tutor.it
1424 %lang(it) %{_datadir}/vim/tutor/tutor.it.utf-8
1425 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.euc
1426 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.sjis
1427 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8
1428 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc
1429 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8
1430 %lang(nl) %{_datadir}/vim/tutor/tutor.nl
1431 %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8
1432 %lang(nb) %{_datadir}/vim/tutor/tutor.nb
1433 %lang(nb) %{_datadir}/vim/tutor/tutor.nb.utf-8
1434 %lang(pl) %{_datadir}/vim/tutor/tutor.pl
1435 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.cp1250
1436 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.utf-8
1437 %lang(pt) %{_datadir}/vim/tutor/tutor.pt
1438 %lang(pt) %{_datadir}/vim/tutor/tutor.pt.utf-8
1439 %lang(ru) %{_datadir}/vim/tutor/tutor.ru
1440 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.cp1251
1441 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.utf-8
1442 %lang(sk) %{_datadir}/vim/tutor/tutor.sk
1443 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.cp1250
1444 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.utf-8
1445 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.cp1250
1446 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.utf-8
1447 %lang(sv) %{_datadir}/vim/tutor/tutor.sv
1448 %lang(sv) %{_datadir}/vim/tutor/tutor.sv.utf-8
1449 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.iso9
1450 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.utf-8
1451 %lang(uk) %{_datadir}/vim/tutor/tutor.uk.utf-8
1452 %lang(vi) %{_datadir}/vim/tutor/tutor.vi.utf-8
1453 %lang(zh_CN) %{_datadir}/vim/tutor/tutor.zh_cn.utf-8
1454 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.big5
1455 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.euc
1456 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.utf-8
1457 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh_tw.utf-8
1458
1459 %{_mandir}/man1/vimtutor.1*
1460 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1461 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1462 %lang(ja) %{_mandir}/ja/man1/vimtutor.1*
1463 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1464 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1465
1466 %if %{with x11}
1467 %files -n vimx
1468 %defattr(644,root,root,755)
1469 %attr(755,root,root) %{_bindir}/vimx
1470 %endif
1471
1472 %if %{with heavy}
1473 %files heavy
1474 %defattr(644,root,root,755)
1475 %attr(755,root,root) %{_bindir}/vim.heavy
1476 %endif
1477
1478 %if %{with light}
1479 %files light
1480 %defattr(644,root,root,755)
1481 %attr(755,root,root) %{_bindir}/vim.light
1482 %endif
1483
1484 %files spell-en
1485 %defattr(644,root,root,755)
1486 %{_datadir}/vim/spell/en.*.*
1487
1488 %if %{with athena}
1489 %files -n gvim-athena
1490 %defattr(644,root,root,755)
1491 %attr(755,root,root) %{_bindir}/gvim.athena
1492 %{_desktopdir}/gvim-athena.desktop
1493 %endif
1494
1495 %if %{with motif}
1496 %files -n gvim-motif
1497 %defattr(644,root,root,755)
1498 %attr(755,root,root) %{_bindir}/gvim.motif
1499 %{_desktopdir}/gvim-motif.desktop
1500 %endif
1501
1502 %if %{with gtk}
1503 %files -n gvim-gtk
1504 %defattr(644,root,root,755)
1505 %attr(755,root,root) %{_bindir}/gvim.gtk
1506 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1507 %attr(755,root,root) %{_bindir}/eview
1508 %attr(755,root,root) %{_bindir}/evim
1509 %attr(755,root,root) %{_bindir}/gview
1510 %attr(755,root,root) %{_bindir}/gvimdiff
1511 %attr(755,root,root) %{_bindir}/rgview
1512 %attr(755,root,root) %{_bindir}/rgvim
1513 %{_mandir}/man1/eview.1*
1514 %{_mandir}/man1/evim.1*
1515 %{_mandir}/man1/gvi*
1516 %{_mandir}/man1/rgv*
1517 %lang(fi) %{_mandir}/fi/man1/gvi*
1518 %lang(fi) %{_mandir}/fi/man1/rgv*
1519 %lang(fr) %{_mandir}/fr/man1/eview.1*
1520 %lang(fr) %{_mandir}/fr/man1/evim.1*
1521 %lang(fr) %{_mandir}/fr/man1/gvi*
1522 %lang(fr) %{_mandir}/fr/man1/rgv*
1523 %lang(id) %{_mandir}/id/man1/gvi*
1524 %lang(id) %{_mandir}/id/man1/rgv*
1525 %lang(it) %{_mandir}/it/man1/eview.1*
1526 %lang(it) %{_mandir}/it/man1/evim.1*
1527 %lang(it) %{_mandir}/it/man1/gvi*
1528 %lang(it) %{_mandir}/it/man1/rgv*
1529 %lang(ja) %{_mandir}/ja/man1/eview.1*
1530 %lang(ja) %{_mandir}/ja/man1/evim.1*
1531 %lang(ja) %{_mandir}/ja/man1/gvi*
1532 %lang(ja) %{_mandir}/ja/man1/rgv*
1533 %lang(pl) %{_mandir}/pl/man1/eview.1*
1534 %lang(pl) %{_mandir}/pl/man1/evim.1*
1535 %lang(pl) %{_mandir}/pl/man1/gvi*
1536 %lang(pl) %{_mandir}/pl/man1/rgv*
1537 %lang(ru) %{_mandir}/ru/man1/eview.1*
1538 %lang(ru) %{_mandir}/ru/man1/evim.1*
1539 %lang(ru) %{_mandir}/ru/man1/gvi*
1540 %lang(ru) %{_mandir}/ru/man1/rgv*
1541 %{_desktopdir}/gvim-gtk.desktop
1542 %endif
1543
1544 %if %{with gnome}
1545 %files -n gvim-gnome
1546 %defattr(644,root,root,755)
1547 %attr(755,root,root) %{_bindir}/gvim.gnome
1548 %{_desktopdir}/gvim-gnome.desktop
1549 %endif
1550
1551 %if %{with heavy}
1552 %files -n gvim-heavy
1553 %defattr(644,root,root,755)
1554 %attr(755,root,root) %{_bindir}/gvim.heavy
1555 %endif
This page took 0.291553 seconds and 2 git commands to generate.