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