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