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