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