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