1 Summary: Elvis is a clone of vi/ex
2 Summary(pl): Elvis jest klonem edytora vi
6 License: Artistic License
7 Group: Applications/Editors
8 Source0: ftp://ftp.cs.pdx.edu/pub/elvis/unreleased/%{name}-%{version}.tar.gz
9 BuildRequires: ORBit-devel
10 BuildRequires: XFree86-devel
11 BuildRequires: ncurses-devel >= 5.0
12 BuildRequires: ncurses-static
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _libdir %{_datadir}
19 Elvis is one of the most popular Vi clones. Its swift, well
20 documented and has many features.
23 Elvis to jeden z popularniejszych klonów edytora vi. Jest szybki,
24 posiada bogate mo¿liwo¶ci i bardzo dobr± dokumentacjê.
28 Summary(pl): elvis skompilowany statycznie
29 Group: Applications/Editors
34 The classic unix /bin/vi - small, static compiled editor which is
35 useful as a rescue tool.
37 %description static -l pl
38 Klasyczny unixowy /bin/vi - ma³y, skompilowany statycznie edytor,
39 który przydaje siê przy awarii systemu.
45 CC="%{__cc} %{rpmcflags}"; export CC
46 LDFLAGS="-static %{rpmldflags}"
49 --datadir=%{_datadir}/elvis
51 %{__make} LIBS="-ltinfo"
52 mv -f elvis elvis.static
56 LDFLAGS="%{rpmldflags}"
59 --datadir=%{_datadir}/elvis
61 %{__make} LIBS="-ltinfo -lX11 -L/usr/X11R6/lib"
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT/{bin,%{_bindir},%{_mandir}/man1,%{_datadir}/elvis}
67 install elvis ref $RPM_BUILD_ROOT%{_bindir}
68 install elvis.static $RPM_BUILD_ROOT/bin/vi
69 install lib/*.man $RPM_BUILD_ROOT%{_mandir}/man1
73 install lib/* $RPM_BUILD_ROOT%{_libdir}/elvis
75 gzip -9nf license BUGS
78 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/elvis
84 %attr(755,root,root) %{_bindir}/ref
89 %defattr(644,root,root,755)
90 %attr(755,root,root) /bin/vi