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