]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- updated /usr/share/{syntax,indent}/ocaml.vim
[packages/vim.git] / vim.spec
1 #
2 # Conditional build:
3 # _without_static       - without static version
4 # _without_athena       - without Athena Widgets-based gvim
5 # _without_motif        - without Motif-based gvim
6 # _without_gtk          - without gtk+-based gvim support
7 # _without_gnome        - without gnome-based gvim support
8 # _with_perl            - with perl interp
9 # _with_python          - with python interp
10 # _with_ruby            - with ruby interp
11 # _with_tcl             - with tcl interp
12
13 %define         _ver            6.1
14 %define         _patchlevel     212
15
16 Summary:        Vi IMproved - a Vi clone
17 Summary(de):    VIsual editor iMproved
18 Summary(es):    Editor visual incrementado
19 Summary(fr):    Editeur VIM : VIsual editor iMproved
20 Summary(pl):    Vi IMproved - klon edytora Vi
21 Summary(pt_BR): Editor visual incrementado
22 Summary(ru):    Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
23 Summary(tr):    Geliþmiþ bir vi sürümü
24 Summary(uk):    Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
25 Name:           vim
26 Version:        %{_ver}.%{_patchlevel}
27 Release:        4
28 Epoch:          4
29 License:        Charityware
30 Group:          Applications/Editors/Vim
31 Source0:        ftp://ftp.vim.org/pub/editors/vim/unix/%{name}-%{_ver}.tar.bz2
32 Source1:        ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-lang.tar.gz
33 Source2:        ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-extra.tar.gz
34 # packed from   ftp://ftp.vim.org/pub/editors/vim/patches/6.1.*
35 Source3:        %{name}-patches-%{_ver}.%{_patchlevel}.tar.bz2
36 Source4:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
37 Source10:       g%{name}-athena.desktop
38 Source11:       g%{name}-motif.desktop
39 Source12:       g%{name}-gtk.desktop
40 Source13:       g%{name}-gnome.desktop
41 Patch0:         %{name}-sysconfdir.patch
42 Patch1:         %{name}-visual.patch
43 Patch2:         %{name}-paths.patch
44 Patch3:         %{name}-ispell.patch
45 Patch4:         %{name}-ispell-axp.patch
46 Patch5:         %{name}-ac25x.patch
47 Patch6:         %{name}-vimrc.patch
48 Patch7:         %{name}-no_libelf.patch
49 Patch8:         %{name}-egrep.patch
50 Patch9:         %{name}-ocaml.patch
51 URL:            http://www.vim.org/
52 BuildRequires:  acl-devel
53 BuildRequires:  autoconf
54 BuildRequires:  gettext-devel
55 BuildRequires:  gpm-devel
56 BuildRequires:  ncurses-devel
57 %{!?_without_gnome:BuildRequires:       gnome-libs-devel}
58 %{!?_without_gtk:BuildRequires:         gtk+-devel}
59 %{!?_without_motif:BuildRequires:       motif-devel}
60 %{!?_without_static:BuildRequires:      glibc-static}
61 %{!?_without_static:BuildRequires:      ncurses-static}
62 %{?_with_perl:BuildRequires:            perl-devel}
63 %{?_with_python:BuildRequires:          python-devel}
64 %{?_with_ruby:BuildRequires:            ruby}
65 %{?_with_tcl:BuildRequires:             tcl-devel}
66 Requires:       %{name}-rt = %{version}
67 %{?_without_static:Requires:    %{name}-static = %{version}}
68 Obsoletes:      vim-enhanced
69 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71 %description
72 Text editor similar to Vi. Important improvements: multiple windows,
73 multi-level undo, block highliting, folding, and many other.
74
75 %description -l cs
76 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
77 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
78 populární. ViM je obohacený funkcemi jako: podpora více oken,
79 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
80 funkcí.
81
82 %description -l de
83 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
84 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
85 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
86 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
87 Standard-vi-Programm.
88
89 %description -l es
90 El editor Visual Mejorado es una versión actualizada y con nuevas
91 características adicionales del mundialmente famoso 'vi' que acompaña
92 prácticamente todos los sistemas UN*X. Posibilita trabajar con
93 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
94 otras muchas características del 'vi'.
95
96 %description -l fr
97 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
98 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
99 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
100 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
101 blocs et autres caractéristiques au vi de base.
102
103 %description -l id
104 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
105 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
106 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
107 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
108 windows, multi-level undo, block highlighting, dll.
109
110 %description -l is
111 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
112 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
113 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
114 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
115 fleira.
116
117 %description -l it
118 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
119 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
120 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
121 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
122 dei blocchi e altro.
123
124 %description -l pl
125 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
126 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
127 folding i wiele innych.
128
129 %description -l ja
130 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
131 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
132 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
133 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
134 de blocos e mais.
135
136 %description -l pt_BR
137 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
138 características do mundialmente famoso 'vi' que acompanha praticamente
139 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
140 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
141 outras características do 'vi'.
142
143 %description -l ru
144 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
145 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
146 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
147 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
148
149 %description -l sk
150 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
151 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
152 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
153 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
154
155 %description -l sv
156 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
157 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
158 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
159 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
160 ändå.
161
162 %description -l tr
163 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
164 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
165
166 %description -l uk
167 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
168 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
169 æʠ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉʠצÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
170 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
171
172 %package -n xxd
173 Summary:        Utility to convert files to hexdump or do the reverse
174 Summary(pl):    Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
175 Group:          Applications/Editors/Vim
176
177 %description -n xxd
178 xxd creates a hex dump of a given file or standard input. It can also
179 convert a hex dump back to its original binary form. Like uuencode and
180 uudecode it allows the transmission of binary data in a `mail-safe'
181 ASCII representation, but has the advantage of decoding to standard
182 output. Moreover, it can be used to perform binary file patching.
183
184 %description -n xxd -l pl
185 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
186 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
187 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
188 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
189 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
190
191 %package static
192 Summary:        Statically linked Vim
193 Summary(pl):    Statycznie skonsolidowany Vim
194 Group:          Applications/Editors/Vim
195 Provides:       vi
196 Obsoletes:      vi
197 Obsoletes:      elvis-static
198 Obsoletes:      nvi
199 Obsoletes:      vim-minimal
200
201 %description static
202 Text editor similar to Vi. This version is built with minimal feature
203 and is installed in /bin as a rescue tool. The installation of this
204 package is STRONGLY recommended.
205
206 %description static -l pl
207 Edytor tekstu podobny do Vi. Ta wersja zosta³a zlinkowana statycznie i
208 posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin jako
209 narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
210 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
211
212 %description static -l ru
213 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
214 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
215 ÓÉÓÔÅÍÁ.
216
217 %description static -l uk
218 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
219 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
220
221 %package ispell
222 Summary:        Vim with ispell support
223 Summary(pl):    Vim z wsparciem dla ispella
224 Group:          Applications/Editors/Vim
225 Requires:       %{name}-rt = %{version}
226
227 %description ispell
228 Text editor similar to Vi. This version is built with ispell support.
229
230 %description ispell -l pl
231 Edytor tekstu podobny do Vi. Ta wersja zosta³a skompilowana ze
232 wsparciem dla ispella.
233
234 %package rt
235 Summary:        Vim runtime files
236 Summary(cs):    Soubory nezbytné pro libovolný editor ViM
237 Summary(da):    Fælles filer som er nødvendige for enhver version af VIM editoren
238 Summary(de):    Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
239 Summary(es):    Ficheros comunes a todas las versiones de VIM
240 Summary(fr):    Fichiers communs indispensables pour toute version de l'éditeur VIM
241 Summary(id):    File umum yang dibutuhkan oleh semua versi editor VIM
242 Summary(is):    Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
243 Summary(it):    File comuni necessari per tutte le versioni dell'editor VIM
244 Summary(ja):    ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
245 Summary(no):    Felles filer som er nødvendige for enhver versjon av VIM editoren
246 Summary(pl):    Pliki przydatne edytorowi Vim
247 Summary(pt):    Os ficheiros comuns necessários para qualquer versão do editor VIM
248 Summary(ru):    æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
249 Summary(sk):    Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
250 Summary(sl):    Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
251 Summary(sv):    De gemensamma filerna som behövs av alla versioner av redigeraren VIM
252 Summary(uk):    æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
253 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼­Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
254 Group:          Applications/Editors/Vim
255 Requires:       mktemp
256 Requires:       which
257 Obsoletes:      vim-common
258
259 %description rt
260 This package contains macros, documentation, syntax configuration and
261 manual pages for Vim. If you want to take advantage of Vim more
262 powerful features, you should install this package.
263
264 %description rt -l cs
265 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
266 vim.
267
268 %description rt -l da
269 The vim-rt package contains files which every VIM binary will need in
270 order to run.
271
272 %description rt -l de
273 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
274 Ausführung benötigt.
275
276 %description rt -l es
277 The vim-rt package contains files which every VIM binary will need in
278 order to run.
279
280 %description rt -l fr
281 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
282 VIM a besoin pour fonctionner.
283
284 %description rt -l id
285 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
286 berjalan.
287
288 %description rt -l is
289 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
290 til að keyra.
291
292 %description rt -l it
293 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
294 per poter funzionare.
295
296 %description rt -l pl
297 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
298 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
299 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
300
301 %description rt -l pt
302 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
303 irão necessitar para correr.
304
305 %description rt -l ru
306 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
307 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
308
309 %description rt -l sk
310 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
311 funkciu ka¾dá verzia editoru VIM.
312
313 %description rt -l sv
314 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
315 köra.
316
317 %description rt -l uk
318 ðÁËÅÔ vim-rt Í¦ÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
319 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
320
321 %package -n gvim-athena
322 Summary:        Vim for X Window built with Athena
323 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Athena
324 Group:          Applications/Editors/Vim
325 Requires:       %{name}-rt = %{version}
326 Requires:       iconv
327 Obsoletes:      vim-X11
328
329 %description -n gvim-athena
330 The classic Unix text editor now also under X Window System! This
331 version is built with Athena Widget Set.
332
333 %description -n gvim-athena -l pl
334 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
335 biblioteki Athena Widget Set.
336
337 %description -n gvim-athena -l ru
338 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
339 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
340 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
341
342 %description -n gvim-athena -l uk
343 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Athena Widget
344 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
345 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
346
347 %package -n gvim-motif
348 Summary:        Vim for X Window built with Motif
349 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Motif
350 Group:          Applications/Editors/Vim
351 Requires:       %{name}-rt = %{version}
352 Requires:       iconv
353 Obsoletes:      vim-X11
354
355 %description -n gvim-motif
356 The classic Unix text editor now also under X Window System! This
357 version is built with Motif.
358
359 %description -n gvim-motif -l pl
360 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
361 biblioteki Motif.
362
363 %description -n gvim-motif -l ru
364 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
365 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
366 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
367
368 %description -n gvim-motif -l uk
369 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
370 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
371 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
372
373 %package -n gvim-gtk
374 Summary:        Vim for X Window built with gtk
375 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GTK
376 Group:          Applications/Editors/Vim
377 Requires:       %{name}-rt = %{version}
378 Requires:       iconv
379 Obsoletes:      vim-X11
380
381 %description -n gvim-gtk
382 The classic Unix text editor now also under X Window System! This
383 version is built with GTK.
384
385 %description -n gvim-gtk -l pl
386 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
387 biblioteki GTK.
388
389 %description -n gvim-gtk -l ru
390 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
391 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
392 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
393 'gvim'...
394
395 %description -n gvim-gtk -l uk
396 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
397 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
398 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
399
400 %package -n gvim-gnome
401 Summary:        Vim for X Window built with gnome
402 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GNOME
403 Group:          Applications/Editors/Vim
404 Requires:       %{name}-rt = %{version}
405 Requires:       iconv
406 Obsoletes:      vim-X11
407
408 %description -n gvim-gnome
409 The classic Unix text editor now also under X Window System! This
410 version is build with GNOME.
411
412 %description -n gvim-gnome -l pl
413 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
414 bibliotek GNOME.
415
416 %description -n gvim-gnome -l ru
417 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
418 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
419 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
420
421 %description -n gvim-gnome -l uk
422 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
423 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
424 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
425
426 %prep
427 ## setup -q -b1 -b2 -n %{name}%(echo %{version} | sed -e "s#\.##g")
428 %setup -q -b1 -b2 -a3 -n %{name}%(echo %{_ver} | sed -e "s#\.##g")
429
430 # skiping patches that are for "extra" package and apply the rest of official patches
431 for f in patches/6.1.* ; do
432         echo "Applying official patch `basename $f` ..."
433         patch -s -p0 < $f
434 done
435
436 %patch0 -p1
437 %patch1 -p1
438 %patch2 -p1
439 %patch3 -p1
440 %ifarch alpha
441 %patch4 -p1
442 %endif
443 %patch5 -p1
444 %patch6 -p1
445 %patch7 -p1
446 %patch8 -p1
447 %patch9 -p1
448
449 %build
450 cd src
451 %{__autoconf}
452 # needed to prevent deconfiguring
453 cp -f configure auto
454
455 %if %{!?_without_static:1}%{?_without_static:0}
456 %{__make} distclean
457 LDFLAGS="%{rpmldflags} -static"
458 %configure \
459         --disable-gui \
460         --without-x \
461         --disable-perlinterp \
462         --disable-pythoninterp \
463         --disable-rubyinterp \
464         --disable-tclinterp \
465         --disable-cscope \
466         --disable-gpm \
467         --disable-multibyte \
468         --with-features=small \
469         --with-tlib=tinfo \
470         --disable-nls
471
472 %{__make} SPELL_OBJ= vim
473 mv -f vim vim.static
474 LDFLAGS="%{rpmldflags}"
475 %endif
476
477 %configure \
478         --disable-gui \
479         --without-x \
480         %{!?_with_perl:--disable-perlinterp} \
481         %{?_with_perl:--enable-perlinterp} \
482         %{!?_with_python:--disable-pythoninterp} \
483         %{?_with_python:--enable-pythoninterp} \
484         %{!?_with_ruby:--disable-rubyinterp} \
485         %{?_with_ruby:--enable-rubyinterp} \
486         %{!?_with_tcl:--disable-tclinterp} \
487         %{?_with_tcl:--enable-tclinterp} \
488         --enable-cscope \
489         --enable-gpm \
490         --with-features=huge \
491         --enable-multibyte \
492         --with-tlib=ncurses \
493         --enable-nls
494
495 %{__make} SPELL_OBJ= vim
496 mv -f vim vim.ncurses
497 %{__make} xxd/xxd
498
499 %{__make} distclean
500 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
501         --disable-gui \
502         --without-x \
503         %{!?_with_perl:--disable-perlinterp} \
504         %{?_with_perl:--enable-perlinterp} \
505         %{!?_with_python:--disable-pythoninterp} \
506         %{?_with_python:--enable-pythoninterp} \
507         %{!?_with_ruby:--disable-rubyinterp} \
508         %{?_with_ruby:--enable-rubyinterp} \
509         %{!?_with_tcl:--disable-tclinterp} \
510         %{?_with_tcl:--enable-tclinterp} \
511         --enable-cscope \
512         --enable-gpm \
513         --with-features=huge \
514         --enable-multibyte \
515         --with-tlib=ncurses \
516         --enable-nls
517
518 %{__make} vim
519 mv -f vim vim.ispell
520
521 %if %{!?_without_athena:1}%{?_without_athena:0}
522 %{__make} distclean
523 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
524         --with-features=huge \
525         --enable-gui=athena \
526         --with-x \
527         %{!?_with_perl:--disable-perlinterp} \
528         %{?_with_perl:--enable-perlinterp} \
529         %{!?_with_python:--disable-pythoninterp} \
530         %{?_with_python:--enable-pythoninterp} \
531         %{!?_with_ruby:--disable-rubyinterp} \
532         %{?_with_ruby:--enable-rubyinterp} \
533         %{!?_with_tcl:--disable-tclinterp} \
534         %{?_with_tcl:--enable-tclinterp} \
535         --enable-cscope \
536         --enable-fontset \
537         --disable-gpm \
538         --without-gnome \
539         --enable-nls
540 %{__make} vim
541 mv -f vim gvim.athena
542 %endif
543
544 %if %{!?_without_motif:1}%{?_without_motif:0}
545 %{__make} distclean
546 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
547         --with-features=huge \
548         --enable-gui=motif \
549         --with-x \
550         %{!?_with_perl:--disable-perlinterp} \
551         %{?_with_perl:--enable-perlinterp} \
552         %{!?_with_python:--disable-pythoninterp} \
553         %{?_with_python:--enable-pythoninterp} \
554         %{!?_with_ruby:--disable-rubyinterp} \
555         %{?_with_ruby:--enable-rubyinterp} \
556         %{!?_with_tcl:--disable-tclinterp} \
557         %{?_with_tcl:--enable-tclinterp} \
558         --enable-multibyte \
559         --enable-cscope \
560         --enable-fontset \
561         --disable-gpm \
562         --without-gnome \
563         --enable-nls
564 %{__make} vim
565 mv -f vim gvim.motif
566 %endif
567
568 %if %{!?_without_gtk:1}%{?_without_gtk:0}
569 %{__make} distclean
570 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
571         --with-features=huge \
572         --enable-gui=gtk \
573         --with-x \
574         %{!?_with_perl:--disable-perlinterp} \
575         %{?_with_perl:--enable-perlinterp} \
576         %{!?_with_python:--disable-pythoninterp} \
577         %{?_with_python:--enable-pythoninterp} \
578         %{!?_with_ruby:--disable-rubyinterp} \
579         %{?_with_ruby:--enable-rubyinterp} \
580         %{!?_with_tcl:--disable-tclinterp} \
581         %{?_with_tcl:--enable-tclinterp} \
582         --disable-gpm \
583         --enable-cscope \
584         --enable-fontset \
585         --enable-nls
586 %{__make} vim
587 mv -f vim gvim.gtk
588 %endif
589
590 %if %{!?_without_gnome:1}%{?_without_gnome:0}
591 %{__make} distclean
592 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
593         --with-features=huge \
594         --enable-gui=gnome \
595         --with-x \
596         %{!?_with_perl:--disable-perlinterp} \
597         %{?_with_perl:--enable-perlinterp} \
598         %{!?_with_python:--disable-pythoninterp} \
599         %{?_with_python:--enable-pythoninterp} \
600         %{!?_with_ruby:--disable-rubyinterp} \
601         %{?_with_ruby:--enable-rubyinterp} \
602         %{!?_with_tcl:--disable-tclinterp} \
603         %{?_with_tcl:--enable-tclinterp} \
604         --disable-gpm \
605         --enable-cscope \
606         --enable-fontset \
607         --enable-nls
608 %{__make} vim
609 mv -f vim gvim.gnome
610 %endif
611
612 %install
613 rm -rf $RPM_BUILD_ROOT
614 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
615         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
616         $RPM_BUILD_ROOT{%{_prefix}/X11R6/bin,%{_applnkdir}/Editors}
617
618 %{__make} install DESTDIR=$RPM_BUILD_ROOT
619 rm -f $RPM_BUILD_ROOT%{_bindir}/*
620
621 %{!?_without_static:install src/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim}
622 %{?_without_static:install src/vim.ncurses      $RPM_BUILD_ROOT/bin/vi}
623 %{!?_without_static:install src/vim.static      $RPM_BUILD_ROOT/bin/vi}
624 %{?_without_static:ln -sf /bin/vi               $RPM_BUILD_ROOT%{_bindir}/vim}
625 install src/vim.ispell                          $RPM_BUILD_ROOT%{_bindir}/vim.ispell
626 install src/xxd/xxd                             $RPM_BUILD_ROOT%{_bindir}/xxd
627 install src/vimtutor                            $RPM_BUILD_ROOT%{_bindir}/vimtutor
628
629 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
630
631 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
632 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
633
634 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
635
636 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
637 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
638 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
639 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
640 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
641
642
643 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
644 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
645
646 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
647 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
648 ln -sf vi  $RPM_BUILD_ROOT/bin/view
649 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
650
651 %{!?_without_athena:install src/gvim.athena     $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.athena}
652 %{!?_without_motif: install src/gvim.motif      $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.motif}
653 %{!?_without_gtk:   install src/gvim.gtk        $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.gtk}
654 %{!?_without_gnome: install src/gvim.gnome      $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.gnome}
655
656 %{!?_without_gtk:ln -sf gvim.gtk                $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim}
657 %{!?_without_gtk:ln -sf gvim                    $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/rgvim}
658 %{!?_without_gtk:ln -sf gvim                    $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gview}
659 %{!?_without_gtk:ln -sf gvim                    $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/rgview}
660
661 %{!?_without_athena:install %{SOURCE10}         $RPM_BUILD_ROOT%{_applnkdir}/Editors}
662 %{!?_without_motif: install %{SOURCE11}         $RPM_BUILD_ROOT%{_applnkdir}/Editors}
663 %{!?_without_gtk:   install %{SOURCE12}         $RPM_BUILD_ROOT%{_applnkdir}/Editors}
664 %{!?_without_gnome: install %{SOURCE13}         $RPM_BUILD_ROOT%{_applnkdir}/Editors}
665
666 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
667
668 %clean
669 rm -rf $RPM_BUILD_ROOT
670
671 %files
672 %defattr(644,root,root,755)
673 %attr(755,root,root) %{_bindir}/vim
674 %attr(755,root,root) %{_bindir}/rvim
675
676 %files ispell
677 %defattr(644,root,root,755)
678 %attr(755,root,root) %{_bindir}/vim.ispell
679
680 %files -n xxd
681 %defattr(644,root,root,755)
682 %attr(755,root,root) %{_bindir}/xxd
683 %{_mandir}/man1/xxd.1*
684
685 %files static
686 %defattr(644,root,root,755)
687 %attr(755,root,root) /bin/*
688
689 %{_mandir}/man1/vi.1*
690 %{_mandir}/man1/ex.1*
691 %{_mandir}/man1/view.1*
692 %{_mandir}/man1/rview.1*
693 %lang(fi) %{_mandir}/fi/man1/vi.1*
694 %lang(fi) %{_mandir}/fi/man1/ex.1*
695 %lang(fi) %{_mandir}/fi/man1/view.1*
696 %lang(fi) %{_mandir}/fi/man1/rview.1*
697 %lang(fr) %{_mandir}/fr/man1/vi.1*
698 %lang(fr) %{_mandir}/fr/man1/ex.1*
699 %lang(fr) %{_mandir}/fr/man1/view.1*
700 %lang(fr) %{_mandir}/fr/man1/rview.1*
701 %lang(id) %{_mandir}/id/man1/vi.1*
702 %lang(id) %{_mandir}/id/man1/ex.1*
703 %lang(id) %{_mandir}/id/man1/view.1*
704 %lang(id) %{_mandir}/id/man1/rview.1*
705 %lang(pl) %{_mandir}/pl/man1/vi.1*
706 %lang(pl) %{_mandir}/pl/man1/ex.1*
707 %lang(pl) %{_mandir}/pl/man1/view.1*
708 %lang(pl) %{_mandir}/pl/man1/rview.1*
709
710 %files rt
711 %defattr(644,root,root,755)
712 %attr(755,root,root) %{_bindir}/vimtutor
713 %dir %{_sysconfdir}/vim
714 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/vimrc
715 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/gvimrc
716
717 %dir %{_datadir}/vim
718 %dir %{_datadir}/vim/v*
719 %dir %{_datadir}/vim/v*/doc
720 %{_datadir}/vim/v*/doc/*.txt
721 %verify(not size mtime md5) %{_datadir}/vim/v*/doc/tags
722 %{_datadir}/vim/v*/ftplugin
723 %{_datadir}/vim/v*/indent
724 %{_datadir}/vim/v*/keymap
725 %dir %{_datadir}/vim/v*/lang
726 %{_datadir}/vim/v*/lang/README*
727
728 %lang(af) %{_datadir}/vim/v*/lang/af
729 %lang(de) %{_datadir}/vim/v*/lang/de
730 %lang(es) %{_datadir}/vim/v*/lang/es
731 %lang(fr) %{_datadir}/vim/v*/lang/fr
732 %lang(it) %{_datadir}/vim/v*/lang/it
733 %lang(ja) %{_datadir}/vim/v*/lang/ja*
734 %lang(ko) %{_datadir}/vim/v*/lang/ko
735 %lang(pl) %{_datadir}/vim/v*/lang/pl
736 %lang(sk) %{_datadir}/vim/v*/lang/sk
737 #%lang(tr) %{_datadir}/vim/v*/lang/tr
738 %lang(uk) %{_datadir}/vim/v*/lang/uk
739 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
740 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW
741
742 %lang(af) %{_datadir}/vim/v*/lang/menu_af_af*
743 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs_cz*
744 %lang(de) %{_datadir}/vim/v*/lang/menu_de_de*
745 %lang(es) %{_datadir}/vim/v*/lang/menu_es_es*
746 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr_fr*
747 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu_hu*
748 %lang(it) %{_datadir}/vim/v*/lang/menu_it_it*
749 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja_jp*
750 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko_kr*
751 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl_nl*
752 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl_pl*
753 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk_sk*
754 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
755 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
756
757 %{_datadir}/vim/v*/macros
758 %{_datadir}/vim/v*/plugin
759 %{_datadir}/vim/v*/syntax
760 %{_datadir}/vim/v*/tutor
761 %{_datadir}/vim/v*/colors
762 %{_datadir}/vim/v*/compiler
763 %{_datadir}/vim/v*/*.vim
764 %{_datadir}/vim/v*/*.ps
765
766 %{_mandir}/man1/vim*
767 %{_mandir}/man1/rvim.*
768 %lang(fi) %{_mandir}/fi/man1/vim*
769 %lang(fi) %{_mandir}/fi/man1/rvim.*
770 %lang(fr) %{_mandir}/fr/man1/vim*
771 %lang(fr) %{_mandir}/fr/man1/rvim.*
772 %lang(id) %{_mandir}/id/man1/vim*
773 %lang(id) %{_mandir}/id/man1/rvim.*
774 %lang(it) %{_mandir}/it/man1/vim*
775 %lang(pl) %{_mandir}/pl/man1/vim*
776 %lang(pl) %{_mandir}/pl/man1/rvim.*
777
778 %if %{!?_without_athena:1}%{?_without_athena:0}
779 %files -n gvim-athena
780 %defattr(644,root,root,755)
781 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.athena
782 %{_applnkdir}/Editors/gvim-athena.desktop
783 %endif
784
785 %if %{!?_without_motif:1}%{?_without_motif:0}
786 %files -n gvim-motif
787 %defattr(644,root,root,755)
788 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.motif
789 %{_applnkdir}/Editors/gvim-motif.desktop
790 %endif
791
792 %if %{!?_without_gtk:1}%{?_without_gtk:0}
793 %files -n gvim-gtk
794 %defattr(644,root,root,755)
795 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.gtk
796 %attr(755,root,root) %{_prefix}/X11R6/bin/rgvim
797 %attr(755,root,root) %{_prefix}/X11R6/bin/rgview
798 %attr(755,root,root) %verify(not link) %{_prefix}/X11R6/bin/gvim
799 %{_applnkdir}/Editors/gvim-gtk.desktop
800 %endif
801
802 %if %{!?_without_gnome:1}%{?_without_gnome:0}
803 %files -n gvim-gnome
804 %defattr(644,root,root,755)
805 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.gnome
806 %{_applnkdir}/Editors/gvim-gnome.desktop
807 %endif
This page took 0.0859 seconds and 3 git commands to generate.