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