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