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