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