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