%define Name e3 %define Version 2.7.0 %define Prefix /usr/local Name: e3 Version: 2.7.0 Release: 1 Group: System/Utilities Summary: e3 is tiny wordstar/emacs/pico/vi/nedit alike editor, well suited for rescue disks. Copyright: GPL Packager : Urs Rau #Conflicts: #Buildroot: /tmp/%{Name}-%{Version} Provides: editor e3 e3-2.7.0 Source: %{Name}-%{Version}.tar.gz %Description e3 is teeny tiny editor that doesn't depend on any libs. e3 uses subset of wordstar|emacs|pico|vi|nedit commands. Author: Albrecht Kleine %Prep %setup -q -n %{Name}-%{Version} %Build make %Install rm -rf $RPM_BUILD_ROOT make PREFIX="$RPM_BUILD_ROOT/usr/local" install %Clean rm -rf $RPM_BUILD_ROOT %Files %defattr(-,root,root) %{Prefix}/bin/e3 %{Prefix}/man/man1/e3.1