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