]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- update -lang and -extra too
[packages/vim.git] / vim.spec
1 # TODO:
2 # - some nice icon
3 # - patches cleanup
4 #
5 # Conditional build:
6 %bcond_without  static          # don't build static version
7 %bcond_without  athena          # don't build Athena Widgets-based gvim
8 %bcond_without  motif           # don't build Motif-based gvim
9 %bcond_without  gtk             # don't build GTK+-based gvim support
10 %bcond_without  gnome           # don't build GNOME-based gvim support
11 %bcond_without  perl            # without Perl interp
12 %bcond_without  python          # without Python interp
13 %bcond_with     ruby            # with Ruby interp
14 %bcond_with     tcl             # with Tcl interp
15 %bcond_with     bonobo          # with bonobo component (breaks other things)
16 %bcond_without  selinux         # without selinux support
17 %bcond_without  home_etc        # without home_etc support
18 #
19 %define         _ver            7.0
20 %define         _patchlevel     e
21 %define         _rel            1
22
23 # cflags get changed while configuring
24 %undefine       configure_cache
25 #
26 Summary:        Vi IMproved - a Vi clone
27 Summary(de):    VIsual editor iMproved
28 Summary(es):    Editor visual incrementado
29 Summary(fr):    Editeur VIM : VIsual editor iMproved
30 Summary(pl):    Vi IMproved - klon edytora Vi
31 Summary(pt_BR): Editor visual incrementado
32 Summary(ru):    Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
33 Summary(tr):    Geliþmiþ bir vi sürümü
34 Summary(uk):    Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
35 Name:           vim
36 Version:        %{_ver}
37 Release:        0.%{_patchlevel}.%{_rel}
38 Epoch:          4
39 License:        Charityware
40 Group:          Applications/Editors/Vim
41 Source0:        ftp://ftp.vim.org/pub/vim/unstable/snapshot/%{name}-%{_ver}%{_patchlevel}.zip
42 # Source0-md5:  cbae1e7a32ffc8ed75433707a5085049
43 Source1:        ftp://ftp.vim.org/pub/vim/unstable/extra/vim-%{_ver}e-lang.tar.gz
44 # Source1-md5:  c6de9954b67a8bc28ffaf495d76d4ca8
45 Source2:        ftp://ftp.vim.org/pub/vim/unstable/extra/vim-%{_ver}e-extra.tar.gz
46 # Source2-md5:  9df1064d65b1479393dcefdf686427af
47 Source4:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
48 # Source4-md5:  bc4d1e115ca506ad7751b9bd2b773a7f
49 Source5:        http://skawina.eu.org/mikolaj/usr_doc_pl.zip
50 # Source5-md5:  ff96284b1c913d55cf0877839b34d490
51 Source10:       g%{name}-athena.desktop
52 Source11:       g%{name}-motif.desktop
53 Source12:       g%{name}-gtk.desktop
54 Source13:       g%{name}-gnome.desktop
55 Source14:       %{name}.desktop
56 # http://www.vim.org/scripts/script.php?script_id=1120
57 Source15:       php.%{name}
58 # http://www.vim.org/scripts/script.php?script_id=415 (1.13)
59 Source16:       zenburn.%{name}
60 Source17:       spec.%{name}
61 # http://www.vim.org/scripts/script.php?script_id=1491
62 Source18:       javascript.%{name}
63 Source19:       nagios.vim
64 Source20:       vim-ftplugin-spec.vim
65 Patch0:         %{name}-sysconfdir.patch
66 Patch1:         %{name}-visual.patch
67 Patch2:         %{name}-paths.patch
68 Patch5:         %{name}-%{name}rc.patch
69 Patch6:         %{name}-no_libelf.patch
70 Patch7:         %{name}-egrep.patch
71 Patch8:         k%{name}-desktop.patch
72 Patch9:         %{name}-awk.patch
73 Patch11:        %{name}-bonobo.patch
74 Patch12:        %{name}-home_etc.patch
75 Patch13:        %{name}-selinux.patch
76 Patch16:        %{name}-filetype_vim-perl_tests.patch
77 Patch17:        %{name}-apache.patch
78 Patch18:        %{name}-po-syntax.patch
79 Patch19:        %{name}-modprobe.patch
80 Patch21:        %{name}-gtkfilechooser.patch
81 Patch22:        %{name}-gtkfilechooser-bonobo.patch
82 Patch23:        %{name}-doubleparenthesis.patch
83 Patch25:        %{name}-syntax-fstab.patch
84 Patch26:        010_all_%{name}-6.3-vixie.patch
85 Patch27:        013_all_%{name}-7.0-cron-vars-79981.patch
86 Patch30:        020_all_%{name}-7.0-fstab-tmpfs-size.patch
87 Patch31:        021_all_%{name}-7.0-fstab-bogus-errors.patch
88 Patch32:        024_all_%{name}-6.3-bash-83565.patch
89 Patch33:        027_all_%{name}-7.0-automake-substitutions-93378.patch
90 Patch34:        %{name}-smarty.patch
91 Patch35:        %{name}-filetype_vim-php45.patch
92 Patch36:        %{name}-tutor-lessdeps.patch
93 Patch37:        %{name}-nagios.patch
94 Patch99:        %{name}-bonobo-20050909.patch
95 URL:            http://www.vim.org/
96 BuildRequires:  acl-devel
97 BuildRequires:  autoconf
98 BuildRequires:  gettext-devel
99 BuildRequires:  gpm-devel
100 %{?with_gtk:BuildRequires:      gtk+2-devel >= 2:2.6.0}
101 %{?with_gnome:BuildRequires:    libgnomeui-devel >= 2.2.0.1}
102 %{?with_selinux:BuildRequires:  libselinux-devel}
103 BuildRequires:  ncurses-devel
104 %{?with_motif:BuildRequires:    openmotif-devel}
105 %{?with_perl:BuildRequires:     perl-devel}
106 %{?with_python:BuildRequires:   python-devel}
107 %{?with_ruby:BuildRequires:     ruby-devel}
108 %{?with_tcl:BuildRequires:      tcl-devel}
109 %{?with_athena:BuildRequires:   xorg-lib-libXaw-devel}
110 Obsoletes:      kvim
111 %if %{with bonobo}
112 BuildRequires:  ORBit2-devel
113 BuildRequires:  libbonoboui-devel >= 2.2.0
114 BuildRequires:  libgnomeui-devel >= 2.2.0.1
115 BuildRequires:  nautilus-devel >= 2.2.0
116 %endif
117 BuildRequires:  rpmbuild(macros) >= 1.210
118 %if %{with static}
119 BuildRequires:  acl-static
120 BuildRequires:  attr-static
121 BuildRequires:  glibc-static
122 %{?with_selinux:BuildRequires:  libselinux-static}
123 BuildRequires:  ncurses-static
124 %else
125 Provides:       %{name}-static = %{epoch}:%{version}-%{release}
126 Obsoletes:      elvis-static
127 Obsoletes:      nvi
128 Obsoletes:      vi
129 Obsoletes:      vim-minimal
130 Obsoletes:      vim-static
131 %endif
132 BuildRequires:  unzip
133 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
134 Provides:       vi-editor
135 Provides:       vi
136 Obsoletes:      vim-enhanced
137 Obsoletes:      vim-ispell
138 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
139
140 # that's example script
141 %define         _noautoreq      '/bin/csh'
142
143 %description
144 Text editor similar to Vi. Important improvements: multiple windows,
145 multi-level undo, block highliting, folding, and many other.
146
147 %description -l cs
148 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
149 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
150 populární. ViM je obohacený funkcemi jako: podpora více oken,
151 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
152 funkcí.
153
154 %description -l de
155 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
156 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
157 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
158 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
159 Standard-vi-Programm.
160
161 %description -l es
162 El editor Visual Mejorado es una versión actualizada y con nuevas
163 características adicionales del mundialmente famoso 'vi' que acompaña
164 prácticamente todos los sistemas UN*X. Posibilita trabajar con
165 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
166 otras muchas características del 'vi'.
167
168 %description -l fr
169 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
170 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
171 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
172 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
173 blocs et autres caractéristiques au vi de base.
174
175 %description -l id
176 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
177 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
178 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
179 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
180 windows, multi-level undo, block highlighting, dll.
181
182 %description -l is
183 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
184 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
185 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
186 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
187 fleira.
188
189 %description -l it
190 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
191 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
192 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
193 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
194 dei blocchi e altro.
195
196 %description -l pl
197 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
198 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
199 folding i wiele innych.
200
201 %description -l ja
202 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
203 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
204 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
205 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
206 de blocos e mais.
207
208 %description -l pt_BR
209 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
210 características do mundialmente famoso 'vi' que acompanha praticamente
211 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
212 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
213 outras características do 'vi'.
214
215 %description -l ru
216 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
217 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
218 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
219 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
220
221 %description -l sk
222 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
223 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
224 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
225 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
226
227 %description -l sv
228 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
229 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
230 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
231 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
232 ändå.
233
234 %description -l tr
235 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
236 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
237
238 %description -l uk
239 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
240 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
241 æʠ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉʠצÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
242 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
243
244 %package -n xxd
245 Summary:        Utility to convert files to hexdump or do the reverse
246 Summary(pl):    Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
247 Group:          Applications/Editors/Vim
248
249 %description -n xxd
250 xxd creates a hex dump of a given file or standard input. It can also
251 convert a hex dump back to its original binary form. Like uuencode and
252 uudecode it allows the transmission of binary data in a `mail-safe'
253 ASCII representation, but has the advantage of decoding to standard
254 output. Moreover, it can be used to perform binary file patching.
255
256 %description -n xxd -l pl
257 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
258 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
259 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
260 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
261 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
262
263 %package static
264 Summary:        Statically linked Vim
265 Summary(pl):    Statycznie skonsolidowany Vim
266 Group:          Applications/Editors/Vim
267 Provides:       vi-editor
268 Provides:       vi
269 Obsoletes:      elvis-static
270 Obsoletes:      nvi
271 Obsoletes:      vim-minimal
272
273 %description static
274 Text editor similar to Vi. This version is built with minimal feature
275 and is installed in /bin as a rescue tool. The installation of this
276 package is STRONGLY recommended.
277
278 %description static -l pl
279 Edytor tekstu podobny do Vi. Ta wersja zosta³a skonsolidowana
280 statycznie i posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin
281 jako narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
282 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
283
284 %description static -l ru
285 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
286 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
287 ÓÉÓÔÅÍÁ.
288
289 %description static -l uk
290 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
291 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
292
293 %package rt
294 Summary:        Vim runtime files
295 Summary(cs):    Soubory nezbytné pro libovolný editor ViM
296 Summary(da):    Fælles filer som er nødvendige for enhver version af VIM editoren
297 Summary(de):    Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
298 Summary(es):    Ficheros comunes a todas las versiones de VIM
299 Summary(fr):    Fichiers communs indispensables pour toute version de l'éditeur VIM
300 Summary(id):    File umum yang dibutuhkan oleh semua versi editor VIM
301 Summary(is):    Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
302 Summary(it):    File comuni necessari per tutte le versioni dell'editor VIM
303 Summary(ja):    ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
304 Summary(nb):    Felles filer som er nødvendige for enhver versjon av VIM editoren
305 Summary(pl):    Pliki przydatne edytorowi Vim
306 Summary(pt):    Os ficheiros comuns necessários para qualquer versão do editor VIM
307 Summary(ru):    æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
308 Summary(sk):    Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
309 Summary(sl):    Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
310 Summary(sv):    De gemensamma filerna som behövs av alla versioner av redigeraren VIM
311 Summary(uk):    æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
312 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼­Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
313 Group:          Applications/Editors/Vim
314 # mktemp is for vimtutor
315 Requires:       mktemp
316 Requires:       vi-editor
317 Obsoletes:      vim-common
318
319 %description rt
320 This package contains macros, documentation, syntax configuration and
321 manual pages for Vim. If you want to take advantage of Vim more
322 powerful features, you should install this package.
323
324 %description rt -l cs
325 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
326 vim.
327
328 %description rt -l da
329 The vim-rt package contains files which every VIM binary will need in
330 order to run.
331
332 %description rt -l de
333 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
334 Ausführung benötigt.
335
336 %description rt -l fr
337 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
338 VIM a besoin pour fonctionner.
339
340 %description rt -l id
341 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
342 berjalan.
343
344 %description rt -l is
345 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
346 til að keyra.
347
348 %description rt -l it
349 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
350 per poter funzionare.
351
352 %description rt -l pl
353 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
354 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
355 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
356
357 %description rt -l pt
358 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
359 irão necessitar para correr.
360
361 %description rt -l ru
362 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
363 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
364
365 %description rt -l sk
366 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
367 funkciu ka¾dá verzia editoru VIM.
368
369 %description rt -l sv
370 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
371 köra.
372
373 %description rt -l uk
374 ðÁËÅÔ vim-rt Í¦ÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
375 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
376
377 %package -n gvim-athena
378 Summary:        Vim for X Window built with Athena
379 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Athena
380 Group:          Applications/Editors/Vim
381 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
382 Requires:       iconv
383 Provides:       vi-editor
384 Obsoletes:      vim-X11
385
386 %description -n gvim-athena
387 The classic Unix text editor now also under X Window System! This
388 version is built with Athena Widget Set.
389
390 %description -n gvim-athena -l pl
391 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
392 biblioteki Athena Widget Set.
393
394 %description -n gvim-athena -l ru
395 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
396 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
397 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
398
399 %description -n gvim-athena -l uk
400 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Athena Widget
401 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
402 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
403
404 %package -n gvim-motif
405 Summary:        Vim for X Window built with Motif
406 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Motif
407 Group:          Applications/Editors/Vim
408 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
409 Requires:       iconv
410 Provides:       vi-editor
411 Obsoletes:      vim-X11
412
413 %description -n gvim-motif
414 The classic Unix text editor now also under X Window System! This
415 version is built with Motif.
416
417 %description -n gvim-motif -l pl
418 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
419 biblioteki Motif.
420
421 %description -n gvim-motif -l ru
422 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
423 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
424 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
425
426 %description -n gvim-motif -l uk
427 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
428 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
429 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
430
431 %package -n gvim-gtk
432 Summary:        Vim for X Window built with gtk
433 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GTK
434 Group:          Applications/Editors/Vim
435 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
436 Requires:       iconv
437 Provides:       vi-editor
438 Obsoletes:      vim-X11
439
440 %description -n gvim-gtk
441 The classic Unix text editor now also under X Window System! This
442 version is built with GTK.
443
444 %description -n gvim-gtk -l pl
445 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
446 biblioteki GTK.
447
448 %description -n gvim-gtk -l ru
449 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
450 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
451 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
452 'gvim'...
453
454 %description -n gvim-gtk -l uk
455 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
456 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
457 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
458
459 %package -n gvim-gnome
460 Summary:        Vim for X Window built with GNOME
461 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GNOME
462 Group:          Applications/Editors/Vim
463 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
464 Requires:       iconv
465 Provides:       vi-editor
466 Obsoletes:      vim-X11
467
468 %description -n gvim-gnome
469 The classic Unix text editor now also under X Window System! This
470 version is build with GNOME.
471
472 %description -n gvim-gnome -l pl
473 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
474 bibliotek GNOME.
475
476 %description -n gvim-gnome -l ru
477 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
478 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
479 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
480
481 %description -n gvim-gnome -l uk
482 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
483 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
484 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
485
486 %package -n gvim-bonobo
487 Summary:        Vim for X Window built as bonobo component
488 Summary(pl):    Vim dla X Window zbudowany jako element bonobo
489 Group:          Applications/Editors/Vim
490 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
491 Requires:       iconv
492 Provides:       vi-editor
493 Obsoletes:      vim-X11
494
495 %description -n gvim-bonobo
496 The classic Unix text editor now also under X Window System! This
497 version is build as bonobo component.
498
499 %description -n gvim-bonobo -l pl
500 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window, zbudowana jako
501 element bonobo.
502
503 %prep
504 %setup -q -c
505
506 %patch0 -p1
507 %{?with_bonobo:%patch99 -p1}
508 %patch1 -p1
509 %patch2 -p1
510 %patch5 -p1
511 %patch6 -p1
512 %patch7 -p1
513 %patch9 -p1
514 %{?with_bonobo:%patch11 -p1}
515 %{?with_home_etc:%patch12 -p1}
516 %{?with_selinux:%patch13 -p1}
517 %patch16 -p1
518 #%patch17 -p1
519 #%patch18 -p1
520 %patch19 -p0 -b .modprobe
521 #%{!?with_bonobo:%patch21 -p0}
522 %{?with_bonobo:%patch22 -p1}
523 %patch23 -p1
524 #%patch25 -p1
525 %patch26 -p0
526 %patch27 -p1
527 %patch30 -p1
528 %patch31 -p1
529 %patch32 -p0
530 %patch33 -p0
531 %patch34 -p1
532 %patch35 -p1
533 %patch36 -p1
534 %patch37 -p1
535
536 install %{SOURCE15} runtime/indent
537 install %{SOURCE16} runtime/colors
538 install %{SOURCE17} runtime/syntax
539 install %{SOURCE18} runtime/syntax
540 install %{SOURCE19} runtime/syntax
541 install %{SOURCE20} runtime/ftplugin/spec.vim
542
543 %build
544 cd src
545 %{__autoconf}
546 # needed to prevent deconfiguring
547 cp -f configure auto
548
549 install -d bin
550
551 %if %{with bonobo}
552 %{__make} distclean
553 %configure \
554         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
555         --with-features=huge \
556         --enable-gui=gnome2 \
557         --enable-bonobo \
558         --enable-gtk2-check \
559         --enable-gnome-check \
560         --with-x \
561         %{!?with_perl:--disable-perlinterp} \
562         %{?with_perl:--enable-perlinterp} \
563         %{!?with_python:--disable-pythoninterp} \
564         %{?with_python:--enable-pythoninterp} \
565         %{!?with_ruby:--disable-rubyinterp} \
566         %{?with_ruby:--enable-rubyinterp} \
567         %{!?with_tcl:--disable-tclinterp} \
568         %{?with_tcl:--enable-tclinterp} \
569         --disable-gpm \
570         --enable-cscope \
571         --enable-nls \
572         --with-modifiedby="PLD Linux Distribution" \
573         --with-compiledby="PLD Linux Distribution"
574
575 %{__make} vim-component vim-factory Vim_Control.server
576 mv vim-component vim-factory Vim_Control.server bin/
577 %endif
578
579 %if %{with static}
580 %{__make} distclean
581 LDFLAGS="%{rpmldflags} -static"
582 %configure \
583         --disable-gui \
584         --without-x \
585         --disable-perlinterp \
586         --disable-pythoninterp \
587         --disable-rubyinterp \
588         --disable-tclinterp \
589         --disable-cscope \
590         --disable-gpm \
591         --disable-multibyte \
592         %{?with_bonobo:--disable-bonobo} \
593         --with-features=small \
594         --with-tlib=tinfo \
595         --disable-nls \
596         --with-modifiedby="PLD Linux Distribution" \
597         --with-compiledby="PLD Linux Distribution"
598
599 %{__make} vim \
600         SPELL_OBJ=
601 mv -f vim bin/vim.static
602 LDFLAGS="%{rpmldflags}"
603 %endif
604
605 %{__make} distclean
606 %configure \
607         --disable-gui \
608         --without-x \
609         %{!?with_perl:--disable-perlinterp} \
610         %{?with_perl:--enable-perlinterp} \
611         %{!?with_python:--disable-pythoninterp} \
612         %{?with_python:--enable-pythoninterp} \
613         %{!?with_ruby:--disable-rubyinterp} \
614         %{?with_ruby:--enable-rubyinterp} \
615         %{!?with_tcl:--disable-tclinterp} \
616         %{?with_tcl:--enable-tclinterp} \
617         %{?with_bonobo:--disable-bonobo} \
618         --enable-cscope \
619         --enable-gpm \
620         --with-features=huge \
621         --enable-multibyte \
622         --with-tlib=ncurses \
623         --enable-nls \
624         --with-modifiedby="PLD Linux Distribution" \
625         --with-compiledby="PLD Linux Distribution"
626
627 %{__make} vim \
628         SPELL_OBJ=
629 mv -f vim bin/vim.ncurses
630
631 %if %{with athena}
632 %{__make} distclean
633 %configure \
634         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
635         --with-features=huge \
636         --enable-gui=athena \
637         --with-x \
638         %{!?with_perl:--disable-perlinterp} \
639         %{?with_perl:--enable-perlinterp} \
640         %{!?with_python:--disable-pythoninterp} \
641         %{?with_python:--enable-pythoninterp} \
642         %{!?with_ruby:--disable-rubyinterp} \
643         %{?with_ruby:--enable-rubyinterp} \
644         %{!?with_tcl:--disable-tclinterp} \
645         %{?with_tcl:--enable-tclinterp} \
646         %{?with_bonobo:--disable-bonobo} \
647         --enable-cscope \
648         --enable-fontset \
649         --disable-gpm \
650         --without-gnome \
651         --enable-nls \
652         --with-modifiedby="PLD Linux Distribution" \
653         --with-compiledby="PLD Linux Distribution"
654
655 %{__make} vim
656 mv -f vim bin/gvim.athena
657 %endif
658
659
660 %if %{with motif}
661 %{__make} distclean
662 %configure \
663         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
664         --with-features=huge \
665         --enable-gui=motif \
666         --with-x \
667         %{!?with_perl:--disable-perlinterp} \
668         %{?with_perl:--enable-perlinterp} \
669         %{!?with_python:--disable-pythoninterp} \
670         %{?with_python:--enable-pythoninterp} \
671         %{!?with_ruby:--disable-rubyinterp} \
672         %{?with_ruby:--enable-rubyinterp} \
673         %{!?with_tcl:--disable-tclinterp} \
674         %{?with_tcl:--enable-tclinterp} \
675         %{?with_bonobo:--disable-bonobo} \
676         --enable-multibyte \
677         --enable-cscope \
678         --enable-fontset \
679         --disable-gpm \
680         --without-gnome \
681         --enable-nls \
682         --with-modifiedby="PLD Linux Distribution" \
683         --with-compiledby="PLD Linux Distribution"
684
685 %{__make} vim
686 mv -f vim bin/gvim.motif
687 %endif
688
689 %if %{with gtk}
690 %{__make} distclean
691 %configure \
692         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
693         --with-features=huge \
694         --enable-gui=gtk2 \
695         --enable-gtk2-check \
696         --with-x \
697         %{!?with_perl:--disable-perlinterp} \
698         %{?with_perl:--enable-perlinterp} \
699         %{!?with_python:--disable-pythoninterp} \
700         %{?with_python:--enable-pythoninterp} \
701         %{!?with_ruby:--disable-rubyinterp} \
702         %{?with_ruby:--enable-rubyinterp} \
703         %{!?with_tcl:--disable-tclinterp} \
704         %{?with_tcl:--enable-tclinterp} \
705         %{?with_bonobo:--disable-bonobo} \
706         --disable-gpm \
707         --enable-cscope \
708         --enable-nls \
709         --with-modifiedby="PLD Linux Distribution" \
710         --with-compiledby="PLD Linux Distribution"
711
712 %{__make} vim
713 mv -f vim bin/gvim.gtk
714 %endif
715
716 %if %{with gnome}
717 %{__make} distclean
718 %configure \
719         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
720         --with-features=huge \
721         --enable-gui=gnome2 \
722         %{?with_bonobo:--disable-bonobo} \
723         --enable-gtk2-check \
724         --enable-gnome-check \
725         --with-x \
726         %{!?with_perl:--disable-perlinterp} \
727         %{?with_perl:--enable-perlinterp} \
728         %{!?with_python:--disable-pythoninterp} \
729         %{?with_python:--enable-pythoninterp} \
730         %{!?with_ruby:--disable-rubyinterp} \
731         %{?with_ruby:--enable-rubyinterp} \
732         %{!?with_tcl:--disable-tclinterp} \
733         %{?with_tcl:--enable-tclinterp} \
734         --disable-gpm \
735         --enable-cscope \
736         --enable-nls \
737         --with-modifiedby="PLD Linux Distribution" \
738         --with-compiledby="PLD Linux Distribution"
739
740 %{__make} vim
741 mv -f vim bin/gvim.gnome
742 %endif
743
744
745 %{__make} xxd/xxd languages
746
747 %install
748 rm -rf $RPM_BUILD_ROOT
749 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
750         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
751         $RPM_BUILD_ROOT%{_desktopdir}
752
753 %{__make} install \
754         DESTDIR=$RPM_BUILD_ROOT
755
756 rm -f $RPM_BUILD_ROOT%{_bindir}/*
757
758 %if %{with static}
759 install src/bin/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim
760 install src/bin/vim.static      $RPM_BUILD_ROOT/bin/vi
761 %else
762 install src/bin/vim.ncurses     $RPM_BUILD_ROOT/bin/vi
763 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
764 %endif
765 install src/xxd/xxd     $RPM_BUILD_ROOT%{_bindir}/xxd
766 install src/vimtutor    $RPM_BUILD_ROOT%{_bindir}/vimtutor
767
768 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
769
770 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
771 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
772
773 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
774
775 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
776 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
777 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
778 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
779 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
780
781 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
782 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
783
784 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
785 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
786 ln -sf vi  $RPM_BUILD_ROOT/bin/view
787 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
788
789 install %{SOURCE14}     $RPM_BUILD_ROOT%{_desktopdir}
790
791 %if %{with athena}
792 install src/bin/gvim.athena     $RPM_BUILD_ROOT%{_bindir}/gvim.athena
793 install %{SOURCE10}     $RPM_BUILD_ROOT%{_desktopdir}
794 %endif
795 %if %{with motif}
796 install src/bin/gvim.motif      $RPM_BUILD_ROOT%{_bindir}/gvim.motif
797 install %{SOURCE11}     $RPM_BUILD_ROOT%{_desktopdir}
798 %endif
799 %if %{with gnome}
800 install src/bin/gvim.gnome      $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
801 install %{SOURCE13}     $RPM_BUILD_ROOT%{_desktopdir}
802 %endif
803 %if %{with gtk}
804 install src/bin/gvim.gtk        $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
805 ln -sf gvim.gtk         $RPM_BUILD_ROOT%{_bindir}/gvim
806 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgvim
807 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gview
808 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgview
809 install %{SOURCE12}     $RPM_BUILD_ROOT%{_desktopdir}
810 %endif
811
812 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
813 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
814 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
815 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
816
817 # Bonobo
818 %if %{with bonobo}
819 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
820 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
821 install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
822 %endif
823
824 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
825 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE5}
826
827 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,syntax}}
828 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
829
830 %clean
831 rm -rf $RPM_BUILD_ROOT
832
833 %post
834 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
835
836 %postun
837 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
838
839 %post -n gvim-athena
840 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
841
842 %postun -n gvim-athena
843 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
844
845 %post -n gvim-motif
846 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
847
848 %postun -n gvim-motif
849 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
850
851 %post -n gvim-gtk
852 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
853
854 %postun -n gvim-gtk
855 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
856
857 %post -n gvim-gnome
858 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
859
860 %postun -n gvim-gnome
861 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
862
863 %files
864 %defattr(644,root,root,755)
865 %attr(755,root,root) %{_bindir}/vim
866 %attr(755,root,root) %{_bindir}/rvim
867 %{_desktopdir}/%{name}.desktop
868
869 %if %{with static}
870 %files static
871 %endif
872 %defattr(644,root,root,755)
873 %attr(755,root,root) /bin/*
874
875 %{_mandir}/man1/vi.1*
876 %{_mandir}/man1/ex.1*
877 %{_mandir}/man1/view.1*
878 %{_mandir}/man1/rview.1*
879 %lang(fi) %{_mandir}/fi/man1/vi.1*
880 %lang(fi) %{_mandir}/fi/man1/ex.1*
881 %lang(fi) %{_mandir}/fi/man1/view.1*
882 %lang(fi) %{_mandir}/fi/man1/rview.1*
883 %lang(fr) %{_mandir}/fr*/man1/vi.1*
884 %lang(fr) %{_mandir}/fr*/man1/evim.1*
885 %lang(fr) %{_mandir}/fr*/man1/vim.1*
886 %lang(fr) %{_mandir}/fr*/man1/vimdiff.1*
887 %lang(fr) %{_mandir}/fr*/man1/vimtutor.1*
888 %lang(fr) %{_mandir}/fr*/man1/ex.1*
889 %lang(fr) %{_mandir}/fr*/man1/view.1*
890 %lang(fr) %{_mandir}/fr*/man1/rview.1*
891 %lang(id) %{_mandir}/id/man1/vi.1*
892 %lang(id) %{_mandir}/id/man1/ex.1*
893 %lang(id) %{_mandir}/id/man1/view.1*
894 %lang(id) %{_mandir}/id/man1/rview.1*
895 %lang(it) %{_mandir}/it*/man1/ex.1*
896 %lang(it) %{_mandir}/it*/man1/evim.1*
897 %lang(it) %{_mandir}/it*/man1/view.1*
898 %lang(it) %{_mandir}/it*/man1/rview.1*
899 %lang(pl) %{_mandir}/pl*/man1/vi.1*
900 %lang(pl) %{_mandir}/pl*/man1/evim.1*
901 %lang(pl) %{_mandir}/pl*/man1/vim.1*
902 %lang(pl) %{_mandir}/pl*/man1/vimdiff.1*
903 %lang(pl) %{_mandir}/pl*/man1/vimtutor.1*
904 %lang(pl) %{_mandir}/pl*/man1/ex.1*
905 %lang(pl) %{_mandir}/pl*/man1/view.1*
906 %lang(pl) %{_mandir}/pl*/man1/rview.1*
907 %lang(ru) %{_mandir}/ru*/man1/ex.1*
908 %lang(ru) %{_mandir}/ru*/man1/evim.1*
909 %lang(ru) %{_mandir}/ru*/man1/view.1*
910 %lang(ru) %{_mandir}/ru*/man1/rview.1*
911
912 %files -n xxd
913 %defattr(644,root,root,755)
914 %attr(755,root,root) %{_bindir}/xxd
915 %{_mandir}/man1/xxd.1*
916 %lang(fr) %{_mandir}/fr*/man1/xxd.1*
917 %lang(it) %{_mandir}/it*/man1/xxd.1*
918 %lang(pl) %{_mandir}/pl*/man1/xxd.1*
919 %lang(ru) %{_mandir}/ru*/man1/xxd.1*
920
921 %files rt
922 %defattr(644,root,root,755)
923 %attr(755,root,root) %{_bindir}/vimtutor
924 %dir %{_sysconfdir}/vim
925 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
926 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
927
928 %dir %{_datadir}/vim
929 %dir %{_datadir}/vim/v*
930 %dir %{_datadir}/vim/v*/doc
931 %doc %{_datadir}/vim/v*/doc/*.txt
932 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
933 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
934 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
935 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
936 %{_datadir}/vim/v*/ftplugin
937 %{_datadir}/vim/v*/indent
938 %{_datadir}/vim/v*/keymap
939 %dir %{_datadir}/vim/v*/lang
940 %doc %{_datadir}/vim/v*/lang/README*
941
942 # just add after/ and ftdetect/ separately, other dirs caught by globs above or below
943 %{_datadir}/vim/vimfiles/after
944 %{_datadir}/vim/vimfiles/ftdetect
945
946 %lang(af) %{_datadir}/vim/v*/lang/af
947 %lang(ca) %{_datadir}/vim/v*/lang/ca
948 %lang(cs) %{_datadir}/vim/v*/lang/cs
949 %lang(de) %{_datadir}/vim/v*/lang/de
950 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB
951 %lang(es) %{_datadir}/vim/v*/lang/es
952 %lang(fr) %{_datadir}/vim/v*/lang/fr
953 %lang(ga) %{_datadir}/vim/v*/lang/ga
954 %lang(it) %{_datadir}/vim/v*/lang/it
955 %lang(ja) %{_datadir}/vim/v*/lang/ja*
956 %lang(ko) %{_datadir}/vim/v*/lang/ko
957 %lang(pl) %{_datadir}/vim/v*/lang/pl
958 %lang(ru) %{_datadir}/vim/v*/lang/ru
959 %lang(sk) %{_datadir}/vim/v*/lang/sk
960 %lang(sv) %{_datadir}/vim/v*/lang/sv
961 %lang(nb) %{_datadir}/vim/v*/lang/no
962 #%lang(tr) %{_datadir}/vim/v*/lang/tr
963 %lang(uk) %{_datadir}/vim/v*/lang/uk
964 %lang(vi) %{_datadir}/vim/v*/lang/vi
965 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
966 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW*
967
968 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
969 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
970 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
971 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
972 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
973 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
974 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
975 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
976 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
977 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
978 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
979 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
980 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
981 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
982 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
983 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
984 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
985 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
986 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
987 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
988 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
989 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
990 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
991 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
992 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
993 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
994 %lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
995 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
996 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
997 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
998 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
999 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1000 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1001 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1002 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1003
1004 %{_datadir}/vim/v*/spell/cleanadd.vim
1005 %lang(en_GB) %{_datadir}/vim/v*/spell/en.*.*
1006 %lang(he) %{_datadir}/vim/v*/spell/he.*
1007 %lang(yi) %{_datadir}/vim/v*/spell/yi.*
1008
1009 %{_datadir}/vim/v*/macros
1010 %{_datadir}/vim/v*/plugin
1011 %{_datadir}/vim/v*/print
1012 %{_datadir}/vim/v*/syntax
1013 %{_datadir}/vim/v*/tools
1014 %{_datadir}/vim/v*/tutor
1015 %{_datadir}/vim/v*/colors
1016 %{_datadir}/vim/v*/compiler
1017 %{_datadir}/vim/v*/autoload
1018 %{_datadir}/vim/v*/*.vim
1019
1020 %{_mandir}/man1/vim*
1021 %{_mandir}/man1/rvim.*
1022 %lang(fi) %{_mandir}/fi/man1/vim*
1023 %lang(fi) %{_mandir}/fi/man1/rvim.*
1024 %lang(fi) %{_mandir}/fi/man1/gvi*
1025 %lang(fi) %{_mandir}/fi/man1/rgv*
1026 %lang(fr) %{_mandir}/fr/man1/vim*
1027 %lang(fr) %{_mandir}/fr/man1/rvim.*
1028 %lang(fr) %{_mandir}/fr/man1/gvi*
1029 %lang(fr) %{_mandir}/fr/man1/rgv*
1030 %lang(id) %{_mandir}/id/man1/vim*
1031 %lang(id) %{_mandir}/id/man1/rvim.*
1032 %lang(id) %{_mandir}/id/man1/gvi*
1033 %lang(id) %{_mandir}/id/man1/rgv*
1034 %lang(it) %{_mandir}/it*/man1/vim*
1035 %lang(pl) %{_mandir}/pl/man1/vim*
1036 %lang(pl) %{_mandir}/pl/man1/rvim.*
1037 %lang(pl) %{_mandir}/pl/man1/gvi*
1038 %lang(pl) %{_mandir}/pl/man1/rgv*
1039 %lang(ru) %{_mandir}/ru*/man1/vim*
1040
1041 %{_iconsdir}/hicolor/16x16/apps/vim.png
1042 %{_iconsdir}/hicolor/32x32/apps/vim.png
1043 %{_iconsdir}/hicolor/48x48/apps/vim.png
1044
1045 %if %{with athena}
1046 %files -n gvim-athena
1047 %defattr(644,root,root,755)
1048 %attr(755,root,root) %{_bindir}/gvim.athena
1049 %{_desktopdir}/gvim-athena.desktop
1050 %endif
1051
1052 %if %{with motif}
1053 %files -n gvim-motif
1054 %defattr(644,root,root,755)
1055 %attr(755,root,root) %{_bindir}/gvim.motif
1056 %{_desktopdir}/gvim-motif.desktop
1057 %endif
1058
1059 %if %{with gtk}
1060 %files -n gvim-gtk
1061 %defattr(644,root,root,755)
1062 %attr(755,root,root) %{_bindir}/gvim.gtk
1063 %attr(755,root,root) %{_bindir}/rgvim
1064 %attr(755,root,root) %{_bindir}/rgview
1065 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1066 %{_desktopdir}/gvim-gtk.desktop
1067 %endif
1068
1069 %if %{with gnome}
1070 %files -n gvim-gnome
1071 %defattr(644,root,root,755)
1072 %attr(755,root,root) %{_bindir}/gvim.gnome
1073 %{_desktopdir}/gvim-gnome.desktop
1074 %endif
1075
1076 %if %{with bonobo}
1077 %files -n gvim-bonobo
1078 %defattr(644,root,root,755)
1079 %attr(755,root,root) %{_bindir}/vim-component
1080 %attr(755,root,root) %{_bindir}/vim-factory
1081 %{_libdir}/bonobo/servers/*
1082 %endif
This page took 0.097768 seconds and 4 git commands to generate.