4 License: BSD-4-Clause-UC and BSD-4-Clause-Caldera
6 Summary: The Traditional Vi
8 Url: http://ex-vi.sourceforge.net/
10 Source: http://prdownloads.sourceforge.net/ex-vi/ex-%{version}.tar.bz2
14 BuildRequires: glibc-devel >= 2.2.2
15 BuildRequires: ncurses-devel
19 Compared to most of its many clones, the traditional vi is a rather small
20 program just with its extremely powerful editing interface, but lacking fancy
21 features like multiple undo, multiple screens, or syntax highlighting.
22 This port of vi has generally preserved the original style, terminal control,
23 and feature set. It adds support for international character sets, including
24 multibyte encodings such as UTF-8, and some minor enhancements that were not
25 present in BSD vi 3.7, but had been included in later vi versions for System V
29 %setup -q -n ex-%{version}
34 export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing"
35 export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}
42 rm -Rf %{buildroot}%{_mandir}
45 %defattr(-,root,root,-)
52 %{_libexecdir}/expreserve
53 %{_libexecdir}/exrecover