]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- -static Obsoletes: nvi,elvis-static; release 3
[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:        3
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 Patch5:         %{name}-ac25x.patch
47 URL:            http://www.vim.org/
48 BuildRequires:  autoconf
49 BuildRequires:  gettext-devel
50 BuildRequires:  gpm-devel
51 BuildRequires:  ncurses-devel
52 %{!?_without_gnome:BuildRequires:       gnome-libs-devel}
53 %{!?_without_gtk:BuildRequires:         gtk+-devel}
54 %{!?_without_motif:BuildRequires:       motif-devel}
55 %{!?_without_static:BuildRequires:      glibc-static}
56 %{!?_without_static:BuildRequires:      ncurses-static}
57 %{?_with_perl:BuildRequires:            perl-devel}
58 %{?_with_python:BuildRequires:          python-devel}
59 %{?_with_ruby:BuildRequires:            ruby}
60 %{?_with_tcl:BuildRequires:             tcl-devel}
61 Requires:       %{name}-rt = %{version}
62 %{?_without_static:Requires:    %{name}-static = %{version}}
63 Obsoletes:      vim-enhanced
64 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
65
66 %description
67 Text editor similar to Vi. Important improvements: multiple windows,
68 multi-level undo, block highliting, folding, and many other.
69
70 %description -l cs
71 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
72 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
73 populární. ViM je obohacený funkcemi jako: podpora více oken,
74 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
75 funkcí.
76
77 %description -l de
78 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
79 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
80 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
81 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
82 Standard-vi-Programm.
83
84 %description -l es
85 El editor Visual Mejorado es una versión actualizada y con nuevas
86 características adicionales del mundialmente famoso 'vi' que acompaña
87 prácticamente todos los sistemas UN*X. Posibilita trabajar con
88 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
89 otras muchas características del 'vi'.
90
91 %description -l fr
92 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
93 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
94 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
95 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
96 blocs et autres caractéristiques au vi de base.
97
98 %description -l id
99 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
100 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
101 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
102 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
103 windows, multi-level undo, block highlighting, dll.
104
105 %description -l is
106 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
107 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
108 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
109 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
110 fleira.
111
112 %description -l it
113 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
114 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
115 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
116 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
117 dei blocchi e altro.
118
119 %description -l pl
120 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
121 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
122 folding i wiele innych.
123
124 %description -l ja
125 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
126 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
127 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
128 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
129 de blocos e mais.
130
131 %description -l pt_BR
132 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
133 características do mundialmente famoso 'vi' que acompanha praticamente
134 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
135 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
136 outras características do 'vi'.
137
138 %description -l ru
139 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
140 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
141 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
142 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
143
144 %description -l sk
145 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
146 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
147 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
148 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
149
150 %description -l sv
151 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
152 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
153 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
154 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
155 ändå.
156
157 %description -l tr
158 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
159 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
160
161 %description -l uk
162 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
163 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
164 æʠ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉʠצÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
165 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
166
167 %package -n xxd
168 Summary:        Utility to convert files to hexdump or do the reverse
169 Summary(pl):    Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
170 Group:          Applications/Editors/Vim
171
172 %description -n xxd
173 xxd creates a hex dump of a given file or standard input. It can also
174 convert a hex dump back to its original binary form. Like uuencode and
175 uudecode it allows the transmission of binary data in a `mail-safe'
176 ASCII representation, but has the advantage of decoding to standard
177 output. Moreover, it can be used to perform binary file patching.
178
179 %description -n xxd -l pl
180 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
181 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
182 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
183 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
184 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
185
186 %package static
187 Summary:        Statically linked Vim
188 Summary(pl):    Statycznie skonsolidowany Vim
189 Group:          Applications/Editors/Vim
190 Provides:       vi
191 Obsoletes:      vi
192 Obsoletes:      elvis-static
193 Obsoletes:      nvi
194 Obsoletes:      vim-minimal
195
196 %description static
197 Text editor similar to Vi. This version is built with minimal feature
198 and is installed in /bin as a rescue tool. The installation of this
199 package is STRONGLY recommended.
200
201 %description static -l pl
202 Edytor tekstu podobny do Vi. Ta wersja zosta³a zlinkowana statycznie i
203 posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin jako
204 narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
205 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
206
207 %description static -l ru
208 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
209 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
210 ÓÉÓÔÅÍÁ.
211
212 %description static -l uk
213 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
214 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
215
216 %package rt
217 Summary:        Vim runtime files
218 Summary(cs):    Soubory nezbytné pro libovolný editor ViM
219 Summary(da):    Fælles filer som er nødvendige for enhver version af VIM editoren
220 Summary(de):    Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
221 Summary(es):    Ficheros comunes a todas las versiones de VIM
222 Summary(fr):    Fichiers communs indispensables pour toute version de l'éditeur VIM
223 Summary(id):    File umum yang dibutuhkan oleh semua versi editor VIM
224 Summary(is):    Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
225 Summary(it):    File comuni necessari per tutte le versioni dell'editor VIM
226 Summary(ja):    ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
227 Summary(no):    Felles filer som er nødvendige for enhver versjon av VIM editoren
228 Summary(pl):    Pliki przydatne edytorowi Vim
229 Summary(pt):    Os ficheiros comuns necessários para qualquer versão do editor VIM
230 Summary(ru):    æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
231 Summary(sk):    Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
232 Summary(sl):    Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
233 Summary(sv):    De gemensamma filerna som behövs av alla versioner av redigeraren VIM
234 Summary(uk):    æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
235 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼­Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
236 Group:          Applications/Editors/Vim
237 Requires:       mktemp
238 Requires:       which
239 Obsoletes:      vim-common
240
241 %description rt
242 This package contains macros, documentation, syntax configuration and
243 manual pages for Vim. If you want to take advantage of Vim more
244 powerful features, you should install this package.
245
246 %description rt -l cs
247 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
248 vim.
249
250 %description rt -l da
251 The vim-rt package contains files which every VIM binary will need in
252 order to run.
253
254 %description rt -l de
255 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
256 Ausführung benötigt.
257
258 %description rt -l es
259 The vim-rt package contains files which every VIM binary will need in
260 order to run.
261
262 %description rt -l fr
263 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
264 VIM a besoin pour fonctionner.
265
266 %description rt -l id
267 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
268 berjalan.
269
270 %description rt -l is
271 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
272 til að keyra.
273
274 %description rt -l it
275 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
276 per poter funzionare.
277
278 %description rt -l pl
279 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
280 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
281 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
282
283 %description rt -l pt
284 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
285 irão necessitar para correr.
286
287 %description rt -l ru
288 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
289 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
290
291 %description rt -l sk
292 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
293 funkciu ka¾dá verzia editoru VIM.
294
295 %description rt -l sv
296 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
297 köra.
298
299 %description rt -l uk
300 ðÁËÅÔ vim-rt Í¦ÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
301 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
302
303 %package -n gvim-athena
304 Summary:        Vim for X Window built with Athena
305 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Athena
306 Group:          Applications/Editors/Vim
307 Requires:       %{name}-rt = %{version}
308 Requires:       iconv
309 Obsoletes:      vim-X11
310
311 %description -n gvim-athena
312 The classic Unix text editor now also under X Window System! This
313 version is built with Athena Widget Set.
314
315 %description -n gvim-athena -l pl
316 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
317 biblioteki Athena Widget Set.
318
319 %description -n gvim-athena -l ru
320 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
321 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
322 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
323
324 %description -n gvim-athena -l uk
325 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Athena Widget
326 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
327 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
328
329 %package -n gvim-motif
330 Summary:        Vim for X Window built with Motif
331 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Motif
332 Group:          Applications/Editors/Vim
333 Requires:       %{name}-rt = %{version}
334 Requires:       iconv
335 Obsoletes:      vim-X11
336
337 %description -n gvim-motif
338 The classic Unix text editor now also under X Window System! This
339 version is built with Motif.
340
341 %description -n gvim-motif -l pl
342 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
343 biblioteki Motif.
344
345 %description -n gvim-motif -l ru
346 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
347 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
348 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
349
350 %description -n gvim-motif -l uk
351 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
352 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
353 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
354
355 %package -n gvim-gtk
356 Summary:        Vim for X Window built with gtk
357 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GTK
358 Group:          Applications/Editors/Vim
359 Requires:       %{name}-rt = %{version}
360 Requires:       iconv
361 Obsoletes:      vim-X11
362
363 %description -n gvim-gtk
364 The classic Unix text editor now also under X Window System! This
365 version is built with GTK.
366
367 %description -n gvim-gtk -l pl
368 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
369 biblioteki GTK.
370
371 %description -n gvim-gtk -l ru
372 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
373 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
374 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
375 'gvim'...
376
377 %description -n gvim-gtk -l uk
378 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
379 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
380 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
381
382 %package -n gvim-gnome
383 Summary:        Vim for X Window built with gnome
384 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GNOME
385 Group:          Applications/Editors/Vim
386 Requires:       %{name}-rt = %{version}
387 Requires:       iconv
388 Obsoletes:      vim-X11
389
390 %description -n gvim-gnome
391 The classic Unix text editor now also under X Window System! This
392 version is build with GNOME.
393
394 %description -n gvim-gnome -l pl
395 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
396 bibliotek GNOME.
397
398 %description -n gvim-gnome -l ru
399 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
400 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
401 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
402
403 %description -n gvim-gnome -l uk
404 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
405 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
406 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
407
408 %prep
409 %setup -q -b1 -n %{name}%(echo %{version} | sed -e "s#\.##g")
410 ## %setup -q -b1 -a6 -n %{name}%(echo %{_ver} | sed -e "s#\.##g")
411 %patch0 -p1
412 %patch1 -p1
413 %patch2 -p1
414 %{?_with_ispell:%patch3 -p1}
415 %ifarch alpha
416 %{?_with_ispell:%patch4 -p1}
417 %endif
418 %patch5 -p1
419
420 ## # these patches are to "extra" package which we don't need (nor use)
421 ## rm -f patches/6.0.{ , }
422 ## # apply the rest of official patches
423 ## for f in patches/6.0.* ; do
424 ##      echo "Applying official patch `basename $f` ..."
425 ##      patch -s -p0 < $f
426 ## done
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 %{SOURCE2}          $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
616 %{!?_without_motif: install %{SOURCE3}          $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
617 %{!?_without_gtk:   install %{SOURCE4}          $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
618 %{!?_without_gnome: install %{SOURCE5}          $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
619
620 bzip2 -dc %{SOURCE7} | 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.080543 seconds and 4 git commands to generate.