]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- updated to 7.0f
[packages/vim.git] / vim.spec
1 # TODO:
2 # - some nice icon
3 # - patches cleanup
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  perl            # without Perl interp
12 %bcond_without  python          # without Python interp
13 %bcond_with     ruby            # with Ruby interp
14 %bcond_with     tcl             # with Tcl interp
15 %bcond_with     bonobo          # with bonobo component (breaks other things)
16 %bcond_without  selinux         # without selinux support
17 %bcond_without  home_etc        # without home_etc support
18 #
19 %define         _ver            7.0
20 %define         _patchlevel     f
21 %define         _rel            1
22
23 # cflags get changed while configuring
24 %undefine       configure_cache
25 #
26 Summary:        Vi IMproved - a Vi clone
27 Summary(de):    VIsual editor iMproved
28 Summary(es):    Editor visual incrementado
29 Summary(fr):    Editeur VIM : VIsual editor iMproved
30 Summary(pl):    Vi IMproved - klon edytora Vi
31 Summary(pt_BR): Editor visual incrementado
32 Summary(ru):    Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
33 Summary(tr):    Geliþmiþ bir vi sürümü
34 Summary(uk):    Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
35 Name:           vim
36 Version:        %{_ver}
37 Release:        0.%{_patchlevel}.%{_rel}
38 Epoch:          4
39 License:        Charityware
40 Group:          Applications/Editors/Vim
41 Source0:        ftp://ftp.vim.org/pub/vim/unstable/snapshot/%{name}-%{_ver}%{_patchlevel}.zip
42 # Source0-md5:  3a7102bcbd3243d58b37f626296c2e60
43 Source1:        ftp://ftp.vim.org/pub/vim/unstable/extra/vim-%{_ver}%{_patchlevel}-lang.tar.gz
44 # Source1-md5:  e389ef8a5d6662a92c97dd34bcfb195d
45 Source2:        ftp://ftp.vim.org/pub/vim/unstable/extra/vim-%{_ver}%{_patchlevel}-extra.tar.gz
46 # Source2-md5:  abb56c3572be6ad27b21de22cc922e6c
47 Source4:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
48 # Source4-md5:  bc4d1e115ca506ad7751b9bd2b773a7f
49 Source5:        http://skawina.eu.org/mikolaj/usr_doc_pl.zip
50 # Source5-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 # http://www.vim.org/scripts/script.php?script_id=1120 (1.23)
57 Source15:       php.%{name}
58 # http://www.vim.org/scripts/script.php?script_id=415 (1.13)
59 Source16:       zenburn.%{name}
60 Source17:       spec.%{name}
61 # http://www.vim.org/scripts/script.php?script_id=1491 (0.5)
62 Source18:       javascript.%{name}
63 Source19:       nagios.vim
64 Source20:       vim-ftplugin-spec.vim
65 Patch0:         %{name}-sysconfdir.patch
66 Patch1:         %{name}-visual.patch
67 Patch2:         %{name}-paths.patch
68 Patch5:         %{name}-%{name}rc.patch
69 Patch6:         %{name}-no_libelf.patch
70 Patch7:         %{name}-egrep.patch
71 Patch9:         %{name}-awk.patch
72 Patch11:        %{name}-bonobo.patch
73 Patch12:        %{name}-home_etc.patch
74 Patch13:        %{name}-selinux.patch
75 Patch16:        %{name}-filetype_vim-perl_tests.patch
76 Patch17:        %{name}-apache.patch
77 Patch18:        %{name}-po-syntax.patch
78 Patch19:        %{name}-modprobe.patch
79 Patch21:        %{name}-gtkfilechooser.patch
80 Patch22:        %{name}-gtkfilechooser-bonobo.patch
81 Patch23:        %{name}-doubleparenthesis.patch
82 Patch25:        %{name}-syntax-fstab.patch
83 Patch26:        010_all_%{name}-6.3-vixie.patch
84 Patch27:        013_all_%{name}-7.0-cron-vars-79981.patch
85 Patch30:        020_all_%{name}-7.0-fstab-tmpfs-size.patch
86 Patch31:        021_all_%{name}-7.0-fstab-bogus-errors.patch
87 Patch32:        024_all_%{name}-6.3-bash-83565.patch
88 Patch33:        027_all_%{name}-7.0-automake-substitutions-93378.patch
89 Patch34:        %{name}-smarty.patch
90 Patch35:        %{name}-filetype_vim-php45.patch
91 Patch36:        %{name}-tutor-lessdeps.patch
92 Patch37:        %{name}-nagios.patch
93 Patch99:        %{name}-bonobo-20050909.patch
94 URL:            http://www.vim.org/
95 BuildRequires:  acl-devel
96 BuildRequires:  autoconf
97 BuildRequires:  gettext-devel
98 BuildRequires:  gpm-devel
99 %{?with_gtk:BuildRequires:      gtk+2-devel >= 2:2.6.0}
100 %{?with_gnome:BuildRequires:    libgnomeui-devel >= 2.2.0.1}
101 %{?with_selinux:BuildRequires:  libselinux-devel}
102 BuildRequires:  ncurses-devel
103 %{?with_motif:BuildRequires:    openmotif-devel}
104 %{?with_perl:BuildRequires:     perl-devel}
105 %{?with_python:BuildRequires:   python-devel}
106 %{?with_ruby:BuildRequires:     ruby-devel}
107 %{?with_tcl:BuildRequires:      tcl-devel}
108 %{?with_athena:BuildRequires:   xorg-lib-libXaw-devel}
109 Obsoletes:      kvim
110 %if %{with bonobo}
111 BuildRequires:  ORBit2-devel
112 BuildRequires:  libbonoboui-devel >= 2.2.0
113 BuildRequires:  libgnomeui-devel >= 2.2.0.1
114 BuildRequires:  nautilus-devel >= 2.2.0
115 %endif
116 BuildRequires:  rpmbuild(macros) >= 1.210
117 %if %{with static}
118 BuildRequires:  acl-static
119 BuildRequires:  attr-static
120 BuildRequires:  glibc-static
121 %{?with_selinux:BuildRequires:  libselinux-static}
122 BuildRequires:  ncurses-static
123 %else
124 Provides:       %{name}-static = %{epoch}:%{version}-%{release}
125 Obsoletes:      elvis-static
126 Obsoletes:      nvi
127 Obsoletes:      vi
128 Obsoletes:      vim-minimal
129 Obsoletes:      vim-static
130 %endif
131 BuildRequires:  unzip
132 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
133 Provides:       vi-editor
134 Provides:       vi
135 Obsoletes:      vim-enhanced
136 Obsoletes:      vim-ispell
137 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
138
139 # that's example script
140 %define         _noautoreq      '/bin/csh'
141
142 %description
143 Text editor similar to Vi. Important improvements: multiple windows,
144 multi-level undo, block highliting, folding, and many other.
145
146 %description -l cs
147 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
148 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
149 populární. ViM je obohacený funkcemi jako: podpora více oken,
150 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
151 funkcí.
152
153 %description -l de
154 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
155 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
156 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
157 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
158 Standard-vi-Programm.
159
160 %description -l es
161 El editor Visual Mejorado es una versión actualizada y con nuevas
162 características adicionales del mundialmente famoso 'vi' que acompaña
163 prácticamente todos los sistemas UN*X. Posibilita trabajar con
164 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
165 otras muchas características del 'vi'.
166
167 %description -l fr
168 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
169 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
170 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
171 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
172 blocs et autres caractéristiques au vi de base.
173
174 %description -l id
175 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
176 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
177 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
178 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
179 windows, multi-level undo, block highlighting, dll.
180
181 %description -l is
182 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
183 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
184 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
185 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
186 fleira.
187
188 %description -l it
189 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
190 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
191 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
192 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
193 dei blocchi e altro.
194
195 %description -l pl
196 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
197 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
198 folding i wiele innych.
199
200 %description -l ja
201 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
202 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
203 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
204 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
205 de blocos e mais.
206
207 %description -l pt_BR
208 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
209 características do mundialmente famoso 'vi' que acompanha praticamente
210 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
211 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
212 outras características do 'vi'.
213
214 %description -l ru
215 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
216 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
217 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
218 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
219
220 %description -l sk
221 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
222 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
223 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
224 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
225
226 %description -l sv
227 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
228 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
229 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
230 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
231 ändå.
232
233 %description -l tr
234 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
235 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
236
237 %description -l uk
238 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
239 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
240 æʠ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉʠצÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
241 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
242
243 %package -n xxd
244 Summary:        Utility to convert files to hexdump or do the reverse
245 Summary(pl):    Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
246 Group:          Applications/Editors/Vim
247
248 %description -n xxd
249 xxd creates a hex dump of a given file or standard input. It can also
250 convert a hex dump back to its original binary form. Like uuencode and
251 uudecode it allows the transmission of binary data in a `mail-safe'
252 ASCII representation, but has the advantage of decoding to standard
253 output. Moreover, it can be used to perform binary file patching.
254
255 %description -n xxd -l pl
256 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
257 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
258 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
259 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
260 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
261
262 %package static
263 Summary:        Statically linked Vim
264 Summary(pl):    Statycznie skonsolidowany Vim
265 Group:          Applications/Editors/Vim
266 Provides:       vi-editor
267 Provides:       vi
268 Obsoletes:      elvis-static
269 Obsoletes:      nvi
270 Obsoletes:      vim-minimal
271
272 %description static
273 Text editor similar to Vi. This version is built with minimal feature
274 and is installed in /bin as a rescue tool. The installation of this
275 package is STRONGLY recommended.
276
277 %description static -l pl
278 Edytor tekstu podobny do Vi. Ta wersja zosta³a skonsolidowana
279 statycznie i posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin
280 jako narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
281 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
282
283 %description static -l ru
284 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
285 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
286 ÓÉÓÔÅÍÁ.
287
288 %description static -l uk
289 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
290 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
291
292 %package rt
293 Summary:        Vim runtime files
294 Summary(cs):    Soubory nezbytné pro libovolný editor ViM
295 Summary(da):    Fælles filer som er nødvendige for enhver version af VIM editoren
296 Summary(de):    Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
297 Summary(es):    Ficheros comunes a todas las versiones de VIM
298 Summary(fr):    Fichiers communs indispensables pour toute version de l'éditeur VIM
299 Summary(id):    File umum yang dibutuhkan oleh semua versi editor VIM
300 Summary(is):    Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
301 Summary(it):    File comuni necessari per tutte le versioni dell'editor VIM
302 Summary(ja):    ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
303 Summary(nb):    Felles filer som er nødvendige for enhver versjon av VIM editoren
304 Summary(pl):    Pliki przydatne edytorowi Vim
305 Summary(pt):    Os ficheiros comuns necessários para qualquer versão do editor VIM
306 Summary(ru):    æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
307 Summary(sk):    Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
308 Summary(sl):    Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
309 Summary(sv):    De gemensamma filerna som behövs av alla versioner av redigeraren VIM
310 Summary(uk):    æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
311 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼­Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
312 Group:          Applications/Editors/Vim
313 # mktemp is for vimtutor
314 Requires:       mktemp
315 Requires:       vi-editor
316 Obsoletes:      vim-common
317
318 %description rt
319 This package contains macros, documentation, syntax configuration and
320 manual pages for Vim. If you want to take advantage of Vim more
321 powerful features, you should install this package.
322
323 %description rt -l cs
324 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
325 vim.
326
327 %description rt -l da
328 The vim-rt package contains files which every VIM binary will need in
329 order to run.
330
331 %description rt -l de
332 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
333 Ausführung benötigt.
334
335 %description rt -l fr
336 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
337 VIM a besoin pour fonctionner.
338
339 %description rt -l id
340 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
341 berjalan.
342
343 %description rt -l is
344 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
345 til að keyra.
346
347 %description rt -l it
348 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
349 per poter funzionare.
350
351 %description rt -l pl
352 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
353 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
354 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
355
356 %description rt -l pt
357 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
358 irão necessitar para correr.
359
360 %description rt -l ru
361 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
362 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
363
364 %description rt -l sk
365 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
366 funkciu ka¾dá verzia editoru VIM.
367
368 %description rt -l sv
369 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
370 köra.
371
372 %description rt -l uk
373 ðÁËÅÔ vim-rt Í¦ÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
374 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
375
376 %package -n gvim-athena
377 Summary:        Vim for X Window built with Athena
378 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Athena
379 Group:          Applications/Editors/Vim
380 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
381 Requires:       iconv
382 Provides:       vi-editor
383 Obsoletes:      vim-X11
384
385 %description -n gvim-athena
386 The classic Unix text editor now also under X Window System! This
387 version is built with Athena Widget Set.
388
389 %description -n gvim-athena -l pl
390 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
391 biblioteki Athena Widget Set.
392
393 %description -n gvim-athena -l ru
394 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
395 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
396 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
397
398 %description -n gvim-athena -l uk
399 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Athena Widget
400 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
401 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
402
403 %package -n gvim-motif
404 Summary:        Vim for X Window built with Motif
405 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Motif
406 Group:          Applications/Editors/Vim
407 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
408 Requires:       iconv
409 Provides:       vi-editor
410 Obsoletes:      vim-X11
411
412 %description -n gvim-motif
413 The classic Unix text editor now also under X Window System! This
414 version is built with Motif.
415
416 %description -n gvim-motif -l pl
417 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
418 biblioteki Motif.
419
420 %description -n gvim-motif -l ru
421 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
422 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
423 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
424
425 %description -n gvim-motif -l uk
426 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
427 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
428 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
429
430 %package -n gvim-gtk
431 Summary:        Vim for X Window built with gtk
432 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GTK
433 Group:          Applications/Editors/Vim
434 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
435 Requires:       iconv
436 Provides:       vi-editor
437 Obsoletes:      vim-X11
438
439 %description -n gvim-gtk
440 The classic Unix text editor now also under X Window System! This
441 version is built with GTK.
442
443 %description -n gvim-gtk -l pl
444 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
445 biblioteki GTK.
446
447 %description -n gvim-gtk -l ru
448 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
449 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
450 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
451 'gvim'...
452
453 %description -n gvim-gtk -l uk
454 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
455 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
456 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
457
458 %package -n gvim-gnome
459 Summary:        Vim for X Window built with GNOME
460 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GNOME
461 Group:          Applications/Editors/Vim
462 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
463 Requires:       iconv
464 Provides:       vi-editor
465 Obsoletes:      vim-X11
466
467 %description -n gvim-gnome
468 The classic Unix text editor now also under X Window System! This
469 version is build with GNOME.
470
471 %description -n gvim-gnome -l pl
472 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
473 bibliotek GNOME.
474
475 %description -n gvim-gnome -l ru
476 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
477 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
478 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
479
480 %description -n gvim-gnome -l uk
481 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
482 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
483 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
484
485 %package -n gvim-bonobo
486 Summary:        Vim for X Window built as bonobo component
487 Summary(pl):    Vim dla X Window zbudowany jako element bonobo
488 Group:          Applications/Editors/Vim
489 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
490 Requires:       iconv
491 Provides:       vi-editor
492 Obsoletes:      vim-X11
493
494 %description -n gvim-bonobo
495 The classic Unix text editor now also under X Window System! This
496 version is build as bonobo component.
497
498 %description -n gvim-bonobo -l pl
499 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window, zbudowana jako
500 element bonobo.
501
502 %prep
503 %setup -q -c
504
505 %patch0 -p1
506 %{?with_bonobo:%patch99 -p1}
507 %patch1 -p1
508 %patch2 -p1
509 %patch5 -p1
510 %patch6 -p1
511 %patch7 -p1
512 %patch9 -p1
513 %{?with_bonobo:%patch11 -p1}
514 %{?with_home_etc:%patch12 -p1}
515 %{?with_selinux:%patch13 -p1}
516 %patch16 -p1
517 #%patch17 -p1
518 #%patch18 -p1
519 %patch19 -p0 -b .modprobe
520 #%{!?with_bonobo:%patch21 -p0}
521 %{?with_bonobo:%patch22 -p1}
522 %patch23 -p1
523 #%patch25 -p1
524 %patch26 -p1
525 %patch27 -p1
526 %patch30 -p1
527 %patch31 -p1
528 %patch32 -p0
529 %patch33 -p0
530 %patch34 -p1
531 %patch35 -p1
532 %patch36 -p1
533 %patch37 -p1
534
535 install %{SOURCE15} runtime/indent
536 install %{SOURCE16} runtime/colors
537 install %{SOURCE17} runtime/syntax
538 install %{SOURCE18} runtime/syntax
539 install %{SOURCE19} runtime/syntax
540 install %{SOURCE20} runtime/ftplugin/spec.vim
541
542 %build
543 cd src
544 %{__autoconf}
545 # needed to prevent deconfiguring
546 cp -f configure auto
547
548 install -d bin
549
550 %if %{with bonobo}
551 %{__make} distclean
552 %configure \
553         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
554         --with-features=huge \
555         --enable-gui=gnome2 \
556         --enable-bonobo \
557         --enable-gtk2-check \
558         --enable-gnome-check \
559         --with-x \
560         %{!?with_perl:--disable-perlinterp} \
561         %{?with_perl:--enable-perlinterp} \
562         %{!?with_python:--disable-pythoninterp} \
563         %{?with_python:--enable-pythoninterp} \
564         %{!?with_ruby:--disable-rubyinterp} \
565         %{?with_ruby:--enable-rubyinterp} \
566         %{!?with_tcl:--disable-tclinterp} \
567         %{?with_tcl:--enable-tclinterp} \
568         --disable-gpm \
569         --enable-cscope \
570         --enable-nls \
571         --with-modifiedby="PLD Linux Distribution" \
572         --with-compiledby="PLD Linux Distribution"
573
574 %{__make} vim-component vim-factory Vim_Control.server
575 mv vim-component vim-factory Vim_Control.server bin/
576 %endif
577
578 %if %{with static}
579 %{__make} distclean
580 LDFLAGS="%{rpmldflags} -static"
581 %configure \
582         --disable-gui \
583         --without-x \
584         --disable-perlinterp \
585         --disable-pythoninterp \
586         --disable-rubyinterp \
587         --disable-tclinterp \
588         --disable-cscope \
589         --disable-gpm \
590         --disable-multibyte \
591         %{?with_bonobo:--disable-bonobo} \
592         --with-features=small \
593         --with-tlib=tinfo \
594         --disable-nls \
595         --with-modifiedby="PLD Linux Distribution" \
596         --with-compiledby="PLD Linux Distribution"
597
598 %{__make} vim \
599         SPELL_OBJ=
600 mv -f vim bin/vim.static
601 LDFLAGS="%{rpmldflags}"
602 %endif
603
604 %{__make} distclean
605 %configure \
606         --disable-gui \
607         --without-x \
608         %{!?with_perl:--disable-perlinterp} \
609         %{?with_perl:--enable-perlinterp} \
610         %{!?with_python:--disable-pythoninterp} \
611         %{?with_python:--enable-pythoninterp} \
612         %{!?with_ruby:--disable-rubyinterp} \
613         %{?with_ruby:--enable-rubyinterp} \
614         %{!?with_tcl:--disable-tclinterp} \
615         %{?with_tcl:--enable-tclinterp} \
616         %{?with_bonobo:--disable-bonobo} \
617         --enable-cscope \
618         --enable-gpm \
619         --with-features=huge \
620         --enable-multibyte \
621         --with-tlib=ncurses \
622         --enable-nls \
623         --with-modifiedby="PLD Linux Distribution" \
624         --with-compiledby="PLD Linux Distribution"
625
626 %{__make} vim \
627         SPELL_OBJ=
628 mv -f vim bin/vim.ncurses
629
630 %if %{with athena}
631 %{__make} distclean
632 %configure \
633         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
634         --with-features=huge \
635         --enable-gui=athena \
636         --with-x \
637         %{!?with_perl:--disable-perlinterp} \
638         %{?with_perl:--enable-perlinterp} \
639         %{!?with_python:--disable-pythoninterp} \
640         %{?with_python:--enable-pythoninterp} \
641         %{!?with_ruby:--disable-rubyinterp} \
642         %{?with_ruby:--enable-rubyinterp} \
643         %{!?with_tcl:--disable-tclinterp} \
644         %{?with_tcl:--enable-tclinterp} \
645         %{?with_bonobo:--disable-bonobo} \
646         --enable-cscope \
647         --enable-fontset \
648         --disable-gpm \
649         --without-gnome \
650         --enable-nls \
651         --with-modifiedby="PLD Linux Distribution" \
652         --with-compiledby="PLD Linux Distribution"
653
654 %{__make} vim
655 mv -f vim bin/gvim.athena
656 %endif
657
658
659 %if %{with motif}
660 %{__make} distclean
661 %configure \
662         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
663         --with-features=huge \
664         --enable-gui=motif \
665         --with-x \
666         %{!?with_perl:--disable-perlinterp} \
667         %{?with_perl:--enable-perlinterp} \
668         %{!?with_python:--disable-pythoninterp} \
669         %{?with_python:--enable-pythoninterp} \
670         %{!?with_ruby:--disable-rubyinterp} \
671         %{?with_ruby:--enable-rubyinterp} \
672         %{!?with_tcl:--disable-tclinterp} \
673         %{?with_tcl:--enable-tclinterp} \
674         %{?with_bonobo:--disable-bonobo} \
675         --enable-multibyte \
676         --enable-cscope \
677         --enable-fontset \
678         --disable-gpm \
679         --without-gnome \
680         --enable-nls \
681         --with-modifiedby="PLD Linux Distribution" \
682         --with-compiledby="PLD Linux Distribution"
683
684 %{__make} vim
685 mv -f vim bin/gvim.motif
686 %endif
687
688 %if %{with gtk}
689 %{__make} distclean
690 %configure \
691         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
692         --with-features=huge \
693         --enable-gui=gtk2 \
694         --enable-gtk2-check \
695         --with-x \
696         %{!?with_perl:--disable-perlinterp} \
697         %{?with_perl:--enable-perlinterp} \
698         %{!?with_python:--disable-pythoninterp} \
699         %{?with_python:--enable-pythoninterp} \
700         %{!?with_ruby:--disable-rubyinterp} \
701         %{?with_ruby:--enable-rubyinterp} \
702         %{!?with_tcl:--disable-tclinterp} \
703         %{?with_tcl:--enable-tclinterp} \
704         %{?with_bonobo:--disable-bonobo} \
705         --disable-gpm \
706         --enable-cscope \
707         --enable-nls \
708         --with-modifiedby="PLD Linux Distribution" \
709         --with-compiledby="PLD Linux Distribution"
710
711 %{__make} vim
712 mv -f vim bin/gvim.gtk
713 %endif
714
715 %if %{with gnome}
716 %{__make} distclean
717 %configure \
718         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
719         --with-features=huge \
720         --enable-gui=gnome2 \
721         %{?with_bonobo:--disable-bonobo} \
722         --enable-gtk2-check \
723         --enable-gnome-check \
724         --with-x \
725         %{!?with_perl:--disable-perlinterp} \
726         %{?with_perl:--enable-perlinterp} \
727         %{!?with_python:--disable-pythoninterp} \
728         %{?with_python:--enable-pythoninterp} \
729         %{!?with_ruby:--disable-rubyinterp} \
730         %{?with_ruby:--enable-rubyinterp} \
731         %{!?with_tcl:--disable-tclinterp} \
732         %{?with_tcl:--enable-tclinterp} \
733         --disable-gpm \
734         --enable-cscope \
735         --enable-nls \
736         --with-modifiedby="PLD Linux Distribution" \
737         --with-compiledby="PLD Linux Distribution"
738
739 %{__make} vim
740 mv -f vim bin/gvim.gnome
741 %endif
742
743
744 %{__make} xxd/xxd languages
745
746 %install
747 rm -rf $RPM_BUILD_ROOT
748 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
749         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
750         $RPM_BUILD_ROOT%{_desktopdir}
751
752 %{__make} install \
753         DESTDIR=$RPM_BUILD_ROOT
754
755 rm -f $RPM_BUILD_ROOT%{_bindir}/*
756
757 %if %{with static}
758 install src/bin/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim
759 install src/bin/vim.static      $RPM_BUILD_ROOT/bin/vi
760 %else
761 install src/bin/vim.ncurses     $RPM_BUILD_ROOT/bin/vi
762 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
763 %endif
764 install src/xxd/xxd     $RPM_BUILD_ROOT%{_bindir}/xxd
765 install src/vimtutor    $RPM_BUILD_ROOT%{_bindir}/vimtutor
766
767 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
768
769 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
770 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
771
772 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
773
774 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
775 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
776 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
777 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
778 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
779
780 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
781 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
782
783 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
784 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
785 ln -sf vi  $RPM_BUILD_ROOT/bin/view
786 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
787
788 install %{SOURCE14}     $RPM_BUILD_ROOT%{_desktopdir}
789
790 %if %{with athena}
791 install src/bin/gvim.athena     $RPM_BUILD_ROOT%{_bindir}/gvim.athena
792 install %{SOURCE10}     $RPM_BUILD_ROOT%{_desktopdir}
793 %endif
794 %if %{with motif}
795 install src/bin/gvim.motif      $RPM_BUILD_ROOT%{_bindir}/gvim.motif
796 install %{SOURCE11}     $RPM_BUILD_ROOT%{_desktopdir}
797 %endif
798 %if %{with gnome}
799 install src/bin/gvim.gnome      $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
800 install %{SOURCE13}     $RPM_BUILD_ROOT%{_desktopdir}
801 %endif
802 %if %{with gtk}
803 install src/bin/gvim.gtk        $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
804 ln -sf gvim.gtk         $RPM_BUILD_ROOT%{_bindir}/gvim
805 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgvim
806 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gview
807 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgview
808 install %{SOURCE12}     $RPM_BUILD_ROOT%{_desktopdir}
809 %endif
810
811 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
812 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
813 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
814 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
815
816 # Bonobo
817 %if %{with bonobo}
818 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
819 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
820 install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
821 %endif
822
823 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
824 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE5}
825
826 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,syntax}}
827 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
828
829 %clean
830 rm -rf $RPM_BUILD_ROOT
831
832 %post
833 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
834
835 %postun
836 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
837
838 %post -n gvim-athena
839 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
840
841 %postun -n gvim-athena
842 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
843
844 %post -n gvim-motif
845 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
846
847 %postun -n gvim-motif
848 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
849
850 %post -n gvim-gtk
851 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
852
853 %postun -n gvim-gtk
854 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
855
856 %post -n gvim-gnome
857 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
858
859 %postun -n gvim-gnome
860 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
861
862 %files
863 %defattr(644,root,root,755)
864 %attr(755,root,root) %{_bindir}/vim
865 %attr(755,root,root) %{_bindir}/rvim
866 %{_desktopdir}/%{name}.desktop
867
868 %if %{with static}
869 %files static
870 %endif
871 %defattr(644,root,root,755)
872 %attr(755,root,root) /bin/*
873
874 %{_mandir}/man1/vi.1*
875 %{_mandir}/man1/ex.1*
876 %{_mandir}/man1/view.1*
877 %{_mandir}/man1/rview.1*
878 %lang(fi) %{_mandir}/fi/man1/vi.1*
879 %lang(fi) %{_mandir}/fi/man1/ex.1*
880 %lang(fi) %{_mandir}/fi/man1/view.1*
881 %lang(fi) %{_mandir}/fi/man1/rview.1*
882 %lang(fr) %{_mandir}/fr*/man1/vi.1*
883 %lang(fr) %{_mandir}/fr*/man1/evim.1*
884 %lang(fr) %{_mandir}/fr*/man1/vim.1*
885 %lang(fr) %{_mandir}/fr*/man1/vimdiff.1*
886 %lang(fr) %{_mandir}/fr*/man1/vimtutor.1*
887 %lang(fr) %{_mandir}/fr*/man1/ex.1*
888 %lang(fr) %{_mandir}/fr*/man1/view.1*
889 %lang(fr) %{_mandir}/fr*/man1/rview.1*
890 %lang(id) %{_mandir}/id/man1/vi.1*
891 %lang(id) %{_mandir}/id/man1/ex.1*
892 %lang(id) %{_mandir}/id/man1/view.1*
893 %lang(id) %{_mandir}/id/man1/rview.1*
894 %lang(it) %{_mandir}/it*/man1/ex.1*
895 %lang(it) %{_mandir}/it*/man1/evim.1*
896 %lang(it) %{_mandir}/it*/man1/view.1*
897 %lang(it) %{_mandir}/it*/man1/rview.1*
898 %lang(pl) %{_mandir}/pl*/man1/vi.1*
899 %lang(pl) %{_mandir}/pl*/man1/evim.1*
900 %lang(pl) %{_mandir}/pl*/man1/vim.1*
901 %lang(pl) %{_mandir}/pl*/man1/vimdiff.1*
902 %lang(pl) %{_mandir}/pl*/man1/vimtutor.1*
903 %lang(pl) %{_mandir}/pl*/man1/ex.1*
904 %lang(pl) %{_mandir}/pl*/man1/view.1*
905 %lang(pl) %{_mandir}/pl*/man1/rview.1*
906 %lang(ru) %{_mandir}/ru*/man1/ex.1*
907 %lang(ru) %{_mandir}/ru*/man1/evim.1*
908 %lang(ru) %{_mandir}/ru*/man1/view.1*
909 %lang(ru) %{_mandir}/ru*/man1/rview.1*
910
911 %files -n xxd
912 %defattr(644,root,root,755)
913 %attr(755,root,root) %{_bindir}/xxd
914 %{_mandir}/man1/xxd.1*
915 %lang(fr) %{_mandir}/fr*/man1/xxd.1*
916 %lang(it) %{_mandir}/it*/man1/xxd.1*
917 %lang(pl) %{_mandir}/pl*/man1/xxd.1*
918 %lang(ru) %{_mandir}/ru*/man1/xxd.1*
919
920 %files rt
921 %defattr(644,root,root,755)
922 %attr(755,root,root) %{_bindir}/vimtutor
923 %dir %{_sysconfdir}/vim
924 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
925 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
926
927 %dir %{_datadir}/vim
928 %dir %{_datadir}/vim/v*
929 %dir %{_datadir}/vim/v*/doc
930 %doc %{_datadir}/vim/v*/doc/*.txt
931 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
932 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
933 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
934 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
935 %{_datadir}/vim/v*/ftplugin
936 %{_datadir}/vim/v*/indent
937 %{_datadir}/vim/v*/keymap
938 %dir %{_datadir}/vim/v*/lang
939 %doc %{_datadir}/vim/v*/lang/README*
940
941 # just add after/ and ftdetect/ separately, other dirs caught by globs above or below
942 %{_datadir}/vim/vimfiles/after
943 %{_datadir}/vim/vimfiles/ftdetect
944
945 %lang(af) %{_datadir}/vim/v*/lang/af
946 %lang(ca) %{_datadir}/vim/v*/lang/ca
947 %lang(cs) %{_datadir}/vim/v*/lang/cs
948 %lang(de) %{_datadir}/vim/v*/lang/de
949 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB
950 %lang(es) %{_datadir}/vim/v*/lang/es
951 %lang(fr) %{_datadir}/vim/v*/lang/fr
952 %lang(ga) %{_datadir}/vim/v*/lang/ga
953 %lang(it) %{_datadir}/vim/v*/lang/it
954 %lang(ja) %{_datadir}/vim/v*/lang/ja*
955 %lang(ko) %{_datadir}/vim/v*/lang/ko
956 %lang(pl) %{_datadir}/vim/v*/lang/pl
957 %lang(ru) %{_datadir}/vim/v*/lang/ru
958 %lang(sk) %{_datadir}/vim/v*/lang/sk
959 %lang(sv) %{_datadir}/vim/v*/lang/sv
960 %lang(nb) %{_datadir}/vim/v*/lang/no
961 #%lang(tr) %{_datadir}/vim/v*/lang/tr
962 %lang(uk) %{_datadir}/vim/v*/lang/uk
963 %lang(vi) %{_datadir}/vim/v*/lang/vi
964 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
965 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW*
966
967 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
968 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
969 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
970 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
971 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
972 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
973 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
974 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
975 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
976 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
977 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
978 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
979 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
980 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
981 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
982 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
983 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
984 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
985 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
986 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
987 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
988 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
989 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
990 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
991 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
992 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
993 %lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
994 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
995 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
996 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
997 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
998 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
999 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1000 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1001 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1002
1003 %{_datadir}/vim/v*/spell/cleanadd.vim
1004 %lang(en_GB) %{_datadir}/vim/v*/spell/en.*.*
1005 %lang(he) %{_datadir}/vim/v*/spell/he.*
1006 %lang(yi) %{_datadir}/vim/v*/spell/yi.*
1007
1008 %{_datadir}/vim/v*/macros
1009 %{_datadir}/vim/v*/plugin
1010 %{_datadir}/vim/v*/print
1011 %{_datadir}/vim/v*/syntax
1012 %{_datadir}/vim/v*/tools
1013 %{_datadir}/vim/v*/tutor
1014 %{_datadir}/vim/v*/colors
1015 %{_datadir}/vim/v*/compiler
1016 %{_datadir}/vim/v*/autoload
1017 %{_datadir}/vim/v*/*.vim
1018
1019 %{_mandir}/man1/vim*
1020 %{_mandir}/man1/rvim.*
1021 %lang(fi) %{_mandir}/fi/man1/vim*
1022 %lang(fi) %{_mandir}/fi/man1/rvim.*
1023 %lang(fi) %{_mandir}/fi/man1/gvi*
1024 %lang(fi) %{_mandir}/fi/man1/rgv*
1025 %lang(fr) %{_mandir}/fr/man1/vim*
1026 %lang(fr) %{_mandir}/fr/man1/rvim.*
1027 %lang(fr) %{_mandir}/fr/man1/gvi*
1028 %lang(fr) %{_mandir}/fr/man1/rgv*
1029 %lang(id) %{_mandir}/id/man1/vim*
1030 %lang(id) %{_mandir}/id/man1/rvim.*
1031 %lang(id) %{_mandir}/id/man1/gvi*
1032 %lang(id) %{_mandir}/id/man1/rgv*
1033 %lang(it) %{_mandir}/it*/man1/vim*
1034 %lang(pl) %{_mandir}/pl/man1/vim*
1035 %lang(pl) %{_mandir}/pl/man1/rvim.*
1036 %lang(pl) %{_mandir}/pl/man1/gvi*
1037 %lang(pl) %{_mandir}/pl/man1/rgv*
1038 %lang(ru) %{_mandir}/ru*/man1/vim*
1039
1040 %{_iconsdir}/hicolor/16x16/apps/vim.png
1041 %{_iconsdir}/hicolor/32x32/apps/vim.png
1042 %{_iconsdir}/hicolor/48x48/apps/vim.png
1043
1044 %if %{with athena}
1045 %files -n gvim-athena
1046 %defattr(644,root,root,755)
1047 %attr(755,root,root) %{_bindir}/gvim.athena
1048 %{_desktopdir}/gvim-athena.desktop
1049 %endif
1050
1051 %if %{with motif}
1052 %files -n gvim-motif
1053 %defattr(644,root,root,755)
1054 %attr(755,root,root) %{_bindir}/gvim.motif
1055 %{_desktopdir}/gvim-motif.desktop
1056 %endif
1057
1058 %if %{with gtk}
1059 %files -n gvim-gtk
1060 %defattr(644,root,root,755)
1061 %attr(755,root,root) %{_bindir}/gvim.gtk
1062 %attr(755,root,root) %{_bindir}/rgvim
1063 %attr(755,root,root) %{_bindir}/rgview
1064 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1065 %{_desktopdir}/gvim-gtk.desktop
1066 %endif
1067
1068 %if %{with gnome}
1069 %files -n gvim-gnome
1070 %defattr(644,root,root,755)
1071 %attr(755,root,root) %{_bindir}/gvim.gnome
1072 %{_desktopdir}/gvim-gnome.desktop
1073 %endif
1074
1075 %if %{with bonobo}
1076 %files -n gvim-bonobo
1077 %defattr(644,root,root,755)
1078 %attr(755,root,root) %{_bindir}/vim-component
1079 %attr(755,root,root) %{_bindir}/vim-factory
1080 %{_libdir}/bonobo/servers/*
1081 %endif
This page took 0.098448 seconds and 4 git commands to generate.