File e3.spec of Package e3
#
# spec file for package e3
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: e3
BuildRequires: nasm
Url: http://sites.google.com/site/e3editor/
Version: 2.8
Release: 0
Summary: Tiny Editor with Many Different Modes like Vi, Emacs, and Wordstar
License: GPL-2.0+
Group: Productivity/Editors/Other
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64
%description
A very tiny editor, which offers many different modes like Vi, Emacs,
and Wordstar. Wordstar is the default mode.
%prep
%setup
%build
make -e EXMODE=SED %{?_smp_mflags}
%install
make -e PREFIX=%buildroot/%_prefix MANDIR=$RPM_BUILD_ROOT%_mandir/man'$(MANSEC)' install
cd $RPM_BUILD_ROOT/usr/bin
for e in e3*; do if test $e != e3; then ln -sf e3 $e; fi; done
%files
%defattr(-,root,root)
%doc COPYING.GPL COPYRIGHT ChangeLog README
/usr/bin/e3*
%_mandir/man1/e3*.1.gz
%changelog