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