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