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