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