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