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