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