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