Summary: VILE VI Like Emacs editor # $Header: /usr/build/vile/vile/RCS/vile-9.5.spec,v 1.1 2005/07/24 20:27:49 tom Exp $ Name: vile Version: 9.5 # each patch should update the version Release: 1 Copyright: GPL Group: Applications/Editors URL: ftp://invisible-island.net/vile Source0: vile-9.5.tgz # each patch should add itself to this list Packager: Thomas Dickey BuildRoot: %{_tmppath}/%{name}-root %description Vile is a text editor which is extremely compatible with vi in terms of "finger feel". In addition, it has extended capabilities in many areas, notably multi-file editing and viewing, syntax highlighting, key rebinding, and real X window system support. %prep %setup -q -n vile-9.5 # each patch should add itself to this list %build EXTRA_CFLAGS="$RPM_OPT_FLAGS" INSTALL_PROGRAM='${INSTALL} -s' ./configure --target %{_target_platform} --prefix=%{_prefix} --with-locale --with-builtin-filters --with-screen=x11 --with-xpm make xvile EXTRA_CFLAGS="$RPM_OPT_FLAGS" INSTALL_PROGRAM='${INSTALL} -s' ./configure --target %{_target_platform} --prefix=%{_prefix} --with-locale --with-builtin-filters --with-screen=ncurses --mandir=%{_mandir} touch x11.o menu.o make touch xvile %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make install prefix=$RPM_BUILD_ROOT/%{_prefix} make TARGET=xvile install-xvile prefix=$RPM_BUILD_ROOT/%{_prefix}/X11R6 strip $RPM_BUILD_ROOT/%{_prefix}/X11R6/bin/xvile strip $RPM_BUILD_ROOT/%{_bindir}/vile strip $RPM_BUILD_ROOT/%{_libdir}/vile/vile-*filt ./mkdirs.sh $RPM_BUILD_ROOT/%{_prefix}/X11R6/man/man1 install -m 644 vile.1 $RPM_BUILD_ROOT/%{_prefix}/X11R6/man/man1/xvile.1 ./mkdirs.sh $RPM_BUILD_ROOT/%{_mandir}/man1 install -m 644 vile.1 $RPM_BUILD_ROOT/%{_mandir}/man1/vile.1 ./mkdirs.sh $RPM_BUILD_ROOT/%{_sysconfdir}/X11/wmconfig install vile.wmconfig $RPM_BUILD_ROOT/%{_sysconfdir}/X11/wmconfig/vile install xvile.wmconfig $RPM_BUILD_ROOT/%{_sysconfdir}/X11/wmconfig/xvile %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CHANGES* %doc COPYING INSTALL MANIFEST README* %doc doc/* %doc macros %config(missingok) %{_sysconfdir}/X11/wmconfig/vile %config(missingok) %{_sysconfdir}/X11/wmconfig/xvile %{_prefix}/X11R6/bin/xvile %{_prefix}/X11R6/bin/vile-pager %{_prefix}/X11R6/man/man1/xvile.* %{_prefix}/X11R6/share/vile %{_bindir}/vile %{_bindir}/vile-pager %{_mandir}/man1/vile.* %{_datadir}/vile/ %{_libdir}/vile/ %changelog # each patch should add its ChangeLog entries here * Sun Jul 24 2005 Thomas Dickey - 9.5 release