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