]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
typos
[packages/vim.git] / vim.spec
1 #
2 # Conditional build:
3 # _without_static       - without static version
4 # _without_athena       - without Athena Widgets-based gvim. DOESN'T WORK.
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_ispell          - with spell checking (non-standard feature; disables RIGHTLEFT and FKMAP)
9 # _with_perl            - with perl interp
10 # _with_python          - with python interp
11 # _with_ruby            - with ruby interp
12 # _with_tcl             - with tcl interp
13
14 %define         _ver            6.1
15 %define         _patchlevel     057
16
17 Summary:        Vi IMproved - a Vi clone
18 Summary(de):    VIsual editor iMproved
19 Summary(es):    Editor visual incrementado
20 Summary(fr):    Editeur VIM : VIsual editor iMproved
21 Summary(pl):    Vi IMproved - klon edytora Vi
22 Summary(pt_BR): Editor visual incrementado
23 Summary(ru):    Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
24 Summary(tr):    Geliþmiþ bir vi sürümü
25 Summary(uk):    Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
26 Name:           vim
27 Version:        %{_ver}.%{_patchlevel}
28 Release:        1
29 Epoch:          4
30 License:        Charityware
31 Group:          Applications/Editors/Vim
32 Source0:        ftp://ftp.vim.org/pub/editors/vim/unix/%{name}-%{_ver}.tar.bz2
33 Source1:        ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-lang.tar.gz
34 Source2:        ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-extra.tar.gz
35 # packed from   ftp://ftp.vim.org/pub/editors/vim/patches/6.1.*
36 Source3:        %{name}-patches-%{_ver}.%{_patchlevel}.tar.bz2
37 Source4:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
38 Source10:       g%{name}-athena.desktop
39 Source11:       g%{name}-motif.desktop
40 Source12:       g%{name}-gtk.desktop
41 Source13:       g%{name}-gnome.desktop
42 Patch0:         %{name}-sysconfdir.patch
43 Patch1:         %{name}-visual.patch
44 Patch2:         %{name}-paths.patch
45 Patch3:         %{name}-ispell.patch
46 Patch4:         %{name}-ispell-axp.patch
47 Patch5:         %{name}-ac25x.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 rt
218 Summary:        Vim runtime files
219 Summary(cs):    Soubory nezbytné pro libovolný editor ViM
220 Summary(da):    Fælles filer som er nødvendige for enhver version af VIM editoren
221 Summary(de):    Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
222 Summary(es):    Ficheros comunes a todas las versiones de VIM
223 Summary(fr):    Fichiers communs indispensables pour toute version de l'éditeur VIM
224 Summary(id):    File umum yang dibutuhkan oleh semua versi editor VIM
225 Summary(is):    Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
226 Summary(it):    File comuni necessari per tutte le versioni dell'editor VIM
227 Summary(ja):    ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
228 Summary(no):    Felles filer som er nødvendige for enhver versjon av VIM editoren
229 Summary(pl):    Pliki przydatne edytorowi Vim
230 Summary(pt):    Os ficheiros comuns necessários para qualquer versão do editor VIM
231 Summary(ru):    æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
232 Summary(sk):    Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
233 Summary(sl):    Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
234 Summary(sv):    De gemensamma filerna som behövs av alla versioner av redigeraren VIM
235 Summary(uk):    æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
236 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼­Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
237 Group:          Applications/Editors/Vim
238 Requires:       mktemp
239 Requires:       which
240 Obsoletes:      vim-common
241
242 %description rt
243 This package contains macros, documentation, syntax configuration and
244 manual pages for Vim. If you want to take advantage of Vim more
245 powerful features, you should install this package.
246
247 %description rt -l cs
248 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
249 vim.
250
251 %description rt -l da
252 The vim-rt package contains files which every VIM binary will need in
253 order to run.
254
255 %description rt -l de
256 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
257 Ausführung benötigt.
258
259 %description rt -l es
260 The vim-rt package contains files which every VIM binary will need in
261 order to run.
262
263 %description rt -l fr
264 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
265 VIM a besoin pour fonctionner.
266
267 %description rt -l id
268 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
269 berjalan.
270
271 %description rt -l is
272 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
273 til að keyra.
274
275 %description rt -l it
276 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
277 per poter funzionare.
278
279 %description rt -l pl
280 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
281 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
282 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
283
284 %description rt -l pt
285 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
286 irão necessitar para correr.
287
288 %description rt -l ru
289 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
290 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
291
292 %description rt -l sk
293 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
294 funkciu ka¾dá verzia editoru VIM.
295
296 %description rt -l sv
297 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
298 köra.
299
300 %description rt -l uk
301 ðÁËÅÔ vim-rt Í¦ÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
302 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
303
304 %package -n gvim-athena
305 Summary:        Vim for X Window built with Athena
306 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Athena
307 Group:          Applications/Editors/Vim
308 Requires:       %{name}-rt = %{version}
309 Requires:       iconv
310 Obsoletes:      vim-X11
311
312 %description -n gvim-athena
313 The classic Unix text editor now also under X Window System! This
314 version is built with Athena Widget Set.
315
316 %description -n gvim-athena -l pl
317 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
318 biblioteki Athena Widget Set.
319
320 %description -n gvim-athena -l ru
321 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
322 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
323 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
324
325 %description -n gvim-athena -l uk
326 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Athena Widget
327 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
328 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
329
330 %package -n gvim-motif
331 Summary:        Vim for X Window built with Motif
332 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Motif
333 Group:          Applications/Editors/Vim
334 Requires:       %{name}-rt = %{version}
335 Requires:       iconv
336 Obsoletes:      vim-X11
337
338 %description -n gvim-motif
339 The classic Unix text editor now also under X Window System! This
340 version is built with Motif.
341
342 %description -n gvim-motif -l pl
343 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
344 biblioteki Motif.
345
346 %description -n gvim-motif -l ru
347 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
348 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
349 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
350
351 %description -n gvim-motif -l uk
352 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
353 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
354 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
355
356 %package -n gvim-gtk
357 Summary:        Vim for X Window built with gtk
358 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GTK
359 Group:          Applications/Editors/Vim
360 Requires:       %{name}-rt = %{version}
361 Requires:       iconv
362 Obsoletes:      vim-X11
363
364 %description -n gvim-gtk
365 The classic Unix text editor now also under X Window System! This
366 version is built with GTK.
367
368 %description -n gvim-gtk -l pl
369 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
370 biblioteki GTK.
371
372 %description -n gvim-gtk -l ru
373 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
374 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
375 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
376 'gvim'...
377
378 %description -n gvim-gtk -l uk
379 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
380 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
381 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
382
383 %package -n gvim-gnome
384 Summary:        Vim for X Window built with gnome
385 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GNOME
386 Group:          Applications/Editors/Vim
387 Requires:       %{name}-rt = %{version}
388 Requires:       iconv
389 Obsoletes:      vim-X11
390
391 %description -n gvim-gnome
392 The classic Unix text editor now also under X Window System! This
393 version is build with GNOME.
394
395 %description -n gvim-gnome -l pl
396 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
397 bibliotek GNOME.
398
399 %description -n gvim-gnome -l ru
400 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
401 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
402 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
403
404 %description -n gvim-gnome -l uk
405 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
406 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
407 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
408
409 %prep
410 ## setup -q -b1 -b2 -n %{name}%(echo %{version} | sed -e "s#\.##g")
411 %setup -q -b1 -b2 -a3 -n %{name}%(echo %{_ver} | sed -e "s#\.##g")
412
413 # skiping patches that are for "extra" package and apply the rest of official patches
414 for f in patches/6.1.* ; do
415         echo "Applying official patch `basename $f` ..."
416         patch -s -p0 < $f
417 done
418
419 %patch0 -p1
420 %patch1 -p1
421 %patch2 -p1
422 %{?_with_ispell:%patch3 -p1}
423 %ifarch alpha
424 %{?_with_ispell:%patch4 -p1}
425 %endif
426 %patch5 -p1
427
428 %build
429 cd src
430 autoconf
431 # needed to prevent deconfiguring
432 cp -f configure auto
433 %configure \
434         --disable-gui \
435         --without-x \
436         %{!?_with_perl:--disable-perlinterp} \
437         %{?_with_perl:--enable-perlinterp} \
438         %{!?_with_python:--disable-pythoninterp} \
439         %{?_with_python:--enable-pythoninterp} \
440         %{!?_with_ruby:--disable-rubyinterp} \
441         %{?_with_ruby:--enable-rubyinterp} \
442         %{!?_with_tcl:--disable-tclinterp} \
443         %{?_with_tcl:--enable-tclinterp} \
444         --enable-cscope \
445         --enable-gpm \
446         --with-features=huge \
447         --enable-multibyte \
448         --with-tlib=ncurses \
449         --enable-nls
450
451 %{__make} vim
452 mv -f vim vim.ncurses
453 %{__make} xxd/xxd
454
455 %if %{!?_without_static:1}%{?_without_static:0}
456 %{__make} distclean
457 LDFLAGS="%{rpmldflags} -static"
458 %configure \
459         --disable-gui \
460         --without-x \
461         --disable-perlinterp \
462         --disable-pythoninterp \
463         --disable-rubyinterp \
464         --disable-tclinterp \
465         --disable-cscope \
466         --disable-gpm \
467         --disable-multibyte \
468         --with-features=small \
469         --with-tlib=tinfo \
470         --disable-nls
471
472 %{__make} vim
473 mv -f vim vim.static
474 %endif
475
476 %if %{!?_without_athena:1}%{?_without_athena:0}
477 %{__make} distclean
478 LDFLAGS="%{rpmldflags}"
479 %configure \
480         --with-features=huge \
481         --enable-gui=athena \
482         --with-x \
483         %{!?_with_perl:--disable-perlinterp} \
484         %{?_with_perl:--enable-perlinterp} \
485         %{!?_with_python:--disable-pythoninterp} \
486         %{?_with_python:--enable-pythoninterp} \
487         %{!?_with_ruby:--disable-rubyinterp} \
488         %{?_with_ruby:--enable-rubyinterp} \
489         %{!?_with_tcl:--disable-tclinterp} \
490         %{?_with_tcl:--enable-tclinterp} \
491         --enable-cscope \
492         --enable-fontset \
493         --disable-gpm \
494         --without-gnome \
495         --enable-nls
496 %{__make} vim
497 mv -f vim gvim.athena
498 %endif
499
500 %if %{!?_without_motif:1}%{?_without_motif:0}
501 %{__make} distclean
502 %configure \
503         --with-features=huge \
504         --enable-gui=motif \
505         --with-x \
506         %{!?_with_perl:--disable-perlinterp} \
507         %{?_with_perl:--enable-perlinterp} \
508         %{!?_with_python:--disable-pythoninterp} \
509         %{?_with_python:--enable-pythoninterp} \
510         %{!?_with_ruby:--disable-rubyinterp} \
511         %{?_with_ruby:--enable-rubyinterp} \
512         %{!?_with_tcl:--disable-tclinterp} \
513         %{?_with_tcl:--enable-tclinterp} \
514         --enable-multibyte \
515         --enable-cscope \
516         --enable-fontset \
517         --disable-gpm \
518         --without-gnome \
519         --enable-nls
520 %{__make} vim
521 mv -f vim gvim.motif
522 %endif
523
524 %if %{!?_without_gtk:1}%{?_without_gtk:0}
525 %{__make} distclean
526 %configure \
527         --with-features=huge \
528         --enable-gui=gtk \
529         --with-x \
530         %{!?_with_perl:--disable-perlinterp} \
531         %{?_with_perl:--enable-perlinterp} \
532         %{!?_with_python:--disable-pythoninterp} \
533         %{?_with_python:--enable-pythoninterp} \
534         %{!?_with_ruby:--disable-rubyinterp} \
535         %{?_with_ruby:--enable-rubyinterp} \
536         %{!?_with_tcl:--disable-tclinterp} \
537         %{?_with_tcl:--enable-tclinterp} \
538         --disable-gpm \
539         --enable-cscope \
540         --enable-fontset \
541         --enable-nls
542 %{__make} vim
543 mv -f vim gvim.gtk
544 %endif
545
546 %if %{!?_without_gnome:1}%{?_without_gnome:0}
547 %{__make} distclean
548 %configure \
549         --with-features=huge \
550         --enable-gui=gnome \
551         --with-x \
552         %{!?_with_perl:--disable-perlinterp} \
553         %{?_with_perl:--enable-perlinterp} \
554         %{!?_with_python:--disable-pythoninterp} \
555         %{?_with_python:--enable-pythoninterp} \
556         %{!?_with_ruby:--disable-rubyinterp} \
557         %{?_with_ruby:--enable-rubyinterp} \
558         %{!?_with_tcl:--disable-tclinterp} \
559         %{?_with_tcl:--enable-tclinterp} \
560         --disable-gpm \
561         --enable-cscope \
562         --enable-fontset \
563         --enable-nls
564 %{__make} vim
565 mv -f vim gvim.gnome
566 %endif
567
568 %install
569 rm -rf $RPM_BUILD_ROOT
570 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
571         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
572         $RPM_BUILD_ROOT{%{_prefix}/X11R6/bin,%{_applnkdir}/Development/Editors}
573
574 %{__make} install DESTDIR=$RPM_BUILD_ROOT
575 rm -f $RPM_BUILD_ROOT%{_bindir}/*
576
577 %{!?_without_static:install src/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim}
578 %{?_without_static:install src/vim.ncurses      $RPM_BUILD_ROOT/bin/vi}
579 %{!?_without_static:install src/vim.static      $RPM_BUILD_ROOT/bin/vi}
580 %{?_without_static:ln -sf /bin/vi               $RPM_BUILD_ROOT%{_bindir}/vim}
581 install src/xxd/xxd                             $RPM_BUILD_ROOT%{_bindir}/xxd
582 install src/vimtutor                            $RPM_BUILD_ROOT%{_bindir}/vimtutor
583
584 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
585
586 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
587 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
588
589 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
590
591 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
592 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
593 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
594 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
595 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
596
597 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
598 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
599
600 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
601 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
602 ln -sf vi  $RPM_BUILD_ROOT/bin/view
603 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
604
605 %{!?_without_athena:install src/gvim.athena     $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.athena}
606 %{!?_without_motif: install src/gvim.motif      $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.motif}
607 %{!?_without_gtk:   install src/gvim.gtk        $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.gtk}
608 %{!?_without_gnome: install src/gvim.gnome      $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.gnome}
609
610 %{!?_without_gtk:ln -sf gvim.gtk                $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim}
611 %{!?_without_gtk:ln -sf gvim                    $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/rgvim}
612 %{!?_without_gtk:ln -sf gvim                    $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gview}
613 %{!?_without_gtk:ln -sf gvim                    $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/rgview}
614
615 %{!?_without_athena:install %{SOURCE10}         $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
616 %{!?_without_motif: install %{SOURCE11}         $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
617 %{!?_without_gtk:   install %{SOURCE12}         $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
618 %{!?_without_gnome: install %{SOURCE13}         $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
619
620 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
621
622 %clean
623 rm -rf $RPM_BUILD_ROOT
624
625 %files
626 %defattr(644,root,root,755)
627 %attr(755,root,root) %{_bindir}/vim
628 %attr(755,root,root) %{_bindir}/rvim
629
630 %files -n xxd
631 %defattr(644,root,root,755)
632 %attr(755,root,root) %{_bindir}/xxd
633 %{_mandir}/man1/xxd.1*
634
635 %files static
636 %defattr(644,root,root,755)
637 %attr(755,root,root) /bin/*
638
639 %{_mandir}/man1/vi.1*
640 %{_mandir}/man1/ex.1*
641 %{_mandir}/man1/view.1*
642 %{_mandir}/man1/rview.1*
643 %lang(fi) %{_mandir}/fi/man1/vi.1*
644 %lang(fi) %{_mandir}/fi/man1/ex.1*
645 %lang(fi) %{_mandir}/fi/man1/view.1*
646 %lang(fi) %{_mandir}/fi/man1/rview.1*
647 %lang(fr) %{_mandir}/fr/man1/vi.1*
648 %lang(fr) %{_mandir}/fr/man1/ex.1*
649 %lang(fr) %{_mandir}/fr/man1/view.1*
650 %lang(fr) %{_mandir}/fr/man1/rview.1*
651 %lang(id) %{_mandir}/id/man1/vi.1*
652 %lang(id) %{_mandir}/id/man1/ex.1*
653 %lang(id) %{_mandir}/id/man1/view.1*
654 %lang(id) %{_mandir}/id/man1/rview.1*
655 %lang(pl) %{_mandir}/pl/man1/vi.1*
656 %lang(pl) %{_mandir}/pl/man1/ex.1*
657 %lang(pl) %{_mandir}/pl/man1/view.1*
658 %lang(pl) %{_mandir}/pl/man1/rview.1*
659
660 %files rt
661 %defattr(644,root,root,755)
662 %attr(755,root,root) %{_bindir}/vimtutor
663 %dir %{_sysconfdir}/vim
664 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/vimrc
665 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/gvimrc
666
667 %dir %{_datadir}/vim
668 %dir %{_datadir}/vim/v*
669 %dir %{_datadir}/vim/v*/doc
670 %{_datadir}/vim/v*/doc/*.txt
671 %verify(not size mtime md5) %{_datadir}/vim/v*/doc/tags
672 %{_datadir}/vim/v*/ftplugin
673 %{_datadir}/vim/v*/indent
674 %{_datadir}/vim/v*/keymap
675 %dir %{_datadir}/vim/v*/lang
676 %{_datadir}/vim/v*/lang/README*
677
678 %lang(af) %{_datadir}/vim/v*/lang/af
679 %lang(de) %{_datadir}/vim/v*/lang/de
680 %lang(es) %{_datadir}/vim/v*/lang/es
681 %lang(fr) %{_datadir}/vim/v*/lang/fr
682 %lang(it) %{_datadir}/vim/v*/lang/it
683 %lang(ja) %{_datadir}/vim/v*/lang/ja*
684 %lang(ko) %{_datadir}/vim/v*/lang/ko
685 %lang(pl) %{_datadir}/vim/v*/lang/pl
686 %lang(sk) %{_datadir}/vim/v*/lang/sk
687 #%lang(tr) %{_datadir}/vim/v*/lang/tr
688 %lang(uk) %{_datadir}/vim/v*/lang/uk
689 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
690 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW
691
692 %lang(af) %{_datadir}/vim/v*/lang/menu_af_af*
693 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs_cz*
694 %lang(de) %{_datadir}/vim/v*/lang/menu_de_de*
695 %lang(es) %{_datadir}/vim/v*/lang/menu_es_es*
696 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr_fr*
697 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu_hu*
698 %lang(it) %{_datadir}/vim/v*/lang/menu_it_it*
699 %lang(jp) %{_datadir}/vim/v*/lang/menu_ja_jp*
700 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko_kr*
701 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl_nl*
702 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl_pl*
703 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk_sk*
704 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
705 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
706
707 %{_datadir}/vim/v*/macros
708 %{_datadir}/vim/v*/plugin
709 %{_datadir}/vim/v*/syntax
710 %{_datadir}/vim/v*/tutor
711 %{_datadir}/vim/v*/colors
712 %{_datadir}/vim/v*/compiler
713 %{_datadir}/vim/v*/*.vim
714 %{_datadir}/vim/v*/*.ps
715
716 %{_mandir}/man1/vim*
717 %{_mandir}/man1/rvim.*
718 %lang(fi) %{_mandir}/fi/man1/vim*
719 %lang(fi) %{_mandir}/fi/man1/rvim.*
720 %lang(fr) %{_mandir}/fr/man1/vim*
721 %lang(fr) %{_mandir}/fr/man1/rvim.*
722 %lang(id) %{_mandir}/id/man1/vim*
723 %lang(id) %{_mandir}/id/man1/rvim.*
724 %lang(it) %{_mandir}/it/man1/vim*
725 %lang(pl) %{_mandir}/pl/man1/vim*
726 %lang(pl) %{_mandir}/pl/man1/rvim.*
727
728 %if %{!?_without_athena:1}%{?_without_athena:0}
729 %files -n gvim-athena
730 %defattr(644,root,root,755)
731 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.athena
732 %{_applnkdir}/Development/Editors/gvim-athena.desktop
733 %endif
734
735 %if %{!?_without_motif:1}%{?_without_motif:0}
736 %files -n gvim-motif
737 %defattr(644,root,root,755)
738 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.motif
739 %{_applnkdir}/Development/Editors/gvim-motif.desktop
740 %endif
741
742 %if %{!?_without_gtk:1}%{?_without_gtk:0}
743 %files -n gvim-gtk
744 %defattr(644,root,root,755)
745 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.gtk
746 %attr(755,root,root) %{_prefix}/X11R6/bin/rgvim
747 %attr(755,root,root) %{_prefix}/X11R6/bin/rgview
748 %attr(755,root,root) %verify(not link) %{_prefix}/X11R6/bin/gvim
749 %{_applnkdir}/Development/Editors/gvim-gtk.desktop
750 %endif
751
752 %if %{!?_without_gnome:1}%{?_without_gnome:0}
753 %files -n gvim-gnome
754 %defattr(644,root,root,755)
755 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.gnome
756 %{_applnkdir}/Development/Editors/gvim-gnome.desktop
757 %endif
This page took 0.085817 seconds and 3 git commands to generate.