]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- unpackaged files
[packages/vim.git] / vim.spec
1 # TODO:
2 # - some nice icon
3 # - create vim-full (better name, anybody?) or/and other packages
4 #   for scripting languages support
5 # - unpackaged files:
6 %if 0
7    /usr/share/man/fr/man1/eview.1
8    /usr/share/man/it/man1/eview.1
9    /usr/share/man/man1/eview.1
10    /usr/share/man/pl/man1/eview.1
11    /usr/share/man/ru/man1/eview.1
12    /usr/share/vim/vim71/lang/menu_sl_si.cp1250.vim
13    /usr/share/vim/vim71/lang/menu_sl_si.latin2.vim
14    /usr/share/vim/vim71/lang/menu_sl_si.utf-8.vim
15    /usr/share/vim/vim71/lang/zh_CN.UTF-8/LC_MESSAGES/vim.mo
16    /usr/share/vim/vim71/lang/zh_TW.UTF-8/LC_MESSAGES/vim.mo
17 %endif
18 #
19 # Conditional build:
20 %bcond_without  static          # don't build static version
21 %bcond_without  athena          # don't build Athena Widgets-based gvim
22 %bcond_without  motif           # don't build Motif-based gvim
23 %bcond_without  gtk             # don't build GTK+-based gvim support
24 %bcond_without  gnome           # don't build GNOME-based gvim support
25 %bcond_with     perl            # with Perl interp
26 %bcond_with     python          # with Python interp
27 %bcond_with     ruby            # with Ruby interp
28 %bcond_with     tcl             # with Tcl interp
29 %bcond_without  selinux         # without selinux support
30 %bcond_without  home_etc        # without home_etc support
31 #
32 %define         _ver            7.1
33 %define         _patchlevel     116
34 %define         _rel            1
35
36 # cflags get changed while configuring
37 %undefine       configure_cache
38 #
39 Summary:        Vi IMproved - a Vi clone
40 Summary(de.UTF-8):      VIsual editor iMproved
41 Summary(es.UTF-8):      Editor visual incrementado
42 Summary(fr.UTF-8):      Editeur VIM : VIsual editor iMproved
43 Summary(pl.UTF-8):      Vi IMproved - klon edytora Vi
44 Summary(pt_BR.UTF-8):   Editor visual incrementado
45 Summary(ru.UTF-8):      Visual editor IMproved - Единственно Правильный Редактор :)
46 Summary(tr.UTF-8):      Gelişmiş bir vi sürümü
47 Summary(uk.UTF-8):      Visual editor IMproved - Єдино Вірний Редактор :)
48 Name:           vim
49 Version:        %{_ver}.%{_patchlevel}
50 Release:        %{_rel}
51 Epoch:          4
52 License:        Charityware
53 Group:          Applications/Editors/Vim
54 Source0:        ftp://ftp.vim.org/pub/vim/unix/%{name}-%{_ver}.tar.bz2
55 # Source0-md5:  44c6b4914f38d6f9aa959640b89da329
56 Source1:        ftp://ftp.vim.org/pub/vim/extra/%{name}-%{_ver}-lang.tar.gz
57 # Source1-md5:  144aa049ba70621acf4247f0459f3ee7
58 Source2:        ftp://ftp.vim.org/pub/vim/extra/%{name}-%{_ver}-extra.tar.gz
59 # Source2-md5:  605cc7ae31bcc9d7864bb0bb6025f55d
60 Source3:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
61 # Source3-md5:  bc4d1e115ca506ad7751b9bd2b773a7f
62 Source4:        http://skawina.eu.org/mikolaj/usr_doc_pl.zip
63 # Source4-md5:  ff96284b1c913d55cf0877839b34d490
64 Source10:       g%{name}-athena.desktop
65 Source11:       g%{name}-motif.desktop
66 Source12:       g%{name}-gtk.desktop
67 Source13:       g%{name}-gnome.desktop
68 Source14:       %{name}.desktop
69 # http://www.vim.org/scripts/script.php?script_id=415 (1.15)
70 Source15:       zenburn.%{name}
71 Source16:       spec.%{name}
72 # http://www.vim.org/scripts/script.php?script_id=1491 (0.7.3)
73 Source17:       javascript.%{name}
74 Source18:       nagios.%{name}
75 Source19:       %{name}-ftplugin-spec.vim
76 Patch0:         %{name}-sysconfdir.patch
77 Patch1:         %{name}-visual.patch
78 Patch2:         %{name}-paths.patch
79 Patch3:         %{name}-%{name}rc.patch
80 Patch4:         %{name}-no_libelf.patch
81 Patch5:         %{name}-egrep.patch
82 Patch6:         %{name}-awk.patch
83 Patch7:         %{name}-filetype_vim-perl_tests.patch
84 Patch8:         %{name}-apache.patch
85 Patch9:         %{name}-po-syntax.patch
86 Patch10:        %{name}-modprobe.patch
87 Patch11:        %{name}-doubleparenthesis.patch
88 Patch12:        %{name}-syntax-fstab.patch
89 Patch13:        010_all_%{name}-6.3-vixie.patch
90 Patch14:        013_all_%{name}-7.0-cron-vars-79981.patch
91 Patch15:        020_all_%{name}-7.0-fstab-tmpfs-size.patch
92 Patch16:        021_all_%{name}-7.0-fstab-bogus-errors.patch
93 Patch17:        024_all_%{name}-6.3-bash-83565.patch
94 Patch18:        027_all_%{name}-7.0-automake-substitutions-93378.patch
95 Patch19:        %{name}-smarty.patch
96 Patch20:        %{name}-tutor-lessdeps.patch
97 Patch21:        %{name}-nagios.patch
98 Patch22:        %{name}-filetypes.patch
99 Patch23:        %{name}-man_installation.patch
100 Patch102:       %{name}-gtkfilechooser.patch
101 Patch104:       %{name}-home_etc.patch
102 Patch105:       %{name}-selinux.patch
103 Patch106:       %{name}-autopaste.patch
104 Patch107:       %{name}-ft-cron.patch
105 %patchset_source -f ftp://ftp.vim.org/pub/editors/vim/patches/7.1/7.1.%03g 1 %{_patchlevel}
106 URL:            http://www.vim.org/
107 BuildRequires:  acl-devel
108 BuildRequires:  autoconf
109 BuildRequires:  gettext-devel
110 BuildRequires:  gpm-devel
111 %{?with_gtk:BuildRequires:      gtk+2-devel >= 2:2.6.0}
112 %{?with_gnome:BuildRequires:    libgnomeui-devel >= 2.2.0.1}
113 %{?with_selinux:BuildRequires:  libselinux-devel}
114 BuildRequires:  ncurses-devel
115 %{?with_motif:BuildRequires:    openmotif-devel}
116 %{?with_perl:BuildRequires:     perl-devel}
117 %{?with_python:BuildRequires:   python-devel >= 2.5}
118 BuildRequires:  rpmbuild(macros) >= 1.351
119 %{?with_ruby:BuildRequires:     ruby-devel}
120 %{?with_tcl:BuildRequires:      tcl-devel}
121 %{?with_athena:BuildRequires:   xorg-lib-libXaw-devel}
122 Obsoletes:      kvim
123 %if %{with static}
124 BuildRequires:  acl-static
125 BuildRequires:  attr-static
126 BuildRequires:  glibc-static
127 %{?with_selinux:BuildRequires:  libselinux-static}
128 BuildRequires:  ncurses-static
129 %else
130 Provides:       %{name}-static = %{epoch}:%{version}-%{release}
131 Obsoletes:      elvis-static
132 Obsoletes:      nvi
133 Obsoletes:      vi
134 Obsoletes:      vim-minimal
135 Obsoletes:      vim-static
136 %endif
137 BuildRequires:  unzip
138 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
139 Provides:       vi-editor
140 Provides:       vi
141 Obsoletes:      vim-enhanced
142 Obsoletes:      vim-ispell
143 Obsoletes:      vim-plugin-multvals
144 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
145
146 # that's example script
147 %define         _noautoreq      '/bin/csh'
148
149 %description
150 Text editor similar to Vi. Important improvements: multiple windows,
151 multi-level undo, block highliting, folding, and many other.
152
153 %description -l cs.UTF-8
154 ViM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
155 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
156 populární. ViM je obohacený funkcemi jako: podpora více oken,
157 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
158 funkcí.
159
160 %description -l de.UTF-8
161 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
162 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
163 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
164 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
165 Standard-vi-Programm.
166
167 %description -l es.UTF-8
168 El editor Visual Mejorado es una versión actualizada y con nuevas
169 características adicionales del mundialmente famoso 'vi' que acompaña
170 prácticamente todos los sistemas UN*X. Posibilita trabajar con
171 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
172 otras muchas características del 'vi'.
173
174 %description -l fr.UTF-8
175 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
176 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
177 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
178 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
179 blocs et autres caractéristiques au vi de base.
180
181 %description -l id.UTF-8
182 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
183 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
184 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
185 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
186 windows, multi-level undo, block highlighting, dll.
187
188 %description -l is.UTF-8
189 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
190 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
191 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
192 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
193 fleira.
194
195 %description -l it.UTF-8
196 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
197 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
198 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
199 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
200 dei blocchi e altro.
201
202 %description -l pl.UTF-8
203 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
204 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
205 folding i wiele innych.
206
207 %description -l pt.UTF-8
208 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
209 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
210 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
211 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
212 de blocos e mais.
213
214 %description -l pt_BR.UTF-8
215 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
216 características do mundialmente famoso 'vi' que acompanha praticamente
217 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
218 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
219 outras características do 'vi'.
220
221 %description -l ru.UTF-8
222 VIsual editor iMproved - это обновленный и значительно улучшенный клон
223 редактора vi, который поставляется практически со всеми
224 UN*X-системами. В этой версии есть многоуровневый откат, выделение
225 блоков, синтаксическая подсветка и много другого...
226
227 %description -l sk.UTF-8
228 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
229 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
230 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
231 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
232
233 %description -l sv.UTF-8
234 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
235 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
236 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
237 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
238 ändå.
239
240 %description -l tr.UTF-8
241 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
242 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
243
244 %description -l uk.UTF-8
245 VIsual editor iMproved - це оновлений та значно поліпшений клон
246 редактора vi, який поставляється практично зі всіма UN*X-системами. В
247 цій версії є багаторівневий відкат, виділення блоків, синтаксична
248 підсвітка та багато іншого...
249
250 %package -n xxd
251 Summary:        Utility to convert files to hexdump or do the reverse
252 Summary(pl.UTF-8):      Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
253 Group:          Applications/Editors/Vim
254
255 %description -n xxd
256 xxd creates a hex dump of a given file or standard input. It can also
257 convert a hex dump back to its original binary form. Like uuencode and
258 uudecode it allows the transmission of binary data in a `mail-safe'
259 ASCII representation, but has the advantage of decoding to standard
260 output. Moreover, it can be used to perform binary file patching.
261
262 %description -n xxd -l pl.UTF-8
263 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
264 Może także przekonwertować taki zapis na oryginalną, binarną postać.
265 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
266 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
267 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
268
269 %package static
270 Summary:        Statically linked Vim
271 Summary(pl.UTF-8):      Statycznie skonsolidowany Vim
272 Group:          Applications/Editors/Vim
273 Provides:       vi-editor
274 Provides:       vi
275 Obsoletes:      elvis-static
276 Obsoletes:      nvi
277 Obsoletes:      vim-minimal
278
279 %description static
280 Text editor similar to Vi. This version is built with minimal feature
281 and is installed in /bin as a rescue tool. The installation of this
282 package is STRONGLY recommended.
283
284 %description static -l pl.UTF-8
285 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
286 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
287 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
288 zalecana, może on pomóc Ci uratować system w czasie awarii.
289
290 %description static -l ru.UTF-8
291 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
292 удобно для запуска даже когда смонтирована только корневая файловая
293 система.
294
295 %description static -l uk.UTF-8
296 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
297 запуску навіть тоді, коли змонтована тільки корньова файлова система.
298
299 %package rt
300 Summary:        Vim runtime files
301 Summary(cs.UTF-8):      Soubory nezbytné pro libovolný editor ViM
302 Summary(da.UTF-8):      Fælles filer som er nødvendige for enhver version af VIM editoren
303 Summary(de.UTF-8):      Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
304 Summary(es.UTF-8):      Ficheros comunes a todas las versiones de VIM
305 Summary(fr.UTF-8):      Fichiers communs indispensables pour toute version de l'éditeur VIM
306 Summary(id.UTF-8):      File umum yang dibutuhkan oleh semua versi editor VIM
307 Summary(is.UTF-8):      Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
308 Summary(it.UTF-8):      File comuni necessari per tutte le versioni dell'editor VIM
309 Summary(ja.UTF-8):      すべてのバージョンの VIM エディタで必要とされる共通ファイル
310 Summary(nb.UTF-8):      Felles filer som er nødvendige for enhver versjon av VIM editoren
311 Summary(pl.UTF-8):      Pliki przydatne edytorowi Vim
312 Summary(pt.UTF-8):      Os ficheiros comuns necessários para qualquer versão do editor VIM
313 Summary(ru.UTF-8):      Файлы, требуемые для любой версии редактора vim
314 Summary(sk.UTF-8):      Spoločné súbory potrebné pre všetky verzie editoru VIM
315 Summary(sl.UTF-8):      Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
316 Summary(sv.UTF-8):      De gemensamma filerna som behövs av alla versioner av redigeraren VIM
317 Summary(uk.UTF-8):      Файли, потрібні для будь-якої версії редактору vim
318 Summary(zh_CN.UTF-8):   任何版本的 VIM 编辑器所需的公用文件。
319 Group:          Applications/Editors/Vim
320 # mktemp is for vimtutor
321 Requires:       mktemp
322 Requires:       vi-editor
323 Obsoletes:      gvim-bonobo
324 Obsoletes:      vim-common
325
326 %description rt
327 This package contains macros, documentation, syntax configuration and
328 manual pages for Vim. If you want to take advantage of Vim more
329 powerful features, you should install this package.
330
331 %description rt -l cs.UTF-8
332 Tento balíček obsahuje společné soubory pro všechny další balíčky s
333 vim.
334
335 %description rt -l da.UTF-8
336 The vim-rt package contains files which every VIM binary will need in
337 order to run.
338
339 %description rt -l de.UTF-8
340 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
341 Ausführung benötigt.
342
343 %description rt -l fr.UTF-8
344 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
345 VIM a besoin pour fonctionner.
346
347 %description rt -l id.UTF-8
348 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
349 berjalan.
350
351 %description rt -l is.UTF-8
352 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
353 til að keyra.
354
355 %description rt -l it.UTF-8
356 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
357 per poter funzionare.
358
359 %description rt -l pl.UTF-8
360 W tym pakiecie znajdziesz dokumentację, makra, pliki konfiguracyjne i
361 strony podręcznika dla edytora Vim. Jeżeli chcesz korzystać z
362 zaawansowanych możliwości Vima, powinieneś zainstalować ten pakiet.
363
364 %description rt -l pt.UTF-8
365 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
366 irão necessitar para correr.
367
368 %description rt -l ru.UTF-8
369 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
370 для работы любой программы vim.
371
372 %description rt -l sk.UTF-8
373 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
374 funkciu každá verzia editoru VIM.
375
376 %description rt -l sv.UTF-8
377 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
378 köra.
379
380 %description rt -l uk.UTF-8
381 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
382 для роботи будь-якої програми vim.
383
384 %package spell-en
385 Summary:        English dictionaries for VIMspell
386 Summary(pl.UTF-8):      Angielskie słowniki dla VIMspella
387 Group:          Applications/Editors/Vim
388 Requires:       %{name} = %{epoch}:%{version}-%{release}
389
390 %description spell-en
391 English dictionaries for VIMspell.
392
393 %description spell-en -l pl.UTF-8
394 Angielskie słowniki dla VIMspella.
395
396 %package -n gvim-athena
397 Summary:        Vim for X Window built with Athena
398 Summary(pl.UTF-8):      Vim dla X Window korzystający z biblioteki Athena
399 Group:          Applications/Editors/Vim
400 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
401 Requires:       iconv
402 Provides:       gvim
403 Provides:       vi-editor
404 Obsoletes:      vim-X11
405
406 %description -n gvim-athena
407 The classic Unix text editor now also under X Window System! This
408 version is built with Athena Widget Set.
409
410 %description -n gvim-athena -l pl.UTF-8
411 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
412 biblioteki Athena Widget Set.
413
414 %description -n gvim-athena -l ru.UTF-8
415 Этот пакет представляет собой версию VIM, собранную с библиотеками
416 Athena Widget Set, что позволяет запускать VIM как приложение X Window
417 System - с полностью графическим интерфейсом и поддержкой мыши.
418
419 %description -n gvim-athena -l uk.UTF-8
420 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
421 Set, що дозволяє запускати VIM як прикладну програму X Window System -
422 з повністю графічним інтерфейсом та підтримкою миші.
423
424 %package -n gvim-motif
425 Summary:        Vim for X Window built with Motif
426 Summary(pl.UTF-8):      Vim dla X Window korzystający z biblioteki Motif
427 Group:          Applications/Editors/Vim
428 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
429 Requires:       iconv
430 Provides:       gvim
431 Provides:       vi-editor
432 Obsoletes:      vim-X11
433
434 %description -n gvim-motif
435 The classic Unix text editor now also under X Window System! This
436 version is built with Motif.
437
438 %description -n gvim-motif -l pl.UTF-8
439 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
440 biblioteki Motif.
441
442 %description -n gvim-motif -l ru.UTF-8
443 Этот пакет представляет собой версию VIM, собранную с библиотеками
444 Motif, что позволяет запускать VIM как приложение X Window System - с
445 полностью графическим интерфейсом и поддержкой мыши.
446
447 %description -n gvim-motif -l uk.UTF-8
448 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
449 дозволяє запускати VIM як прикладну програму X Window System - з
450 повністю графічним інтерфейсом та підтримкою миші.
451
452 %package -n gvim-gtk
453 Summary:        Vim for X Window built with gtk
454 Summary(pl.UTF-8):      Vim dla X Window korzystający z biblioteki GTK
455 Group:          Applications/Editors/Vim
456 Requires(post,postun):  gtk+2
457 Requires(post,postun):  hicolor-icon-theme
458 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
459 Requires:       iconv
460 Provides:       gvim
461 Provides:       vi-editor
462 Obsoletes:      vim-X11
463
464 %description -n gvim-gtk
465 The classic Unix text editor now also under X Window System! This
466 version is built with GTK.
467
468 %description -n gvim-gtk -l pl.UTF-8
469 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
470 biblioteki GTK.
471
472 %description -n gvim-gtk -l ru.UTF-8
473 Этот пакет представляет собой версию VIM, собранную с библиотеками
474 GTK, что позволяет запускать VIM как приложение X Window System - с
475 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
476 'gvim'...
477
478 %description -n gvim-gtk -l uk.UTF-8
479 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
480 запускати VIM як прикладну програму X Window System - з повністю
481 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
482
483 %package -n gvim-gnome
484 Summary:        Vim for X Window built with GNOME
485 Summary(pl.UTF-8):      Vim dla X Window korzystający z biblioteki GNOME
486 Group:          Applications/Editors/Vim
487 Requires(post,postun):  gtk+2
488 Requires(post,postun):  hicolor-icon-theme
489 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
490 Requires:       iconv
491 Provides:       gvim
492 Provides:       vi-editor
493 Obsoletes:      vim-X11
494
495 %description -n gvim-gnome
496 The classic Unix text editor now also under X Window System! This
497 version is build with GNOME.
498
499 %description -n gvim-gnome -l pl.UTF-8
500 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
501 bibliotek GNOME.
502
503 %description -n gvim-gnome -l ru.UTF-8
504 Этот пакет представляет собой версию VIM, собранную с библиотеками
505 GNOME, что позволяет запускать VIM как приложение X Window System - с
506 полностью графическим интерфейсом и поддержкой мыши.
507
508 %description -n gvim-gnome -l uk.UTF-8
509 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
510 дозволяє запускати VIM як прикладну програму X Window System - з
511 повністю графічним інтерфейсом та підтримкою миші.
512
513 %prep
514 %setup -q -n %{name}71 -b1 -b2
515
516 # official patches
517 %patchset_patch 1 %{_patchlevel}
518
519 %patch0 -p1
520 %patch1 -p1
521 %patch2 -p1
522 %patch3 -p1
523 %patch4 -p1
524 %patch5 -p1
525 %patch6 -p1
526 %patch7 -p1
527 %patch8 -p1
528 %patch9 -p1
529 %patch10 -p0
530 %patch11 -p1
531 %patch12 -p1
532 %patch13 -p1
533 %patch14 -p1
534 %patch15 -p1
535 %patch16 -p1
536 %patch17 -p0
537 %patch18 -p0
538 %patch19 -p1
539 %patch20 -p1
540 %patch21 -p1
541 %patch22 -p1
542 %patch23 -p1
543
544 # home etc
545 %{?with_home_etc:%patch104 -p1}
546
547 # selinux
548 %{?with_selinux:%patch105 -p1}
549
550 # autopaste patch - automatically switch to paste mode if `really fast typing'
551 # situation happens
552 %patch106 -p1
553
554 %patch107 -p1
555
556 install %{SOURCE14} runtime/indent
557 install %{SOURCE15} runtime/colors
558 install %{SOURCE16} runtime/syntax
559 install %{SOURCE17} runtime/syntax
560 install %{SOURCE18} runtime/syntax
561 install %{SOURCE19} runtime/ftplugin/spec.vim
562
563 %build
564 cd src
565 %{__autoconf}
566 # needed to prevent deconfiguring
567 cp -f configure auto
568
569 install -d bin
570
571 %if %{with static}
572 %{__make} distclean
573 LDFLAGS="%{rpmldflags} -static"
574 %configure \
575         --disable-gui \
576         --without-x \
577         --disable-perlinterp \
578         --disable-pythoninterp \
579         --disable-rubyinterp \
580         --disable-tclinterp \
581         --disable-cscope \
582         --disable-gpm \
583         --disable-multibyte \
584         --with-features=small \
585         --with-tlib="ncurses -ltinfo" \
586         --disable-nls \
587         --with-modifiedby="PLD Linux Distribution" \
588         --with-compiledby="PLD Linux Distribution"
589
590 %{__make} vim
591
592 mv -f vim bin/vim.static
593 LDFLAGS="%{rpmldflags}"
594 %endif
595
596 %{__make} distclean
597 %configure \
598         --disable-gui \
599         --without-x \
600         %{!?with_perl:--disable-perlinterp} \
601         %{?with_perl:--enable-perlinterp} \
602         %{!?with_python:--disable-pythoninterp} \
603         %{?with_python:--enable-pythoninterp} \
604         %{!?with_ruby:--disable-rubyinterp} \
605         %{?with_ruby:--enable-rubyinterp} \
606         %{!?with_tcl:--disable-tclinterp} \
607         %{?with_tcl:--enable-tclinterp} \
608         --enable-cscope \
609         --enable-gpm \
610         --with-features=huge \
611         --enable-multibyte \
612         --with-tlib="ncurses -ltinfo" \
613         --enable-nls \
614         --with-modifiedby="PLD Linux Distribution" \
615         --with-compiledby="PLD Linux Distribution"
616
617 %{__make} vim
618
619 mv -f vim bin/vim.ncurses
620
621 %if %{with athena}
622 %{__make} distclean
623 %configure \
624         --with-features=huge \
625         --enable-gui=athena \
626         --with-x \
627         %{!?with_perl:--disable-perlinterp} \
628         %{?with_perl:--enable-perlinterp} \
629         %{!?with_python:--disable-pythoninterp} \
630         %{?with_python:--enable-pythoninterp} \
631         %{!?with_ruby:--disable-rubyinterp} \
632         %{?with_ruby:--enable-rubyinterp} \
633         %{!?with_tcl:--disable-tclinterp} \
634         %{?with_tcl:--enable-tclinterp} \
635         --enable-cscope \
636         --enable-fontset \
637         --disable-gpm \
638         --without-gnome \
639         --with-tlib="ncurses -ltinfo" \
640         --enable-nls \
641         --with-modifiedby="PLD Linux Distribution" \
642         --with-compiledby="PLD Linux Distribution"
643
644 %{__make} vim
645 mv -f vim bin/gvim.athena
646 %endif
647
648
649 %if %{with motif}
650 %{__make} distclean
651 %configure \
652         --with-features=huge \
653         --enable-gui=motif \
654         --with-x \
655         %{!?with_perl:--disable-perlinterp} \
656         %{?with_perl:--enable-perlinterp} \
657         %{!?with_python:--disable-pythoninterp} \
658         %{?with_python:--enable-pythoninterp} \
659         %{!?with_ruby:--disable-rubyinterp} \
660         %{?with_ruby:--enable-rubyinterp} \
661         %{!?with_tcl:--disable-tclinterp} \
662         %{?with_tcl:--enable-tclinterp} \
663         --enable-multibyte \
664         --enable-cscope \
665         --enable-fontset \
666         --disable-gpm \
667         --without-gnome \
668         --with-tlib="ncurses -ltinfo" \
669         --enable-nls \
670         --with-modifiedby="PLD Linux Distribution" \
671         --with-compiledby="PLD Linux Distribution"
672
673 %{__make} vim
674 mv -f vim bin/gvim.motif
675 %endif
676
677 %if %{with gtk}
678 %{__make} distclean
679 %configure \
680         --with-features=huge \
681         --enable-gui=gtk2 \
682         --enable-gtk2-check \
683         --with-x \
684         %{!?with_perl:--disable-perlinterp} \
685         %{?with_perl:--enable-perlinterp} \
686         %{!?with_python:--disable-pythoninterp} \
687         %{?with_python:--enable-pythoninterp} \
688         %{!?with_ruby:--disable-rubyinterp} \
689         %{?with_ruby:--enable-rubyinterp} \
690         %{!?with_tcl:--disable-tclinterp} \
691         %{?with_tcl:--enable-tclinterp} \
692         --disable-gpm \
693         --enable-cscope \
694         --with-tlib="ncurses -ltinfo" \
695         --enable-nls \
696         --with-modifiedby="PLD Linux Distribution" \
697         --with-compiledby="PLD Linux Distribution"
698
699 %{__make} vim
700 mv -f vim bin/gvim.gtk
701 %endif
702
703 %if %{with gnome}
704 %{__make} distclean
705 %configure \
706         --with-features=huge \
707         --enable-gui=gnome2 \
708         --enable-gtk2-check \
709         --enable-gnome-check \
710         --with-x \
711         %{!?with_perl:--disable-perlinterp} \
712         %{?with_perl:--enable-perlinterp} \
713         %{!?with_python:--disable-pythoninterp} \
714         %{?with_python:--enable-pythoninterp} \
715         %{!?with_ruby:--disable-rubyinterp} \
716         %{?with_ruby:--enable-rubyinterp} \
717         %{!?with_tcl:--disable-tclinterp} \
718         %{?with_tcl:--enable-tclinterp} \
719         --disable-gpm \
720         --enable-cscope \
721         --with-tlib="ncurses -ltinfo" \
722         --enable-nls \
723         --with-modifiedby="PLD Linux Distribution" \
724         --with-compiledby="PLD Linux Distribution"
725
726 %{__make} vim
727 mv -f vim bin/gvim.gnome
728 %endif
729
730 %{__make} xxd/xxd languages
731
732 %install
733 rm -rf $RPM_BUILD_ROOT
734
735 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
736         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
737         $RPM_BUILD_ROOT%{_desktopdir}
738
739 %{__make} -j1 install \
740         DESTDIR=$RPM_BUILD_ROOT
741
742 rm -f $RPM_BUILD_ROOT%{_bindir}/*
743
744 %if %{with static}
745 install src/bin/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim
746 install src/bin/vim.static      $RPM_BUILD_ROOT/bin/vi
747 %else
748 install src/bin/vim.ncurses     $RPM_BUILD_ROOT/bin/vi
749 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
750 %endif
751 install src/xxd/xxd     $RPM_BUILD_ROOT%{_bindir}/xxd
752 install src/vimtutor    $RPM_BUILD_ROOT%{_bindir}/vimtutor
753
754 # Moved into patch
755 #
756 # rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
757 # install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
758 # install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
759 # install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
760 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
761 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
762 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
763 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
764
765 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
766 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
767
768 # not supported directories
769 rm -rf $RPM_BUILD_ROOT%{_mandir}/??.*/
770
771 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
772 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
773
774 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/eview
775 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/evim
776 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
777 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
778 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
779 ln -sf vi  $RPM_BUILD_ROOT/bin/view
780 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
781
782 install %{SOURCE14}     $RPM_BUILD_ROOT%{_desktopdir}
783
784 %if %{with athena}
785 install src/bin/gvim.athena     $RPM_BUILD_ROOT%{_bindir}/gvim.athena
786 install %{SOURCE10}     $RPM_BUILD_ROOT%{_desktopdir}
787 %endif
788 %if %{with motif}
789 install src/bin/gvim.motif      $RPM_BUILD_ROOT%{_bindir}/gvim.motif
790 install %{SOURCE11}     $RPM_BUILD_ROOT%{_desktopdir}
791 %endif
792 %if %{with gnome}
793 install src/bin/gvim.gnome      $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
794 install %{SOURCE13}     $RPM_BUILD_ROOT%{_desktopdir}
795 %endif
796 %if %{with gtk}
797 install src/bin/gvim.gtk        $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
798 ln -sf gvim.gtk         $RPM_BUILD_ROOT%{_bindir}/gvim
799 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gview
800 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gvimdiff
801 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgview
802 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgvim
803 install %{SOURCE12}     $RPM_BUILD_ROOT%{_desktopdir}
804 %endif
805
806 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
807 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
808 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
809 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
810
811 bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
812
813 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE4}
814
815 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
816 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
817
818 %clean
819 rm -rf $RPM_BUILD_ROOT
820
821 %post
822 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
823
824 %postun
825 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
826
827 %post -n gvim-athena
828 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
829
830 %postun -n gvim-athena
831 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
832
833 %post -n gvim-motif
834 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
835
836 %postun -n gvim-motif
837 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
838
839 %post -n gvim-gtk
840 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
841 %update_icon_cache hicolor
842
843 %postun -n gvim-gtk
844 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
845 %update_icon_cache hicolor
846
847 %post -n gvim-gnome
848 %update_desktop_database_post
849 %update_icon_cache hicolor
850
851 %postun -n gvim-gnome
852 %update_desktop_database_postun
853 %update_icon_cache hicolor
854
855 %files
856 %defattr(644,root,root,755)
857 %attr(755,root,root) %{_bindir}/eview
858 %attr(755,root,root) %{_bindir}/evim
859 %attr(755,root,root) %{_bindir}/rvim
860 %attr(755,root,root) %{_bindir}/vim
861 %attr(755,root,root) %{_bindir}/vimdiff
862 #%{_mandir}/man1/eview.1*
863 %{_mandir}/man1/evim.1*
864 %{_mandir}/man1/rvim.1*
865 %{_mandir}/man1/vimdiff.1*
866 %lang(fi) %{_mandir}/fi/man1/rvim.1*
867 #%lang(fr) %{_mandir}/fr/man1/eview.1*
868 %lang(fr) %{_mandir}/fr/man1/evim.1*
869 %lang(fr) %{_mandir}/fr/man1/rvim.1*
870 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
871 %lang(id) %{_mandir}/id/man1/rvim.1*
872 #%lang(it) %{_mandir}/it/man1/eview.1*
873 %lang(it) %{_mandir}/it/man1/evim.1*
874 %lang(it) %{_mandir}/it/man1/rvim.1*
875 %lang(it) %{_mandir}/it/man1/vimdiff.1*
876 #%lang(pl) %{_mandir}/pl/man1/eview.1*
877 %lang(pl) %{_mandir}/pl/man1/evim.1*
878 %lang(pl) %{_mandir}/pl/man1/rvim.1*
879 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
880 #%lang(ru) %{_mandir}/ru/man1/eview.1*
881 %lang(ru) %{_mandir}/ru/man1/evim.1*
882 %lang(ru) %{_mandir}/ru/man1/rvim.1*
883 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
884 %{_desktopdir}/%{name}.desktop
885
886 %if %{with static}
887 %files static
888 %endif
889 %defattr(644,root,root,755)
890 %attr(755,root,root) /bin/*
891 %{_mandir}/man1/vi.1*
892 %{_mandir}/man1/ex.1*
893 %{_mandir}/man1/view.1*
894 %{_mandir}/man1/rview.1*
895 %lang(fi) %{_mandir}/fi/man1/vi.1*
896 %lang(fi) %{_mandir}/fi/man1/ex.1*
897 %lang(fi) %{_mandir}/fi/man1/view.1*
898 %lang(fi) %{_mandir}/fi/man1/rview.1*
899 %lang(fr) %{_mandir}/fr/man1/vi.1*
900 %lang(fr) %{_mandir}/fr/man1/ex.1*
901 %lang(fr) %{_mandir}/fr/man1/view.1*
902 %lang(fr) %{_mandir}/fr/man1/rview.1*
903 %lang(id) %{_mandir}/id/man1/vi.1*
904 %lang(id) %{_mandir}/id/man1/ex.1*
905 %lang(id) %{_mandir}/id/man1/view.1*
906 %lang(id) %{_mandir}/id/man1/rview.1*
907 #%lang(it) %{_mandir}/it/man1/vi.1*
908 %lang(it) %{_mandir}/it/man1/ex.1*
909 %lang(it) %{_mandir}/it/man1/view.1*
910 %lang(it) %{_mandir}/it/man1/rview.1*
911 %lang(pl) %{_mandir}/pl/man1/vi.1*
912 %lang(pl) %{_mandir}/pl/man1/ex.1*
913 %lang(pl) %{_mandir}/pl/man1/view.1*
914 %lang(pl) %{_mandir}/pl/man1/rview.1*
915 #%lang(ru) %{_mandir}/ru/man1/vi.1*
916 %lang(ru) %{_mandir}/ru/man1/ex.1*
917 %lang(ru) %{_mandir}/ru/man1/view.1*
918 %lang(ru) %{_mandir}/ru/man1/rview.1*
919
920 %files -n xxd
921 %defattr(644,root,root,755)
922 %attr(755,root,root) %{_bindir}/xxd
923 %{_mandir}/man1/xxd.1*
924 %lang(fr) %{_mandir}/fr/man1/xxd.1*
925 %lang(it) %{_mandir}/it/man1/xxd.1*
926 %lang(pl) %{_mandir}/pl/man1/xxd.1*
927 %lang(ru) %{_mandir}/ru/man1/xxd.1*
928
929 %files rt
930 %defattr(644,root,root,755)
931 %attr(755,root,root) %{_bindir}/vimtutor
932 %dir %{_sysconfdir}/vim
933 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
934 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
935
936 %dir %{_datadir}/vim
937 %dir %{_datadir}/vim/v*
938 %dir %{_datadir}/vim/v*/doc
939 %doc %{_datadir}/vim/v*/doc/*.txt
940 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
941 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
942 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
943 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
944 %{_datadir}/vim/v*/ftplugin
945 %{_datadir}/vim/v*/indent
946 %{_datadir}/vim/v*/keymap
947 %dir %{_datadir}/vim/v*/lang
948 %doc %{_datadir}/vim/v*/lang/README*
949
950 # just add after/ and ftdetect/ separately, other dirs caught by globs above or below
951 %{_datadir}/vim/vimfiles/after
952 %{_datadir}/vim/vimfiles/ftdetect
953
954 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
955 %lang(af) %{_datadir}/vim/v*/lang/af/
956 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
957 %lang(ca) %{_datadir}/vim/v*/lang/ca/
958 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
959 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
960 %lang(cs) %{_datadir}/vim/v*/lang/cs/
961 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
962 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
963 %lang(de) %{_datadir}/vim/v*/lang/de/
964 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
965 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
966 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/
967 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
968 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
969 %lang(es) %{_datadir}/vim/v*/lang/es/
970 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
971 %lang(fr) %{_datadir}/vim/v*/lang/fr/
972 %lang(ga) %{_datadir}/vim/v*/lang/ga/
973 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
974 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
975 %lang(it) %{_datadir}/vim/v*/lang/it/
976 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
977 %lang(ja) %{_datadir}/vim/v*/lang/ja/
978 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
979 %lang(ko) %{_datadir}/vim/v*/lang/ko/
980 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
981 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
982 %lang(nb) %{_datadir}/vim/v*/lang/no/
983 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
984 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
985 %lang(pl) %{_datadir}/vim/v*/lang/pl/
986 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
987 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
988 %lang(ru) %{_datadir}/vim/v*/lang/ru/
989 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
990 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
991 %lang(sk) %{_datadir}/vim/v*/lang/sk/
992 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
993 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
994 %lang(sv) %{_datadir}/vim/v*/lang/sv/
995 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
996 %lang(uk) %{_datadir}/vim/v*/lang/uk/
997 %lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
998 %lang(vi) %{_datadir}/vim/v*/lang/vi/
999 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1000 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1001 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1002 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1003 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/
1004 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1005 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1006 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1007 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1008 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/
1009
1010 %dir %{_datadir}/vim/v*/spell
1011 %{_datadir}/vim/v*/spell/cleanadd.vim
1012 %lang(he) %{_datadir}/vim/v*/spell/he.*
1013 %lang(yi) %{_datadir}/vim/v*/spell/yi.*
1014
1015 %{_datadir}/vim/v*/macros
1016 %{_datadir}/vim/v*/plugin
1017 %{_datadir}/vim/v*/print
1018 %{_datadir}/vim/v*/syntax
1019 %{_datadir}/vim/v*/tools
1020 %{_datadir}/vim/v*/tutor
1021 %{_datadir}/vim/v*/colors
1022 %{_datadir}/vim/v*/compiler
1023 %{_datadir}/vim/v*/autoload
1024 %{_datadir}/vim/v*/*.vim
1025
1026 %{_mandir}/man1/rvim.1*
1027 %{_mandir}/man1/vim.1*
1028 %{_mandir}/man1/vimtutor.1*
1029 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1030 %lang(fi) %{_mandir}/fi/man1/vim.1*
1031 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1032 %lang(fr) %{_mandir}/fr/man1/vim.1*
1033 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1034 %lang(id) %{_mandir}/id/man1/vim.1*
1035 %lang(it) %{_mandir}/it/man1/vim.1*
1036 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1037 %lang(pl) %{_mandir}/pl/man1/vim.1*
1038 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1039 %lang(ru) %{_mandir}/ru/man1/vim.1*
1040 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1041 %{_iconsdir}/hicolor/16x16/apps/vim.png
1042 %{_iconsdir}/hicolor/32x32/apps/vim.png
1043 %{_iconsdir}/hicolor/48x48/apps/vim.png
1044
1045 %files spell-en
1046 %defattr(644,root,root,755)
1047 %{_datadir}/vim/v*/spell/en.*.*
1048
1049 %if %{with athena}
1050 %files -n gvim-athena
1051 %defattr(644,root,root,755)
1052 %attr(755,root,root) %{_bindir}/gvim.athena
1053 %{_desktopdir}/gvim-athena.desktop
1054 %endif
1055
1056 %if %{with motif}
1057 %files -n gvim-motif
1058 %defattr(644,root,root,755)
1059 %attr(755,root,root) %{_bindir}/gvim.motif
1060 %{_desktopdir}/gvim-motif.desktop
1061 %endif
1062
1063 %if %{with gtk}
1064 %files -n gvim-gtk
1065 %defattr(644,root,root,755)
1066 %attr(755,root,root) %{_bindir}/gvim.gtk
1067 %attr(755,root,root) %{_bindir}/gvimdiff
1068 %attr(755,root,root) %{_bindir}/rgvim
1069 %attr(755,root,root) %{_bindir}/rgview
1070 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1071 %{_mandir}/man1/gvi*
1072 %{_mandir}/man1/rgv*
1073 %lang(fi) %{_mandir}/fi/man1/gvi*
1074 %lang(fi) %{_mandir}/fi/man1/rgv*
1075 %lang(fr) %{_mandir}/fr/man1/gvi*
1076 %lang(fr) %{_mandir}/fr/man1/rgv*
1077 %lang(id) %{_mandir}/id/man1/gvi*
1078 %lang(id) %{_mandir}/id/man1/rgv*
1079 %lang(it) %{_mandir}/it/man1/gvi*
1080 %lang(it) %{_mandir}/it/man1/rgv*
1081 %lang(pl) %{_mandir}/pl/man1/gvi*
1082 %lang(pl) %{_mandir}/pl/man1/rgv*
1083 %lang(ru) %{_mandir}/ru/man1/gvi*
1084 %lang(ru) %{_mandir}/ru/man1/rgv*
1085 %{_desktopdir}/gvim-gtk.desktop
1086 %endif
1087
1088 %if %{with gnome}
1089 %files -n gvim-gnome
1090 %defattr(644,root,root,755)
1091 %attr(755,root,root) %{_bindir}/gvim.gnome
1092 %{_desktopdir}/gvim-gnome.desktop
1093 %endif
This page took 1.0126 seconds and 4 git commands to generate.