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