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