1 Summary: Vim built with ncurses
2 Summary(pl): Vim korzystaj±cy z bibliotek ncurses
6 Source0: ftp://ftp.nl.vim.org/pub/vim/unreleased/unix/%{name}-%{version}-src.tar.gz
7 Source1: ftp://ftp.nl.vim.org/pub/vim/unreleased/unix/%{name}-%{version}-rt.tar.gz
8 Source2: ftp://ftp.nl.vim.org/pub/vim/unreleased/extra/%{name}-%{version}-extra.tar.gz
11 Group: Applications/Editors/Vim
12 Group(pl): Aplikacje/Edytory/Vim
13 URL: http://www.vim.org/
14 BuildPrereq: ncurses-static
15 BuildPrereq: lesstif-devel
16 BuildPrereq: gtk+-devel
17 BuildPrereq: glib-devel
18 BuildPrereq: gpm-devel
20 Obsoletes: vim-lesstif
22 Obsoletes: vim-ncurses
23 Buildroot: /tmp/%{name}-%{version}-root
26 The classic Unix text editor build with ncurses library. It adds
27 multiple windows, multi-level undo, block highliting, and many other
28 features to the standard vi program.
31 Wersja edytora vim skompilowana z bibliotek± ncurses. W porownaniu z
32 edytorem vi, ta wersja oferuje dodatkowo pracê z wieloma plikami,
33 wielopoziomowe operacje cofnij, bloki, pod¶wietlanie sk³adni i wiele
37 Summary: Vim runtime files
38 Summary(pl): Pliki przydatne edytorowi vim
39 Group: Applications/Editors/Vim
40 Group(pl): Aplikacje/Edytory/Vim
43 This package contains macros, documentation, syntax configuration and
44 manual pages for vim. If you want to take advantage of vim more powerful
45 features, you should install this package.
48 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i strony
49 podrêcznika edytora vim. Je¿eli zamierzasz korzystaæ z vim-a, powiniene¶
50 zainstalowaæ ten pakiet.
54 Summary(pl): Vim skompilowany statycznie
55 Group: Applications/Editors/Vim
56 Group(pl): Aplikacje/Edytory/Vim
59 Requires: ncurses >= 4.2-12
62 The classic Unix text editor. This version is build with minimal
63 feature and is installed in /bin as a rescue tool. The installation of
64 this package is STRONGLY recommended.
66 %description static -l pl
67 Pakiet zawiera vim - klasyczny (unixowy) edytor tekstowy skompilowany
68 statycznie. Instalacja tego pakietu jest MOCNO zalecana, mo¿e on pomóc
69 Tobie uratowaæ system w czasie awarii.
72 Summary: Vim built with X11 and athena support
73 Summary(pl): Vim pod X-Window korzystaj±cy z Athena Widget Set
74 Group: Applications/Editors/Vim
75 Group(pl): Aplikacje/Edytory/Vim
76 Requires: %{name}-rt = %{version}
77 Obsoletes: vim-lesstif
79 Obsoletes: vim-ncurses
83 The classic Unix text editor now also under X Window System!
84 This version is build with Athena Widget Set.
86 %description athena -l pl
87 Wersja edytora vim pracuj±ca w graficznym ¶rodowisku X Window
88 z wykorzystaniem Athena Widget Set.
91 Summary: Vim built with X11 and LessTif support
92 Summary(pl): Vim pod X-Window korzystaj±cy z bibliotek LessTif
93 Group: Applications/Editors/Vim
94 Group(pl): Aplikacje/Edytory/Vim
95 Requires: %{name}-rt = %{version}
98 Obsoletes: vim-ncurses
102 The classic Unix text editor now also under X Window System!
103 This version is build with LessTif.
105 %description lesstif -l pl
106 Wersja edytora vim pracuj±ca w graficznym ¶rodowisku X Window
107 z wykorzystaniem LessTif.
110 Summary: Vim built with X11 and gtk support
111 Summary(pl): Vim pod X-Window korzystaj±cy z bibliotek gtk
112 Group: Applications/Editors/Vim
113 Group(pl): Aplikacje/Edytory/Vim
114 Requires: %{name}-rt = %{version}
115 Obsoletes: vim-athena
116 Obsoletes: vim-lesstif
117 Obsoletes: vim-ncurses
121 The classic Unix text editor now also under X Window System!
122 This version is build with gtk.
124 %description gtk -l pl
125 Wersja edytora vim pracuj±ca w graficznym ¶rodowisku X Window
126 z wykorzystaniem gtk.
134 LDFLAGS="-static -s"; export LDFLAGS
138 --disable-perlinterp \
139 --disable-pythoninterp \
140 --disable-tclinterp \
143 --enable-min-features \
149 mv xxd/xxd xxd.static
152 LDFLAGS="-static -s"; export LDFLAGS
154 --enable-max-features \
157 --disable-perlinterp \
158 --disable-pythoninterp \
159 --disable-tclinterp \
167 LDFLAGS="-static -s"; export LDFLAGS
169 --enable-max-features \
170 --enable-gui=athena \
172 --disable-perlinterp \
173 --disable-pythoninterp \
174 --disable-tclinterp \
182 LDFLAGS="-static -s"; export LDFLAGS
184 --enable-max-features \
187 --disable-perlinterp \
188 --disable-pythoninterp \
189 --disable-tclinterp \
197 LDFLAGS="-static -s"; export LDFLAGS
199 --enable-max-features \
202 --disable-perlinterp \
203 --disable-pythoninterp \
204 --disable-tclinterp \
214 rm -rf $RPM_BUILD_ROOT
216 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
217 install -d $RPM_BUILD_ROOT/bin
218 install -d $RPM_BUILD_ROOT/usr/{bin,X11R6/bin,share/vim/{doc,tutor},man/man1}
220 # make prefix=$RPM_BUILD_ROOT/usr install
222 install -s src/vim.static $RPM_BUILD_ROOT/bin/vi
223 install -s src/xxd.static $RPM_BUILD_ROOT/bin/xxd
225 install -s src/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim.ncurses
226 install -s src/vim.athena $RPM_BUILD_ROOT/usr/X11R6/bin/gvim.athena
227 install -s src/vim.lesstif $RPM_BUILD_ROOT/usr/X11R6/bin/gvim.lesstif
228 install -s src/vim.gtk $RPM_BUILD_ROOT/usr/X11R6/bin/gvim.gtk
230 install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
232 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
234 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
235 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
236 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
237 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
239 echo ".so vi.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
240 echo ".so vi.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
241 echo ".so vi.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
243 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gvim.1
244 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gview.1
245 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
246 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rgvim.1
247 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rgview.1
249 cp -a runtime/macros $RPM_BUILD_ROOT%{_datadir}/vim/macros
250 cp -a runtime/syntax $RPM_BUILD_ROOT%{_datadir}/vim/syntax
251 cp -a runtime/tutor/tutor $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor
253 install runtime/*.vim $RPM_BUILD_ROOT%{_datadir}/vim
254 install runtime/vimrc_example.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimrc
255 install %{SOURCE3} $RPM_BUILD_ROOT/etc/X11/wmconfig/gvim
257 touch $RPM_BUILD_ROOT%{_bindir}/vim $RPM_BUILD_ROOT/usr/X11R6/bin/gvim
259 install runtime/doc/*.txt $RPM_BUILD_ROOT%{_datadir}/vim/doc
260 install runtime/doc/tags $RPM_BUILD_ROOT%{_datadir}/vim/doc
262 ln -sf vi $RPM_BUILD_ROOT/bin/ex
263 ln -sf vi $RPM_BUILD_ROOT/bin/view
264 ln -sf vi $RPM_BUILD_ROOT/bin/rview
265 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vi
267 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
269 ln -sf gvim $RPM_BUILD_ROOT/usr/X11R6/bin/rgvim
270 ln -sf gvim $RPM_BUILD_ROOT/usr/X11R6/bin/gview
271 ln -sf gvim $RPM_BUILD_ROOT/usr/X11R6/bin/rgview
273 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
276 rm -rf $RPM_BUILD_ROOT
279 ln -sf %{_bindir}/vim.ncurses /usr/bin/vim
282 ln -sf /usr/X11R6/bin/gvim.athena /usr/X11R6/bin/gvim
283 ln -sf /usr/X11R6/bin/gvim %{_bindir}/vim
286 ln -sf /usr/X11R6/bin/gvim.lesstif /usr/X11R6/bin/gvim
287 ln -sf /usr/X11R6/bin/gvim %{_bindir}/vim
290 ln -sf /usr/X11R6/bin/gvim.gtk /usr/X11R6/bin/gvim
291 ln -sf /usr/X11R6/bin/gvim %{_bindir}/vim
294 %defattr(644,root,root,755)
295 %attr(755,root,root) %{_bindir}/vim.ncurses
296 %attr(755,root,root) %{_bindir}/rvim
297 %attr(755,root,root) %ghost %{_bindir}/vim
300 %defattr(644,root,root,755)
301 %attr(755,root,root) /bin/*
302 %attr(755,root,root) %{_bindir}/vi
303 %{_mandir}/man1/vi.1*
304 %{_mandir}/man1/ex.1*
305 %{_mandir}/man1/xxd.1*
306 %{_mandir}/man1/view.1*
307 %{_mandir}/man1/rview.1*
310 %defattr(644,root,root,755)
311 %attr(755,root,root) /usr/X11R6/bin/gvim.athena
312 %attr(755,root,root) /usr/X11R6/bin/rgvim
313 %attr(755,root,root) /usr/X11R6/bin/rgview
314 /etc/X11/wmconfig/gvim
315 %attr(755,root,root) %ghost /usr/X11R6/bin/gvim
316 %attr(755,root,root) %ghost %{_bindir}/vim
319 %defattr(644,root,root,755)
320 %attr(755,root,root) /usr/X11R6/bin/gvim.lesstif
321 %attr(755,root,root) /usr/X11R6/bin/rgvim
322 %attr(755,root,root) /usr/X11R6/bin/rgview
323 /etc/X11/wmconfig/gvim
324 %attr(755,root,root) %ghost /usr/X11R6/bin/gvim
325 %attr(755,root,root) %ghost %{_bindir}/vim
328 %defattr(644,root,root,755)
329 %attr(755,root,root) /usr/X11R6/bin/gvim.gtk
330 %attr(755,root,root) /usr/X11R6/bin/rgvim
331 %attr(755,root,root) /usr/X11R6/bin/rgview
332 /etc/X11/wmconfig/gvim
333 %attr(755,root,root) %ghost /usr/X11R6/bin/gvim
334 %attr(755,root,root) %ghost %{_bindir}/vim
337 %defattr(644,root,root,755)
339 %attr(755,root,root) %{_bindir}/vimtutor
344 %{_datadir}/vim/macros
346 %dir %{_datadir}/vim/syntax
347 %{_datadir}/vim/syntax/*.vim
349 %{_datadir}/vim/tutor
350 %{_datadir}/vim/bugreport.vim
351 %{_datadir}/vim/filetype.vim
352 %{_datadir}/vim/scripts.vim
353 %{_datadir}/vim/mswin.vim
354 %{_datadir}/vim/ftoff.vim
357 %config %verify(not size mtime md5) %{_datadir}/vim/menu.vim
358 %config %verify(not size mtime md5) %{_datadir}/vim/vimrc
361 * Wed Apr 21 1999 Artur Frysiak <wiget@pld.org.pl>
365 * Fri Mar 12 1999 Artur Frysiak <wiget@pld.org.pl>
367 - removed vim-hold_gui_events.patch and vim-CMDLINE_COMPL.patch
368 - removed Requires: lesstif gtk+
369 - added --enable-gpm to configure
371 * Tue Feb 23 1999 Artur Frysiak <wiget@usa.net>
373 - removed vim-clip.patch (now in 5.4e)
374 - added vim-CMDLINE_COMPL.patch (allow compile with --enable-min-features)
375 - added %%defattr macro to all subpackages
377 * Thu Feb 04 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
379 - symlink %{_bindir}/vi -> /bin/vi
380 - doc package moved to %{_datadir}/vim/doc (crazy cpio .. ;)
382 * Tue Feb 2 1999 Artur Frysiak <wiget@usa.net>
385 - now %{_datadir}/vim/doc is symlink to /usr/doc/%{name}-rt-%{version}
386 - added missingok option to wmconfig files
388 * Wed Jan 13 1999 Artur Frysiak <wiget@usa.net>
391 - added gtk subpackage
392 - using %%{version} makro in Summary tags
393 - some chenges in %%build section
394 - changed Group to Applications/Editors/Vim
396 * Sun Dec 27 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
398 - fixed some errors in rt subpackage.
399 by Ziemek Borowski <ziembor@mail.ceu.edu.pl>
400 - fixed etcdir in vim-static subpackage.
402 * Thu Nov 12 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
404 - added %{_datadir}/vim/doc/{help.txt,tags} to rt subpackage (was missing)
406 * Sun Oct 04 1998 Marcin Korzonek <mkorz@shadow.eu.org>
408 - completely rewritten spec, added 4 subpackages
410 * Thu Aug 13 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
412 - build against glibc-2.1,
413 - translation modified for pl,
414 - added build-root support,
416 - fixed permissions fo ELF binaries.