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