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