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