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