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