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