]>
Commit | Line | Data |
---|---|---|
9bc905eb AM |
1 | # TODO: |
2 | # - some nice icon | |
d6de9a65 | 3 | # - bonobo patches need update |
6facb60f JB |
4 | # |
5 | # Conditional build: | |
ec23c5c9 JB |
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 | |
e746f321 | 9 | %bcond_without gtk # don't build GTK+-based gvim support |
10 | %bcond_without gnome # don't build GNOME-based gvim support | |
071ce85b | 11 | %bcond_without perl # without Perl interp |
4399a7e9 | 12 | %bcond_with python # with Python interp |
6dc50f24 AG |
13 | %bcond_with ruby # with Ruby interp |
14 | %bcond_with tcl # with Tcl interp | |
ec23c5c9 JB |
15 | %bcond_with bonobo # with bonobo component (breaks other things) |
16 | %bcond_without selinux # without selinux support | |
ec23c5c9 | 17 | %bcond_without home_etc # without home_etc support |
7ba74caf | 18 | # |
9bc905eb | 19 | %define _ver 7.0 |
41f33985 | 20 | %define _patchlevel 235 |
e8531d99 | 21 | %define _rel 1 |
80b161c5 | 22 | |
fc7b36fc ER |
23 | # cflags get changed while configuring |
24 | %undefine configure_cache | |
25 | # | |
84c81dea | 26 | Summary: Vi IMproved - a Vi clone |
1a02d184 ER |
27 | Summary(de.UTF-8): VIsual editor iMproved |
28 | Summary(es.UTF-8): Editor visual incrementado | |
29 | Summary(fr.UTF-8): Editeur VIM : VIsual editor iMproved | |
30 | Summary(pl.UTF-8): Vi IMproved - klon edytora Vi | |
31 | Summary(pt_BR.UTF-8): Editor visual incrementado | |
32 | Summary(ru.UTF-8): Visual editor IMproved - Единственно Правильный Редактор :) | |
33 | Summary(tr.UTF-8): Gelişmiş bir vi sürümü | |
34 | Summary(uk.UTF-8): Visual editor IMproved - Єдино Вірний Редактор :) | |
86c64819 | 35 | Name: vim |
96eaec6a | 36 | Version: %{_ver}.%{_patchlevel} |
c557a18e | 37 | Release: %{_rel} |
2f66771d | 38 | Epoch: 4 |
f73b565e | 39 | License: Charityware |
8627c94f | 40 | Group: Applications/Editors/Vim |
96eaec6a | 41 | Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{_ver}.tar.bz2 |
0b31d255 | 42 | # Source0-md5: 4ca69757678272f718b1041c810d82d8 |
aaf60aad | 43 | Source1: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{_ver}-lang.tar.gz |
0b31d255 | 44 | # Source1-md5: 6d43efaff570b5c86e76b833ea0c6a04 |
41f33985 AM |
45 | Source2: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{_ver}-extra.tar.gz |
46 | # Source2-md5: 200f741ecc2a896fca25486764fa18a2 | |
47 | Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 | |
48 | # Source3-md5: bc4d1e115ca506ad7751b9bd2b773a7f | |
49 | Source4: http://skawina.eu.org/mikolaj/usr_doc_pl.zip | |
50 | # Source4-md5: ff96284b1c913d55cf0877839b34d490 | |
59e47b54 AF |
51 | Source10: g%{name}-athena.desktop |
52 | Source11: g%{name}-motif.desktop | |
53 | Source12: g%{name}-gtk.desktop | |
54 | Source13: g%{name}-gnome.desktop | |
0f99c50f | 55 | Source14: %{name}.desktop |
fa5af23b | 56 | # http://www.vim.org/scripts/script.php?script_id=415 (1.13) |
19d8e711 AG |
57 | Source15: zenburn.%{name} |
58 | Source16: spec.%{name} | |
4b308627 | 59 | # http://www.vim.org/scripts/script.php?script_id=1491 (0.5) |
19d8e711 | 60 | Source17: javascript.%{name} |
aaf60aad ER |
61 | Source18: nagios.%{name} |
62 | Source19: %{name}-ftplugin-spec.vim | |
db58c86e | 63 | Patch0: %{name}-sysconfdir.patch |
64 | Patch1: %{name}-visual.patch | |
65 | Patch2: %{name}-paths.patch | |
d1abaab5 AG |
66 | Patch3: %{name}-%{name}rc.patch |
67 | Patch4: %{name}-no_libelf.patch | |
68 | Patch5: %{name}-egrep.patch | |
69 | Patch6: %{name}-awk.patch | |
d6de9a65 AG |
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 | |
9c95080e | 86 | Patch23: %{name}-man_installation.patch |
d6de9a65 AG |
87 | Patch100: %{name}-bonobo-20050909.patch |
88 | Patch101: %{name}-bonobo.patch | |
89 | Patch102: %{name}-gtkfilechooser.patch | |
90 | Patch103: %{name}-gtkfilechooser-bonobo.patch | |
91 | Patch104: %{name}-home_etc.patch | |
92 | Patch105: %{name}-selinux.patch | |
aaf60aad | 93 | Patch106: %{name}-fstab-uuid.patch |
e8531d99 | 94 | Patch107: %{name}-autopaste.patch |
9e18e433 | 95 | Patch108: %{name}-ft-cron.patch |
41f33985 AM |
96 | Patch199: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.001-100.gz |
97 | Patch200: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.101-200.gz | |
98 | Patch201: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.201 | |
99 | Patch202: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.202 | |
100 | Patch203: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.203 | |
101 | Patch204: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.204 | |
102 | Patch205: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.205 | |
103 | Patch206: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.206 | |
104 | Patch207: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.207 | |
105 | Patch208: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.208 | |
106 | Patch209: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.209 | |
107 | Patch210: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.210 | |
108 | Patch211: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.211 | |
109 | Patch212: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.212 | |
110 | Patch213: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.213 | |
111 | Patch214: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.214 | |
112 | Patch215: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.215 | |
113 | Patch216: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.216 | |
114 | Patch217: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.217 | |
115 | Patch218: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.218 | |
116 | Patch219: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.219 | |
117 | Patch220: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.220 | |
118 | Patch221: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.221 | |
119 | Patch222: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.222 | |
120 | Patch223: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.223 | |
121 | Patch224: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.224 | |
122 | Patch225: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.225 | |
123 | Patch226: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.226 | |
124 | Patch227: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.227 | |
125 | Patch228: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.228 | |
126 | Patch229: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.229 | |
127 | Patch230: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.230 | |
128 | Patch231: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.231 | |
129 | Patch232: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.232 | |
130 | Patch233: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.233 | |
131 | Patch234: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.234 | |
132 | Patch235: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.235 | |
f73b565e | 133 | URL: http://www.vim.org/ |
21ab67a5 | 134 | BuildRequires: acl-devel |
da7b5595 JB |
135 | BuildRequires: autoconf |
136 | BuildRequires: gettext-devel | |
84c81dea | 137 | BuildRequires: gpm-devel |
a8f099d1 | 138 | %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.6.0} |
d6e63bbe | 139 | %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1} |
e57aa23e | 140 | %{?with_selinux:BuildRequires: libselinux-devel} |
1fa34b46 | 141 | BuildRequires: ncurses-devel |
e37f7386 | 142 | %{?with_motif:BuildRequires: openmotif-devel} |
d6e63bbe | 143 | %{?with_perl:BuildRequires: perl-devel} |
f14f41d3 | 144 | %{?with_python:BuildRequires: python-devel >= 2.5} |
2a5b9a50 | 145 | %{?with_ruby:BuildRequires: ruby-devel} |
d6e63bbe | 146 | %{?with_tcl:BuildRequires: tcl-devel} |
2a61b438 ER |
147 | %{?with_athena:BuildRequires: xorg-lib-libXaw-devel} |
148 | Obsoletes: kvim | |
40ff2b7e JB |
149 | %if %{with bonobo} |
150 | BuildRequires: ORBit2-devel | |
151 | BuildRequires: libbonoboui-devel >= 2.2.0 | |
e37f7386 | 152 | BuildRequires: libgnomeui-devel >= 2.2.0.1 |
40ff2b7e JB |
153 | BuildRequires: nautilus-devel >= 2.2.0 |
154 | %endif | |
70502921 | 155 | BuildRequires: rpmbuild(macros) >= 1.311 |
082a03d8 AM |
156 | %if %{with static} |
157 | BuildRequires: acl-static | |
40ff2b7e JB |
158 | BuildRequires: attr-static |
159 | BuildRequires: glibc-static | |
e57aa23e | 160 | %{?with_selinux:BuildRequires: libselinux-static} |
40ff2b7e | 161 | BuildRequires: ncurses-static |
082a03d8 | 162 | %else |
7ba74caf | 163 | Provides: %{name}-static = %{epoch}:%{version}-%{release} |
214d5c14 ER |
164 | Obsoletes: elvis-static |
165 | Obsoletes: nvi | |
166 | Obsoletes: vi | |
167 | Obsoletes: vim-minimal | |
fc7b36fc | 168 | Obsoletes: vim-static |
082a03d8 | 169 | %endif |
7b8fe793 | 170 | BuildRequires: unzip |
99216be1 | 171 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
ed99f1fe | 172 | Provides: vi-editor |
fc7b36fc | 173 | Provides: vi |
84c81dea | 174 | Obsoletes: vim-enhanced |
5664b129 | 175 | Obsoletes: vim-ispell |
ea73bb7e | 176 | Obsoletes: vim-plugin-multvals |
beb06d49 | 177 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8627c94f | 178 | |
f2ff3795 | 179 | # that's example script |
180 | %define _noautoreq '/bin/csh' | |
181 | ||
84c81dea | 182 | %description |
f73b565e | 183 | Text editor similar to Vi. Important improvements: multiple windows, |
b83ed9cf | 184 | multi-level undo, block highliting, folding, and many other. |
f73b565e | 185 | |
5cf83aa7 JR |
186 | %description -l cs.UTF-8 |
187 | ViM je nový a vylepšený editor vycházející z klasického editoru vi. Vi | |
188 | byl prvním celoobrazovkovým editorem pro Unix a je stále velmi | |
189 | populární. ViM je obohacený funkcemi jako: podpora více oken, | |
190 | víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných | |
191 | funkcí. | |
507e1057 | 192 | |
5cf83aa7 | 193 | %description -l de.UTF-8 |
f73b565e | 194 | Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon |
195 | des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert | |
196 | wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion, | |
197 | Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum | |
198 | Standard-vi-Programm. | |
199 | ||
5cf83aa7 JR |
200 | %description -l es.UTF-8 |
201 | El editor Visual Mejorado es una versión actualizada y con nuevas | |
202 | características adicionales del mundialmente famoso 'vi' que acompaña | |
203 | prácticamente todos los sistemas UN*X. Posibilita trabajar con | |
204 | múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y | |
205 | otras muchas características del 'vi'. | |
206 | ||
207 | %description -l fr.UTF-8 | |
208 | L'éditeur VIsuel aMélioré est un clone mis à jour et doté de | |
209 | caractéristiques supplémentaires de l'éditeur « vi » fourni avec | |
210 | pratiquement tous les systèmes UN*X. Il ajoute les fenêtres | |
211 | mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des | |
212 | blocs et autres caractéristiques au vi de base. | |
213 | ||
214 | %description -l id.UTF-8 | |
507e1057 | 215 | VIM (VIsual editor iMproved) adalah versi vi editor yang sudah |
216 | diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang | |
217 | pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM | |
218 | mengembangkan vi dengan menambah kemampuan baru seperti: multiple | |
219 | windows, multi-level undo, block highlighting, dll. | |
220 | ||
5cf83aa7 JR |
221 | %description -l is.UTF-8 |
222 | VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi | |
223 | ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög | |
224 | vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og | |
225 | gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og | |
507e1057 | 226 | fleira. |
227 | ||
5cf83aa7 JR |
228 | %description -l it.UTF-8 |
229 | VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor | |
230 | vi. Vi è stato il primo editor per UNIX realmente basato su video ed è | |
507e1057 | 231 | ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni: |
232 | finestre multiple, funzione \"annulla\" multilivello, evidenziazione | |
233 | dei blocchi e altro. | |
234 | ||
5cf83aa7 JR |
235 | %description -l pl.UTF-8 |
236 | Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu | |
237 | oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni, | |
b83ed9cf | 238 | folding i wiele innych. |
8f1c0b93 | 239 | |
5cf83aa7 JR |
240 | %description -l pt.UTF-8 |
241 | O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do | |
242 | editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para | |
243 | o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando | |
244 | novas potencialidades: janelas múltiplas, anulação multi-nível, realce | |
507e1057 | 245 | de blocos e mais. |
246 | ||
5cf83aa7 JR |
247 | %description -l pt_BR.UTF-8 |
248 | O editor Vim (Vi Enhanced) é um versão atualizada e com novas | |
249 | características do mundialmente famoso 'vi' que acompanha praticamente | |
250 | todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas | |
251 | janelas, vários níveis de desfazer, blocos enfatizados, e muitas | |
252 | outras características do 'vi'. | |
253 | ||
254 | %description -l ru.UTF-8 | |
255 | VIsual editor iMproved - это обновленный и значительно улучшенный клон | |
256 | редактора vi, который поставляется практически со всеми | |
257 | UN*X-системами. В этой версии есть многоуровневый откат, выделение | |
258 | блоков, синтаксическая подсветка и много другого... | |
259 | ||
260 | %description -l sk.UTF-8 | |
261 | VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi. | |
262 | Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a | |
263 | stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s | |
264 | viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné. | |
265 | ||
266 | %description -l sv.UTF-8 | |
267 | VIM (Vi IMproved) är en uppdaterad och förbättrad version av | |
268 | redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren | |
269 | till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med | |
270 | nya finesser: flera fönster, flernivå ångra, blockmarkering och mer | |
271 | ändå. | |
272 | ||
273 | %description -l tr.UTF-8 | |
274 | Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut, | |
275 | birden fazla pencere desteği ve blok işaretleme yetenekleri içerir. | |
276 | ||
277 | %description -l uk.UTF-8 | |
278 | VIsual editor iMproved - це оновлений та значно поліпшений клон | |
279 | редактора vi, який поставляється практично зі всіма UN*X-системами. В | |
280 | цій версії є багаторівневий відкат, виділення блоків, синтаксична | |
281 | підсвітка та багато іншого... | |
9e79ff1a | 282 | |
5f8672c8 JB |
283 | %package -n xxd |
284 | Summary: Utility to convert files to hexdump or do the reverse | |
1a02d184 | 285 | Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie |
5f8672c8 | 286 | Group: Applications/Editors/Vim |
5f8672c8 JB |
287 | |
288 | %description -n xxd | |
289 | xxd creates a hex dump of a given file or standard input. It can also | |
290 | convert a hex dump back to its original binary form. Like uuencode and | |
291 | uudecode it allows the transmission of binary data in a `mail-safe' | |
292 | ASCII representation, but has the advantage of decoding to standard | |
293 | output. Moreover, it can be used to perform binary file patching. | |
294 | ||
5cf83aa7 JR |
295 | %description -n xxd -l pl.UTF-8 |
296 | xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście. | |
297 | Może także przekonwertować taki zapis na oryginalną, binarną postać. | |
298 | Podobnie jak uuencode i uudecode pozwala na przesyłanie danych | |
299 | binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe | |
300 | wyjście. Co więcej, może być użyty do modyfikowania plików binarnych. | |
5f8672c8 | 301 | |
6590d069 | 302 | %package static |
7e3e3036 | 303 | Summary: Statically linked Vim |
1a02d184 | 304 | Summary(pl.UTF-8): Statycznie skonsolidowany Vim |
84c81dea | 305 | Group: Applications/Editors/Vim |
ed99f1fe | 306 | Provides: vi-editor |
fc7b36fc | 307 | Provides: vi |
95a598bc JB |
308 | Obsoletes: elvis-static |
309 | Obsoletes: nvi | |
84c81dea | 310 | Obsoletes: vim-minimal |
c9897555 | 311 | |
84c81dea | 312 | %description static |
b83ed9cf | 313 | Text editor similar to Vi. This version is built with minimal feature |
f73b565e | 314 | and is installed in /bin as a rescue tool. The installation of this |
315 | package is STRONGLY recommended. | |
84c81dea | 316 | |
5cf83aa7 JR |
317 | %description static -l pl.UTF-8 |
318 | Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana | |
319 | statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin | |
320 | jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO | |
321 | zalecana, może on pomóc Ci uratować system w czasie awarii. | |
8627c94f | 322 | |
5cf83aa7 JR |
323 | %description static -l ru.UTF-8 |
324 | Пакет vim-static устанавливает разновидность vim как /bin/vi, что | |
325 | удобно для запуска даже когда смонтирована только корневая файловая | |
326 | система. | |
9e79ff1a | 327 | |
5cf83aa7 JR |
328 | %description static -l uk.UTF-8 |
329 | Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для | |
330 | запуску навіть тоді, коли змонтована тільки корньова файлова система. | |
9e79ff1a | 331 | |
c9897555 | 332 | %package rt |
8627c94f | 333 | Summary: Vim runtime files |
1a02d184 ER |
334 | Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor ViM |
335 | Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren | |
336 | Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien | |
337 | Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM | |
338 | Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM | |
339 | Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM | |
340 | Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda | |
341 | Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM | |
342 | Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル | |
343 | Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren | |
344 | Summary(pl.UTF-8): Pliki przydatne edytorowi Vim | |
345 | Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM | |
346 | Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim | |
347 | Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM | |
348 | Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM | |
349 | Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM | |
350 | Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim | |
351 | Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。 | |
8627c94f | 352 | Group: Applications/Editors/Vim |
fc7b36fc | 353 | # mktemp is for vimtutor |
b8b82f5a | 354 | Requires: mktemp |
ed99f1fe | 355 | Requires: vi-editor |
84c81dea | 356 | Obsoletes: vim-common |
8627c94f | 357 | |
358 | %description rt | |
f73b565e | 359 | This package contains macros, documentation, syntax configuration and |
ec6033c5 | 360 | manual pages for Vim. If you want to take advantage of Vim more |
f73b565e | 361 | powerful features, you should install this package. |
8627c94f | 362 | |
5cf83aa7 JR |
363 | %description rt -l cs.UTF-8 |
364 | Tento balíček obsahuje společné soubory pro všechny další balíčky s | |
507e1057 | 365 | vim. |
366 | ||
5cf83aa7 | 367 | %description rt -l da.UTF-8 |
507e1057 | 368 | The vim-rt package contains files which every VIM binary will need in |
369 | order to run. | |
370 | ||
5cf83aa7 JR |
371 | %description rt -l de.UTF-8 |
372 | Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die | |
373 | Ausführung benötigt. | |
507e1057 | 374 | |
5cf83aa7 | 375 | %description rt -l fr.UTF-8 |
507e1057 | 376 | Le paquetage vim-rt contient des fichiers dont chaque fichier binaire |
377 | VIM a besoin pour fonctionner. | |
378 | ||
5cf83aa7 | 379 | %description rt -l id.UTF-8 |
507e1057 | 380 | Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa |
381 | berjalan. | |
382 | ||
5cf83aa7 JR |
383 | %description rt -l is.UTF-8 |
384 | vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa | |
385 | til að keyra. | |
507e1057 | 386 | |
5cf83aa7 | 387 | %description rt -l it.UTF-8 |
507e1057 | 388 | Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM |
389 | per poter funzionare. | |
390 | ||
5cf83aa7 JR |
391 | %description rt -l pl.UTF-8 |
392 | W tym pakiecie znajdziesz dokumentację, makra, pliki konfiguracyjne i | |
393 | strony podręcznika dla edytora Vim. Jeżeli chcesz korzystać z | |
394 | zaawansowanych możliwości Vima, powinieneś zainstalować ten pakiet. | |
84c81dea | 395 | |
5cf83aa7 JR |
396 | %description rt -l pt.UTF-8 |
397 | O pacote vim-rt contém os ficheiros que todos os executáveis do VIM | |
398 | irão necessitar para correr. | |
507e1057 | 399 | |
5cf83aa7 JR |
400 | %description rt -l ru.UTF-8 |
401 | Пакет vim-rt содержит файлы (например, файлы справки), которые нужны | |
402 | для работы любой программы vim. | |
9e79ff1a | 403 | |
5cf83aa7 JR |
404 | %description rt -l sk.UTF-8 |
405 | Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu | |
406 | funkciu každá verzia editoru VIM. | |
507e1057 | 407 | |
5cf83aa7 JR |
408 | %description rt -l sv.UTF-8 |
409 | Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att | |
410 | köra. | |
507e1057 | 411 | |
5cf83aa7 JR |
412 | %description rt -l uk.UTF-8 |
413 | Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні | |
414 | для роботи будь-якої програми vim. | |
9e79ff1a | 415 | |
4399a7e9 JB |
416 | %package spell-en |
417 | Summary: English dictionaries for VIMspell | |
1a02d184 | 418 | Summary(pl.UTF-8): Angielskie słowniki dla VIMspella |
4399a7e9 JB |
419 | Group: Applications/Editors/Vim |
420 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
421 | ||
422 | %description spell-en | |
423 | English dictionaries for VIMspell. | |
424 | ||
5cf83aa7 JR |
425 | %description spell-en -l pl.UTF-8 |
426 | Angielskie słowniki dla VIMspella. | |
4399a7e9 | 427 | |
84c81dea | 428 | %package -n gvim-athena |
6facb60f | 429 | Summary: Vim for X Window built with Athena |
1a02d184 | 430 | Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena |
84c81dea | 431 | Group: Applications/Editors/Vim |
99216be1 | 432 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
d5d214fb | 433 | Requires: iconv |
ed99f1fe | 434 | Provides: vi-editor |
84c81dea | 435 | Obsoletes: vim-X11 |
436 | ||
437 | %description -n gvim-athena | |
f73b565e | 438 | The classic Unix text editor now also under X Window System! This |
b83ed9cf | 439 | version is built with Athena Widget Set. |
84c81dea | 440 | |
5cf83aa7 JR |
441 | %description -n gvim-athena -l pl.UTF-8 |
442 | Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem | |
f73b565e | 443 | biblioteki Athena Widget Set. |
84c81dea | 444 | |
5cf83aa7 JR |
445 | %description -n gvim-athena -l ru.UTF-8 |
446 | Этот пакет представляет собой версию VIM, собранную с библиотеками | |
447 | Athena Widget Set, что позволяет запускать VIM как приложение X Window | |
448 | System - с полностью графическим интерфейсом и поддержкой мыши. | |
9e79ff1a | 449 | |
5cf83aa7 JR |
450 | %description -n gvim-athena -l uk.UTF-8 |
451 | Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget | |
452 | Set, що дозволяє запускати VIM як прикладну програму X Window System - | |
453 | з повністю графічним інтерфейсом та підтримкою миші. | |
9e79ff1a | 454 | |
7a9200fa JR |
455 | %package -n gvim-motif |
456 | Summary: Vim for X Window built with Motif | |
1a02d184 | 457 | Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Motif |
84c81dea | 458 | Group: Applications/Editors/Vim |
99216be1 | 459 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
d5d214fb | 460 | Requires: iconv |
ed99f1fe | 461 | Provides: vi-editor |
84c81dea | 462 | Obsoletes: vim-X11 |
8627c94f | 463 | |
7a9200fa | 464 | %description -n gvim-motif |
f73b565e | 465 | The classic Unix text editor now also under X Window System! This |
b83ed9cf | 466 | version is built with Motif. |
84c81dea | 467 | |
5cf83aa7 JR |
468 | %description -n gvim-motif -l pl.UTF-8 |
469 | Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem | |
7a9200fa | 470 | biblioteki Motif. |
84c81dea | 471 | |
5cf83aa7 JR |
472 | %description -n gvim-motif -l ru.UTF-8 |
473 | Этот пакет представляет собой версию VIM, собранную с библиотеками | |
474 | Motif, что позволяет запускать VIM как приложение X Window System - с | |
475 | полностью графическим интерфейсом и поддержкой мыши. | |
9e79ff1a | 476 | |
5cf83aa7 JR |
477 | %description -n gvim-motif -l uk.UTF-8 |
478 | Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що | |
479 | дозволяє запускати VIM як прикладну програму X Window System - з | |
480 | повністю графічним інтерфейсом та підтримкою миші. | |
9e79ff1a | 481 | |
84c81dea | 482 | %package -n gvim-gtk |
483 | Summary: Vim for X Window built with gtk | |
1a02d184 | 484 | Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GTK |
8627c94f | 485 | Group: Applications/Editors/Vim |
9c95080e | 486 | Requires(post,postun): gtk+2 |
4399a7e9 | 487 | Requires(post,postun): hicolor-icon-theme |
99216be1 | 488 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
d5d214fb | 489 | Requires: iconv |
ed99f1fe | 490 | Provides: vi-editor |
84c81dea | 491 | Obsoletes: vim-X11 |
8627c94f | 492 | |
84c81dea | 493 | %description -n gvim-gtk |
f73b565e | 494 | The classic Unix text editor now also under X Window System! This |
b83ed9cf | 495 | version is built with GTK. |
8627c94f | 496 | |
5cf83aa7 JR |
497 | %description -n gvim-gtk -l pl.UTF-8 |
498 | Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem | |
0d72267e | 499 | biblioteki GTK. |
d5d214fb | 500 | |
5cf83aa7 JR |
501 | %description -n gvim-gtk -l ru.UTF-8 |
502 | Этот пакет представляет собой версию VIM, собранную с библиотеками | |
503 | GTK, что позволяет запускать VIM как приложение X Window System - с | |
504 | полностью графическим интерфейсом и поддержкой мыши. Просто скажите | |
9e79ff1a | 505 | 'gvim'... |
506 | ||
5cf83aa7 JR |
507 | %description -n gvim-gtk -l uk.UTF-8 |
508 | Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє | |
509 | запускати VIM як прикладну програму X Window System - з повністю | |
510 | графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'... | |
9e79ff1a | 511 | |
d5d214fb | 512 | %package -n gvim-gnome |
e746f321 | 513 | Summary: Vim for X Window built with GNOME |
1a02d184 | 514 | Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GNOME |
d5d214fb | 515 | Group: Applications/Editors/Vim |
9c95080e | 516 | Requires(post,postun): gtk+2 |
4399a7e9 | 517 | Requires(post,postun): hicolor-icon-theme |
99216be1 | 518 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
d5d214fb | 519 | Requires: iconv |
ed99f1fe | 520 | Provides: vi-editor |
d5d214fb AM |
521 | Obsoletes: vim-X11 |
522 | ||
523 | %description -n gvim-gnome | |
524 | The classic Unix text editor now also under X Window System! This | |
525 | version is build with GNOME. | |
526 | ||
5cf83aa7 JR |
527 | %description -n gvim-gnome -l pl.UTF-8 |
528 | Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem | |
0d72267e | 529 | bibliotek GNOME. |
8627c94f | 530 | |
5cf83aa7 JR |
531 | %description -n gvim-gnome -l ru.UTF-8 |
532 | Этот пакет представляет собой версию VIM, собранную с библиотеками | |
533 | GNOME, что позволяет запускать VIM как приложение X Window System - с | |
534 | полностью графическим интерфейсом и поддержкой мыши. | |
9e79ff1a | 535 | |
5cf83aa7 JR |
536 | %description -n gvim-gnome -l uk.UTF-8 |
537 | Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що | |
538 | дозволяє запускати VIM як прикладну програму X Window System - з | |
539 | повністю графічним інтерфейсом та підтримкою миші. | |
9e79ff1a | 540 | |
afe2d598 AF |
541 | %package -n gvim-bonobo |
542 | Summary: Vim for X Window built as bonobo component | |
1a02d184 | 543 | Summary(pl.UTF-8): Vim dla X Window zbudowany jako element bonobo |
afe2d598 | 544 | Group: Applications/Editors/Vim |
99216be1 | 545 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
afe2d598 | 546 | Requires: iconv |
ed99f1fe | 547 | Provides: vi-editor |
afe2d598 AF |
548 | Obsoletes: vim-X11 |
549 | ||
550 | %description -n gvim-bonobo | |
551 | The classic Unix text editor now also under X Window System! This | |
552 | version is build as bonobo component. | |
553 | ||
5cf83aa7 JR |
554 | %description -n gvim-bonobo -l pl.UTF-8 |
555 | Wersja edytora Vim pracująca w środowisku X Window, zbudowana jako | |
69b192f0 JB |
556 | element bonobo. |
557 | ||
8627c94f | 558 | %prep |
41f33985 | 559 | %setup -q -n %{name}70 -b1 -b2 |
db58c86e | 560 | %patch0 -p1 |
357ae4b4 | 561 | %patch1 -p1 |
2f99b393 | 562 | %patch2 -p1 |
d1abaab5 AG |
563 | %patch3 -p1 |
564 | %patch4 -p1 | |
d0793c9f | 565 | %patch5 -p1 |
64570325 | 566 | %patch6 -p1 |
d6de9a65 | 567 | %patch7 -p1 |
19d8e711 | 568 | %patch8 -p1 |
d6de9a65 AG |
569 | %patch9 -p1 |
570 | %patch10 -p0 | |
571 | %patch11 -p1 | |
19d8e711 | 572 | %patch12 -p1 |
d6de9a65 AG |
573 | %patch13 -p1 |
574 | %patch14 -p1 | |
575 | %patch15 -p1 | |
7f5bd298 | 576 | %patch16 -p1 |
d6de9a65 AG |
577 | %patch17 -p0 |
578 | %patch18 -p0 | |
d1abaab5 AG |
579 | %patch19 -p1 |
580 | %patch20 -p1 | |
581 | %patch21 -p1 | |
d6de9a65 | 582 | %patch22 -p1 |
9c95080e | 583 | %patch23 -p1 |
d6de9a65 | 584 | |
96eaec6a | 585 | # official patches |
41f33985 AM |
586 | %patch199 -p0 |
587 | %patch200 -p0 | |
96eaec6a AG |
588 | %patch201 -p0 |
589 | %patch202 -p0 | |
590 | %patch203 -p0 | |
591 | %patch204 -p0 | |
41f33985 | 592 | %patch205 -p0 |
96eaec6a AG |
593 | %patch206 -p0 |
594 | %patch207 -p0 | |
595 | %patch208 -p0 | |
596 | %patch209 -p0 | |
597 | %patch210 -p0 | |
598 | %patch211 -p0 | |
599 | %patch212 -p0 | |
600 | %patch213 -p0 | |
601 | %patch214 -p0 | |
602 | %patch215 -p0 | |
603 | %patch216 -p0 | |
604 | %patch217 -p0 | |
ba352f89 AG |
605 | %patch218 -p0 |
606 | %patch219 -p0 | |
607 | %patch220 -p0 | |
608 | %patch221 -p0 | |
609 | %patch222 -p0 | |
9f49ec19 AG |
610 | %patch223 -p0 |
611 | %patch224 -p0 | |
612 | %patch225 -p0 | |
613 | %patch226 -p0 | |
41f33985 AM |
614 | %patch227 -p0 |
615 | %patch228 -p0 | |
9f49ec19 AG |
616 | %patch229 -p0 |
617 | %patch230 -p0 | |
618 | %patch231 -p0 | |
41f33985 | 619 | %patch232 -p0 |
9f49ec19 AG |
620 | %patch233 -p0 |
621 | %patch234 -p0 | |
622 | %patch235 -p0 | |
96eaec6a | 623 | |
d6de9a65 AG |
624 | # bonobo |
625 | %if %{with bonobo} | |
626 | %patch100 -p1 | |
627 | %patch101 -p1 | |
628 | %patch102 -p1 | |
629 | %patch103 -p1 | |
630 | %endif | |
631 | ||
632 | # home etc | |
633 | %{?with_home_etc:%patch104 -p1} | |
634 | ||
635 | # selinux | |
636 | %{?with_selinux:%patch105 -p1} | |
99890e04 | 637 | |
e8531d99 | 638 | # recognize UUID= in /etc/fstab |
aaf60aad ER |
639 | %patch106 -p1 |
640 | ||
9e18e433 | 641 | # autopaste patch - automatically switch to paste mode if `really fast typing' |
e8531d99 | 642 | # situation happens |
9e18e433 ER |
643 | %patch107 -p1 |
644 | ||
645 | %patch108 -p1 | |
e8531d99 | 646 | |
19d8e711 AG |
647 | install %{SOURCE14} runtime/indent |
648 | install %{SOURCE15} runtime/colors | |
649 | install %{SOURCE16} runtime/syntax | |
32e75812 | 650 | install %{SOURCE17} runtime/syntax |
b88c7a3a | 651 | install %{SOURCE18} runtime/syntax |
19d8e711 | 652 | install %{SOURCE19} runtime/ftplugin/spec.vim |
abf48674 | 653 | |
8627c94f | 654 | %build |
96eaec6a | 655 | cd src |
34ddecbc | 656 | %{__autoconf} |
ffce5254 JB |
657 | # needed to prevent deconfiguring |
658 | cp -f configure auto | |
8490904a | 659 | |
69b192f0 | 660 | install -d bin |
afe2d598 AF |
661 | |
662 | %if %{with bonobo} | |
663 | %{__make} distclean | |
664 | %configure \ | |
afe2d598 AF |
665 | --with-features=huge \ |
666 | --enable-gui=gnome2 \ | |
667 | --enable-bonobo \ | |
668 | --enable-gtk2-check \ | |
669 | --enable-gnome-check \ | |
670 | --with-x \ | |
671 | %{!?with_perl:--disable-perlinterp} \ | |
672 | %{?with_perl:--enable-perlinterp} \ | |
673 | %{!?with_python:--disable-pythoninterp} \ | |
674 | %{?with_python:--enable-pythoninterp} \ | |
675 | %{!?with_ruby:--disable-rubyinterp} \ | |
676 | %{?with_ruby:--enable-rubyinterp} \ | |
677 | %{!?with_tcl:--disable-tclinterp} \ | |
678 | %{?with_tcl:--enable-tclinterp} \ | |
679 | --disable-gpm \ | |
680 | --enable-cscope \ | |
681 | --enable-nls \ | |
682 | --with-modifiedby="PLD Linux Distribution" \ | |
683 | --with-compiledby="PLD Linux Distribution" | |
684 | ||
685 | %{__make} vim-component vim-factory Vim_Control.server | |
686 | mv vim-component vim-factory Vim_Control.server bin/ | |
687 | %endif | |
688 | ||
d6e63bbe | 689 | %if %{with static} |
8490904a JB |
690 | %{__make} distclean |
691 | LDFLAGS="%{rpmldflags} -static" | |
692 | %configure \ | |
693 | --disable-gui \ | |
694 | --without-x \ | |
695 | --disable-perlinterp \ | |
696 | --disable-pythoninterp \ | |
697 | --disable-rubyinterp \ | |
698 | --disable-tclinterp \ | |
699 | --disable-cscope \ | |
700 | --disable-gpm \ | |
701 | --disable-multibyte \ | |
d6e63bbe | 702 | %{?with_bonobo:--disable-bonobo} \ |
8490904a | 703 | --with-features=small \ |
00311d17 | 704 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 705 | --disable-nls \ |
e9089381 | 706 | --with-modifiedby="PLD Linux Distribution" \ |
707 | --with-compiledby="PLD Linux Distribution" | |
8490904a | 708 | |
725c510f JB |
709 | %{__make} vim |
710 | ||
afe2d598 | 711 | mv -f vim bin/vim.static |
8490904a JB |
712 | LDFLAGS="%{rpmldflags}" |
713 | %endif | |
714 | ||
d924622d | 715 | %{__make} distclean |
84c81dea | 716 | %configure \ |
717 | --disable-gui \ | |
718 | --without-x \ | |
d6e63bbe AF |
719 | %{!?with_perl:--disable-perlinterp} \ |
720 | %{?with_perl:--enable-perlinterp} \ | |
721 | %{!?with_python:--disable-pythoninterp} \ | |
722 | %{?with_python:--enable-pythoninterp} \ | |
723 | %{!?with_ruby:--disable-rubyinterp} \ | |
724 | %{?with_ruby:--enable-rubyinterp} \ | |
725 | %{!?with_tcl:--disable-tclinterp} \ | |
726 | %{?with_tcl:--enable-tclinterp} \ | |
727 | %{?with_bonobo:--disable-bonobo} \ | |
d5d214fb | 728 | --enable-cscope \ |
f22e9322 | 729 | --enable-gpm \ |
730 | --with-features=huge \ | |
d5d214fb | 731 | --enable-multibyte \ |
ba794b83 | 732 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 733 | --enable-nls \ |
e9089381 | 734 | --with-modifiedby="PLD Linux Distribution" \ |
735 | --with-compiledby="PLD Linux Distribution" | |
d5d214fb | 736 | |
725c510f JB |
737 | %{__make} vim |
738 | ||
afe2d598 | 739 | mv -f vim bin/vim.ncurses |
a04973b9 | 740 | |
d6e63bbe | 741 | %if %{with athena} |
fc7569f7 | 742 | %{__make} distclean |
a82d590c | 743 | %configure \ |
f22e9322 | 744 | --with-features=huge \ |
f73b565e | 745 | --enable-gui=athena \ |
746 | --with-x \ | |
d6e63bbe AF |
747 | %{!?with_perl:--disable-perlinterp} \ |
748 | %{?with_perl:--enable-perlinterp} \ | |
749 | %{!?with_python:--disable-pythoninterp} \ | |
750 | %{?with_python:--enable-pythoninterp} \ | |
751 | %{!?with_ruby:--disable-rubyinterp} \ | |
752 | %{?with_ruby:--enable-rubyinterp} \ | |
753 | %{!?with_tcl:--disable-tclinterp} \ | |
754 | %{?with_tcl:--enable-tclinterp} \ | |
755 | %{?with_bonobo:--disable-bonobo} \ | |
d5d214fb AM |
756 | --enable-cscope \ |
757 | --enable-fontset \ | |
758 | --disable-gpm \ | |
759 | --without-gnome \ | |
00311d17 | 760 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 761 | --enable-nls \ |
e9089381 | 762 | --with-modifiedby="PLD Linux Distribution" \ |
763 | --with-compiledby="PLD Linux Distribution" | |
a82d590c | 764 | |
fc7569f7 | 765 | %{__make} vim |
afe2d598 | 766 | mv -f vim bin/gvim.athena |
fc7569f7 | 767 | %endif |
84c81dea | 768 | |
a04973b9 | 769 | |
d6e63bbe | 770 | %if %{with motif} |
fc7569f7 | 771 | %{__make} distclean |
a82d590c | 772 | %configure \ |
f22e9322 | 773 | --with-features=huge \ |
f73b565e | 774 | --enable-gui=motif \ |
775 | --with-x \ | |
d6e63bbe AF |
776 | %{!?with_perl:--disable-perlinterp} \ |
777 | %{?with_perl:--enable-perlinterp} \ | |
778 | %{!?with_python:--disable-pythoninterp} \ | |
779 | %{?with_python:--enable-pythoninterp} \ | |
780 | %{!?with_ruby:--disable-rubyinterp} \ | |
781 | %{?with_ruby:--enable-rubyinterp} \ | |
782 | %{!?with_tcl:--disable-tclinterp} \ | |
783 | %{?with_tcl:--enable-tclinterp} \ | |
784 | %{?with_bonobo:--disable-bonobo} \ | |
d5d214fb AM |
785 | --enable-multibyte \ |
786 | --enable-cscope \ | |
787 | --enable-fontset \ | |
788 | --disable-gpm \ | |
789 | --without-gnome \ | |
00311d17 | 790 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 791 | --enable-nls \ |
e9089381 | 792 | --with-modifiedby="PLD Linux Distribution" \ |
793 | --with-compiledby="PLD Linux Distribution" | |
e7cb0e5d | 794 | |
fc7569f7 | 795 | %{__make} vim |
afe2d598 | 796 | mv -f vim bin/gvim.motif |
fc7569f7 | 797 | %endif |
8627c94f | 798 | |
d6e63bbe | 799 | %if %{with gtk} |
fc7569f7 | 800 | %{__make} distclean |
a82d590c | 801 | %configure \ |
f22e9322 | 802 | --with-features=huge \ |
db58c86e | 803 | --enable-gui=gtk2 \ |
804 | --enable-gtk2-check \ | |
f73b565e | 805 | --with-x \ |
d6e63bbe AF |
806 | %{!?with_perl:--disable-perlinterp} \ |
807 | %{?with_perl:--enable-perlinterp} \ | |
808 | %{!?with_python:--disable-pythoninterp} \ | |
809 | %{?with_python:--enable-pythoninterp} \ | |
810 | %{!?with_ruby:--disable-rubyinterp} \ | |
811 | %{?with_ruby:--enable-rubyinterp} \ | |
812 | %{!?with_tcl:--disable-tclinterp} \ | |
813 | %{?with_tcl:--enable-tclinterp} \ | |
814 | %{?with_bonobo:--disable-bonobo} \ | |
d5d214fb AM |
815 | --disable-gpm \ |
816 | --enable-cscope \ | |
00311d17 | 817 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 818 | --enable-nls \ |
e9089381 | 819 | --with-modifiedby="PLD Linux Distribution" \ |
820 | --with-compiledby="PLD Linux Distribution" | |
a82d590c | 821 | |
fc7569f7 | 822 | %{__make} vim |
afe2d598 | 823 | mv -f vim bin/gvim.gtk |
fc7569f7 | 824 | %endif |
8627c94f | 825 | |
d6e63bbe | 826 | %if %{with gnome} |
fc7569f7 | 827 | %{__make} distclean |
a82d590c | 828 | %configure \ |
f22e9322 | 829 | --with-features=huge \ |
db58c86e | 830 | --enable-gui=gnome2 \ |
afe2d598 | 831 | %{?with_bonobo:--disable-bonobo} \ |
db58c86e | 832 | --enable-gtk2-check \ |
833 | --enable-gnome-check \ | |
d5d214fb | 834 | --with-x \ |
d6e63bbe AF |
835 | %{!?with_perl:--disable-perlinterp} \ |
836 | %{?with_perl:--enable-perlinterp} \ | |
837 | %{!?with_python:--disable-pythoninterp} \ | |
838 | %{?with_python:--enable-pythoninterp} \ | |
839 | %{!?with_ruby:--disable-rubyinterp} \ | |
840 | %{?with_ruby:--enable-rubyinterp} \ | |
841 | %{!?with_tcl:--disable-tclinterp} \ | |
842 | %{?with_tcl:--enable-tclinterp} \ | |
d5d214fb AM |
843 | --disable-gpm \ |
844 | --enable-cscope \ | |
00311d17 | 845 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 846 | --enable-nls \ |
e9089381 | 847 | --with-modifiedby="PLD Linux Distribution" \ |
848 | --with-compiledby="PLD Linux Distribution" | |
a82d590c | 849 | |
fc7569f7 | 850 | %{__make} vim |
afe2d598 | 851 | mv -f vim bin/gvim.gnome |
fc7569f7 | 852 | %endif |
d5d214fb | 853 | |
afe2d598 AF |
854 | %{__make} xxd/xxd languages |
855 | ||
8627c94f | 856 | %install |
857 | rm -rf $RPM_BUILD_ROOT | |
0b31d255 | 858 | |
f22e9322 | 859 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \ |
d5d214fb | 860 | $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \ |
474e8862 | 861 | $RPM_BUILD_ROOT%{_desktopdir} |
46f826dd | 862 | |
a82d590c | 863 | %{__make} install \ |
864 | DESTDIR=$RPM_BUILD_ROOT | |
7ba74caf | 865 | |
310b65f3 | 866 | rm -f $RPM_BUILD_ROOT%{_bindir}/* |
8627c94f | 867 | |
b93a0a21 | 868 | %if %{with static} |
baa4aaf8 | 869 | install src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim |
870 | install src/bin/vim.static $RPM_BUILD_ROOT/bin/vi | |
b93a0a21 | 871 | %else |
baa4aaf8 | 872 | install src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi |
b93a0a21 AF |
873 | ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim |
874 | %endif | |
baa4aaf8 | 875 | install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd |
876 | install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor | |
a7fbf53c | 877 | |
9c95080e | 878 | # Moved into patch |
879 | # | |
880 | # rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1 | |
881 | # install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
882 | # install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
883 | # install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
884 | # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1 | |
885 | # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1 | |
886 | # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1 | |
887 | # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1 | |
4ae2e5e0 | 888 | |
84c81dea | 889 | echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1 |
890 | echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1 | |
8627c94f | 891 | |
9c95080e | 892 | # not supported directories |
893 | rm -rf $RPM_BUILD_ROOT%{_mandir}/??.*/ | |
894 | ||
64570325 | 895 | mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc |
d5d214fb | 896 | mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc |
8627c94f | 897 | |
4399a7e9 JB |
898 | ln -sf vim $RPM_BUILD_ROOT%{_bindir}/eview |
899 | ln -sf vim $RPM_BUILD_ROOT%{_bindir}/evim | |
923c746f | 900 | ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim |
4399a7e9 | 901 | ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff |
d5d214fb AM |
902 | ln -sf vi $RPM_BUILD_ROOT/bin/ex |
903 | ln -sf vi $RPM_BUILD_ROOT/bin/view | |
904 | ln -sf vi $RPM_BUILD_ROOT/bin/rview | |
84c81dea | 905 | |
0f99c50f PG |
906 | install %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir} |
907 | ||
b93a0a21 | 908 | %if %{with athena} |
baa4aaf8 | 909 | install src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena |
eab7da3d | 910 | install %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir} |
b93a0a21 AF |
911 | %endif |
912 | %if %{with motif} | |
baa4aaf8 | 913 | install src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif |
eab7da3d | 914 | install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir} |
b93a0a21 AF |
915 | %endif |
916 | %if %{with gnome} | |
baa4aaf8 | 917 | install src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome |
b93a0a21 AF |
918 | install %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir} |
919 | %endif | |
920 | %if %{with gtk} | |
baa4aaf8 | 921 | install src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk |
b93a0a21 | 922 | ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim |
b93a0a21 | 923 | ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview |
4399a7e9 | 924 | ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff |
b93a0a21 | 925 | ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview |
4399a7e9 | 926 | ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim |
eab7da3d | 927 | install %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir} |
b93a0a21 | 928 | %endif |
8627c94f | 929 | |
ef0fdc18 | 930 | install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps |
931 | install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png | |
932 | install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png | |
933 | install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png | |
934 | ||
6f41d12a | 935 | # Bonobo |
d6e63bbe | 936 | %if %{with bonobo} |
6f41d12a | 937 | install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers |
afe2d598 | 938 | install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers |
baa4aaf8 | 939 | install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir} |
6f41d12a | 940 | %endif |
941 | ||
41f33985 | 942 | bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
9c95080e | 943 | |
41f33985 | 944 | unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE4} |
9e79ff1a | 945 | |
a76f8cb4 | 946 | install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}} |
8e79b441 | 947 | > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags |
9f5fc2a1 | 948 | |
8627c94f | 949 | %clean |
950 | rm -rf $RPM_BUILD_ROOT | |
951 | ||
b1844844 | 952 | %post |
7285c5a1 | 953 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post |
b1844844 | 954 | |
955 | %postun | |
7285c5a1 | 956 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun |
b1844844 | 957 | |
958 | %post -n gvim-athena | |
7285c5a1 | 959 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post |
b1844844 | 960 | |
961 | %postun -n gvim-athena | |
7285c5a1 | 962 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun |
b1844844 | 963 | |
964 | %post -n gvim-motif | |
7285c5a1 | 965 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post |
b1844844 | 966 | |
967 | %postun -n gvim-motif | |
7285c5a1 | 968 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun |
b1844844 | 969 | |
970 | %post -n gvim-gtk | |
7285c5a1 | 971 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post |
70502921 | 972 | %update_icon_cache hicolor |
b1844844 | 973 | |
974 | %postun -n gvim-gtk | |
7285c5a1 | 975 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun |
70502921 | 976 | %update_icon_cache hicolor |
b1844844 | 977 | |
978 | %post -n gvim-gnome | |
9c95080e | 979 | %update_desktop_database_post |
70502921 | 980 | %update_icon_cache hicolor |
b1844844 | 981 | |
982 | %postun -n gvim-gnome | |
9c95080e | 983 | %update_desktop_database_postun |
70502921 | 984 | %update_icon_cache hicolor |
b1844844 | 985 | |
84c81dea | 986 | %files |
987 | %defattr(644,root,root,755) | |
4399a7e9 JB |
988 | %attr(755,root,root) %{_bindir}/eview |
989 | %attr(755,root,root) %{_bindir}/evim | |
84c81dea | 990 | %attr(755,root,root) %{_bindir}/rvim |
4399a7e9 JB |
991 | %attr(755,root,root) %{_bindir}/vim |
992 | %attr(755,root,root) %{_bindir}/vimdiff | |
993 | %{_mandir}/man1/eview.1* | |
994 | %{_mandir}/man1/evim.1* | |
995 | %{_mandir}/man1/rvim.1* | |
996 | %{_mandir}/man1/vimdiff.1* | |
997 | %lang(fi) %{_mandir}/fi/man1/rvim.1* | |
998 | %lang(fr) %{_mandir}/fr/man1/eview.1* | |
999 | %lang(fr) %{_mandir}/fr/man1/evim.1* | |
1000 | %lang(fr) %{_mandir}/fr/man1/rvim.1* | |
1001 | %lang(fr) %{_mandir}/fr/man1/vimdiff.1* | |
1002 | %lang(id) %{_mandir}/id/man1/rvim.1* | |
1003 | %lang(it) %{_mandir}/it/man1/eview.1* | |
1004 | %lang(it) %{_mandir}/it/man1/evim.1* | |
1005 | %lang(it) %{_mandir}/it/man1/rvim.1* | |
1006 | %lang(it) %{_mandir}/it/man1/vimdiff.1* | |
1007 | %lang(pl) %{_mandir}/pl/man1/eview.1* | |
1008 | %lang(pl) %{_mandir}/pl/man1/evim.1* | |
1009 | %lang(pl) %{_mandir}/pl/man1/rvim.1* | |
1010 | %lang(pl) %{_mandir}/pl/man1/vimdiff.1* | |
1011 | %lang(ru) %{_mandir}/ru/man1/eview.1* | |
1012 | %lang(ru) %{_mandir}/ru/man1/evim.1* | |
1013 | %lang(ru) %{_mandir}/ru/man1/rvim.1* | |
1014 | %lang(ru) %{_mandir}/ru/man1/vimdiff.1* | |
0f99c50f | 1015 | %{_desktopdir}/%{name}.desktop |
84c81dea | 1016 | |
d6e63bbe | 1017 | %if %{with static} |
84c81dea | 1018 | %files static |
2576aec7 | 1019 | %endif |
ce504e8b | 1020 | %defattr(644,root,root,755) |
ce504e8b | 1021 | %attr(755,root,root) /bin/* |
671e058b AF |
1022 | %{_mandir}/man1/vi.1* |
1023 | %{_mandir}/man1/ex.1* | |
671e058b AF |
1024 | %{_mandir}/man1/view.1* |
1025 | %{_mandir}/man1/rview.1* | |
0d564f51 JB |
1026 | %lang(fi) %{_mandir}/fi/man1/vi.1* |
1027 | %lang(fi) %{_mandir}/fi/man1/ex.1* | |
1028 | %lang(fi) %{_mandir}/fi/man1/view.1* | |
1029 | %lang(fi) %{_mandir}/fi/man1/rview.1* | |
9c95080e | 1030 | %lang(fr) %{_mandir}/fr/man1/vi.1* |
1031 | %lang(fr) %{_mandir}/fr/man1/ex.1* | |
1032 | %lang(fr) %{_mandir}/fr/man1/view.1* | |
1033 | %lang(fr) %{_mandir}/fr/man1/rview.1* | |
0d564f51 JB |
1034 | %lang(id) %{_mandir}/id/man1/vi.1* |
1035 | %lang(id) %{_mandir}/id/man1/ex.1* | |
1036 | %lang(id) %{_mandir}/id/man1/view.1* | |
1037 | %lang(id) %{_mandir}/id/man1/rview.1* | |
9c95080e | 1038 | #%lang(it) %{_mandir}/it/man1/vi.1* |
1039 | %lang(it) %{_mandir}/it/man1/ex.1* | |
1040 | %lang(it) %{_mandir}/it/man1/view.1* | |
1041 | %lang(it) %{_mandir}/it/man1/rview.1* | |
1042 | %lang(pl) %{_mandir}/pl/man1/vi.1* | |
1043 | %lang(pl) %{_mandir}/pl/man1/ex.1* | |
1044 | %lang(pl) %{_mandir}/pl/man1/view.1* | |
1045 | %lang(pl) %{_mandir}/pl/man1/rview.1* | |
1046 | #%lang(ru) %{_mandir}/ru/man1/vi.1* | |
1047 | %lang(ru) %{_mandir}/ru/man1/ex.1* | |
1048 | %lang(ru) %{_mandir}/ru/man1/view.1* | |
1049 | %lang(ru) %{_mandir}/ru/man1/rview.1* | |
ce504e8b | 1050 | |
2576aec7 AF |
1051 | %files -n xxd |
1052 | %defattr(644,root,root,755) | |
1053 | %attr(755,root,root) %{_bindir}/xxd | |
1054 | %{_mandir}/man1/xxd.1* | |
9c95080e | 1055 | %lang(fr) %{_mandir}/fr/man1/xxd.1* |
1056 | %lang(it) %{_mandir}/it/man1/xxd.1* | |
1057 | %lang(pl) %{_mandir}/pl/man1/xxd.1* | |
1058 | %lang(ru) %{_mandir}/ru/man1/xxd.1* | |
2576aec7 | 1059 | |
8627c94f | 1060 | %files rt |
1061 | %defattr(644,root,root,755) | |
307833bf | 1062 | %attr(755,root,root) %{_bindir}/vimtutor |
54e1a2a3 | 1063 | %dir %{_sysconfdir}/vim |
baa4aaf8 | 1064 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc |
1065 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc | |
84c81dea | 1066 | |
1a773fc5 | 1067 | %dir %{_datadir}/vim |
d5d214fb | 1068 | %dir %{_datadir}/vim/v* |
05a269bd | 1069 | %dir %{_datadir}/vim/v*/doc |
1a881f20 | 1070 | %doc %{_datadir}/vim/v*/doc/*.txt |
17bdc5ff | 1071 | %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx |
1a881f20 | 1072 | %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl |
baa4aaf8 | 1073 | %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags |
1074 | %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl | |
d5d214fb AM |
1075 | %{_datadir}/vim/v*/ftplugin |
1076 | %{_datadir}/vim/v*/indent | |
1077 | %{_datadir}/vim/v*/keymap | |
1078 | %dir %{_datadir}/vim/v*/lang | |
1a881f20 | 1079 | %doc %{_datadir}/vim/v*/lang/README* |
42d18f12 | 1080 | |
59274d07 | 1081 | # just add after/ and ftdetect/ separately, other dirs caught by globs above or below |
dd179d92 ER |
1082 | %{_datadir}/vim/vimfiles/after |
1083 | %{_datadir}/vim/vimfiles/ftdetect | |
9f5fc2a1 | 1084 | |
0b1385e8 | 1085 | %lang(af) %{_datadir}/vim/v*/lang/menu_af* |
96eaec6a | 1086 | %lang(af) %{_datadir}/vim/v*/lang/af/ |
0b1385e8 | 1087 | %lang(ca) %{_datadir}/vim/v*/lang/menu_ca* |
96eaec6a | 1088 | %lang(ca) %{_datadir}/vim/v*/lang/ca/ |
0b1385e8 AM |
1089 | %lang(cs) %{_datadir}/vim/v*/lang/menu_cs* |
1090 | %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech* | |
96eaec6a | 1091 | %lang(cs) %{_datadir}/vim/v*/lang/cs/ |
0b1385e8 AM |
1092 | %lang(de) %{_datadir}/vim/v*/lang/menu_de* |
1093 | %lang(de) %{_datadir}/vim/v*/lang/menu_*german* | |
96eaec6a | 1094 | %lang(de) %{_datadir}/vim/v*/lang/de/ |
23543ee3 | 1095 | %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb* |
0b1385e8 | 1096 | %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english* |
96eaec6a AG |
1097 | %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/ |
1098 | %lang(es) %{_datadir}/vim/v*/lang/menu_es* | |
1099 | %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish* | |
1100 | %lang(es) %{_datadir}/vim/v*/lang/es/ | |
0b1385e8 | 1101 | %lang(fr) %{_datadir}/vim/v*/lang/menu_fr* |
96eaec6a | 1102 | %lang(fr) %{_datadir}/vim/v*/lang/fr/ |
37e3507e | 1103 | %lang(ga) %{_datadir}/vim/v*/lang/ga/ |
0b1385e8 AM |
1104 | %lang(hu) %{_datadir}/vim/v*/lang/menu_hu* |
1105 | %lang(it) %{_datadir}/vim/v*/lang/menu_it* | |
96eaec6a | 1106 | %lang(it) %{_datadir}/vim/v*/lang/it/ |
0b1385e8 | 1107 | %lang(ja) %{_datadir}/vim/v*/lang/menu_ja* |
96eaec6a | 1108 | %lang(ja) %{_datadir}/vim/v*/lang/ja/ |
0b1385e8 | 1109 | %lang(ko) %{_datadir}/vim/v*/lang/menu_ko* |
96eaec6a | 1110 | %lang(ko) %{_datadir}/vim/v*/lang/ko/ |
0b1385e8 AM |
1111 | %lang(nl) %{_datadir}/vim/v*/lang/menu_nl* |
1112 | %lang(nb) %{_datadir}/vim/v*/lang/menu_no* | |
96eaec6a | 1113 | %lang(nb) %{_datadir}/vim/v*/lang/no/ |
0b1385e8 AM |
1114 | %lang(pl) %{_datadir}/vim/v*/lang/menu_pl* |
1115 | %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish* | |
96eaec6a | 1116 | %lang(pl) %{_datadir}/vim/v*/lang/pl/ |
0b1385e8 AM |
1117 | %lang(pt) %{_datadir}/vim/v*/lang/menu_pt* |
1118 | %lang(ru) %{_datadir}/vim/v*/lang/menu_ru* | |
96eaec6a | 1119 | %lang(ru) %{_datadir}/vim/v*/lang/ru/ |
0b1385e8 AM |
1120 | %lang(sk) %{_datadir}/vim/v*/lang/menu_sk* |
1121 | %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak* | |
96eaec6a | 1122 | %lang(sk) %{_datadir}/vim/v*/lang/sk/ |
0b1385e8 AM |
1123 | %lang(sr) %{_datadir}/vim/v*/lang/menu_sr* |
1124 | %lang(sv) %{_datadir}/vim/v*/lang/menu_sv* | |
96eaec6a | 1125 | %lang(sv) %{_datadir}/vim/v*/lang/sv/ |
0b1385e8 | 1126 | %lang(uk) %{_datadir}/vim/v*/lang/menu_uk* |
37e3507e | 1127 | %lang(uk) %{_datadir}/vim/v*/lang/uk/ |
9bc905eb | 1128 | %lang(vi) %{_datadir}/vim/v*/lang/menu_vi* |
37e3507e | 1129 | %lang(vi) %{_datadir}/vim/v*/lang/vi/ |
7a778761 | 1130 | %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936* |
ec23c5c9 | 1131 | %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312* |
42d18f12 | 1132 | %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn* |
0b1385e8 | 1133 | %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb* |
96eaec6a | 1134 | %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/ |
7a778761 JB |
1135 | %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950* |
1136 | %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5* | |
42d18f12 | 1137 | %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw* |
0b1385e8 | 1138 | %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan* |
96eaec6a | 1139 | %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/ |
42d18f12 | 1140 | |
1d2cf3d5 | 1141 | %dir %{_datadir}/vim/v*/spell |
3558f1d8 | 1142 | %{_datadir}/vim/v*/spell/cleanadd.vim |
9c95080e | 1143 | %lang(he) %{_datadir}/vim/v*/spell/he.* |
1144 | %lang(yi) %{_datadir}/vim/v*/spell/yi.* | |
9bc905eb | 1145 | |
d5d214fb AM |
1146 | %{_datadir}/vim/v*/macros |
1147 | %{_datadir}/vim/v*/plugin | |
23543ee3 | 1148 | %{_datadir}/vim/v*/print |
d5d214fb | 1149 | %{_datadir}/vim/v*/syntax |
a82d590c | 1150 | %{_datadir}/vim/v*/tools |
d5d214fb | 1151 | %{_datadir}/vim/v*/tutor |
ba50d0a1 | 1152 | %{_datadir}/vim/v*/colors |
a0f9a135 | 1153 | %{_datadir}/vim/v*/compiler |
9bc905eb | 1154 | %{_datadir}/vim/v*/autoload |
d5d214fb | 1155 | %{_datadir}/vim/v*/*.vim |
8627c94f | 1156 | |
4399a7e9 JB |
1157 | %{_mandir}/man1/rvim.1* |
1158 | %{_mandir}/man1/vim.1* | |
1159 | %{_mandir}/man1/vimtutor.1* | |
1160 | %lang(fi) %{_mandir}/fi/man1/rvim.1* | |
1161 | %lang(fi) %{_mandir}/fi/man1/vim.1* | |
1162 | %lang(fr) %{_mandir}/fr/man1/rvim.1* | |
1163 | %lang(fr) %{_mandir}/fr/man1/vim.1* | |
1164 | %lang(fr) %{_mandir}/fr/man1/vimtutor.1* | |
1165 | %lang(id) %{_mandir}/id/man1/vim.1* | |
1166 | %lang(it) %{_mandir}/it/man1/vim.1* | |
1167 | %lang(it) %{_mandir}/it/man1/vimtutor.1* | |
1168 | %lang(pl) %{_mandir}/pl/man1/vim.1* | |
1169 | %lang(pl) %{_mandir}/pl/man1/vimtutor.1* | |
1170 | %lang(ru) %{_mandir}/ru/man1/vim.1* | |
1171 | %lang(ru) %{_mandir}/ru/man1/vimtutor.1* | |
64bf7ae0 | 1172 | %{_iconsdir}/hicolor/16x16/apps/vim.png |
1173 | %{_iconsdir}/hicolor/32x32/apps/vim.png | |
1174 | %{_iconsdir}/hicolor/48x48/apps/vim.png | |
1175 | ||
4399a7e9 JB |
1176 | %files spell-en |
1177 | %defattr(644,root,root,755) | |
1178 | %{_datadir}/vim/v*/spell/en.*.* | |
1179 | ||
d6e63bbe | 1180 | %if %{with athena} |
f22e9322 | 1181 | %files -n gvim-athena |
1182 | %defattr(644,root,root,755) | |
c983f1ff | 1183 | %attr(755,root,root) %{_bindir}/gvim.athena |
eab7da3d | 1184 | %{_desktopdir}/gvim-athena.desktop |
f22e9322 | 1185 | %endif |
1186 | ||
d6e63bbe | 1187 | %if %{with motif} |
f22e9322 | 1188 | %files -n gvim-motif |
1189 | %defattr(644,root,root,755) | |
c983f1ff | 1190 | %attr(755,root,root) %{_bindir}/gvim.motif |
eab7da3d | 1191 | %{_desktopdir}/gvim-motif.desktop |
f22e9322 | 1192 | %endif |
1193 | ||
d6e63bbe | 1194 | %if %{with gtk} |
f22e9322 | 1195 | %files -n gvim-gtk |
1196 | %defattr(644,root,root,755) | |
c983f1ff | 1197 | %attr(755,root,root) %{_bindir}/gvim.gtk |
4399a7e9 | 1198 | %attr(755,root,root) %{_bindir}/gvimdiff |
c983f1ff | 1199 | %attr(755,root,root) %{_bindir}/rgvim |
1200 | %attr(755,root,root) %{_bindir}/rgview | |
1201 | %attr(755,root,root) %verify(not link) %{_bindir}/gvim | |
4399a7e9 JB |
1202 | %{_mandir}/man1/gvi* |
1203 | %{_mandir}/man1/rgv* | |
9c95080e | 1204 | %lang(fi) %{_mandir}/fi/man1/gvi* |
1205 | %lang(fi) %{_mandir}/fi/man1/rgv* | |
1206 | %lang(fr) %{_mandir}/fr/man1/gvi* | |
1207 | %lang(fr) %{_mandir}/fr/man1/rgv* | |
1208 | %lang(id) %{_mandir}/id/man1/gvi* | |
1209 | %lang(id) %{_mandir}/id/man1/rgv* | |
4399a7e9 JB |
1210 | %lang(it) %{_mandir}/it/man1/gvi* |
1211 | %lang(it) %{_mandir}/it/man1/rgv* | |
9c95080e | 1212 | %lang(pl) %{_mandir}/pl/man1/gvi* |
1213 | %lang(pl) %{_mandir}/pl/man1/rgv* | |
4399a7e9 JB |
1214 | %lang(ru) %{_mandir}/ru/man1/gvi* |
1215 | %lang(ru) %{_mandir}/ru/man1/rgv* | |
eab7da3d | 1216 | %{_desktopdir}/gvim-gtk.desktop |
f22e9322 | 1217 | %endif |
1218 | ||
d6e63bbe | 1219 | %if %{with gnome} |
f22e9322 | 1220 | %files -n gvim-gnome |
1221 | %defattr(644,root,root,755) | |
c983f1ff | 1222 | %attr(755,root,root) %{_bindir}/gvim.gnome |
474e8862 | 1223 | %{_desktopdir}/gvim-gnome.desktop |
afe2d598 AF |
1224 | %endif |
1225 | ||
1226 | %if %{with bonobo} | |
1227 | %files -n gvim-bonobo | |
1228 | %defattr(644,root,root,755) | |
1229 | %attr(755,root,root) %{_bindir}/vim-component | |
1230 | %attr(755,root,root) %{_bindir}/vim-factory | |
1231 | %{_libdir}/bonobo/servers/* | |
f22e9322 | 1232 | %endif |