File e3.spec of Package e3
#
# spec file for package e3 (Version 2.6.3)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: e3
BuildRequires: nasm
Url: http://www.sax.de/~adlibit/
Version: 2.6.3
Release: 140
Summary: Tiny Editor with Many Different Modes like Vi, Emacs, and Wordstar
License: GPL v2 or later
Source: %{name}-%{version}.tar.bz2
Patch: e3-2.6.0-gcc4.patch
Group: Productivity/Editors/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A very tiny editor, which offers many different modes like Vi, Emacs,
and Wordstar. Wordstar is the default mode.
Authors:
--------
Albrecht Kleine <kleine@ak.sax.de>
%prep
%setup
%patch -p1
%build
%ifnarch %ix86
cd e3c
rm -f Makefile
ln -sf Makefile.x86 Makefile
make -e CFLAGS="-Wall $RPM_OPT_FLAGS" PREFIX="/usr"
%else
make -e COMPRESS=
%endif
%install
rm -rf $RPM_BUILD_ROOT
%ifnarch %ix86
cd e3c
%endif
make -e PREFIX=$RPM_BUILD_ROOT/usr 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
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING.GPL COPYRIGHT ChangeLog README
/usr/bin/e3*
%_mandir/man1/e3*.1.gz
%ifnarch %ix86
/usr/lib/e3*
%endif
%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 22 2006 cthiel@suse.de
- update to version 2.6.3
* Fri Apr 29 2005 yxu@suse.de
- fixed for GCC4
* Thu Apr 28 2005 snbarth@suse.de
- update to version 2.6.2
* Mon Jul 19 2004 snbarth@suse.de
- update to version 2.6.0 which now support UTF-8. Fixes bug #41084
* Sun Feb 29 2004 ro@suse.de
- fix build for non-x86
* Fri Feb 27 2004 snbarth@suse.de
- disabled the gzexe feature
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Wed Jul 23 2003 coolo@suse.de
- use BuildRoot
* Fri Jul 05 2002 kukuk@suse.de
- Use %%ix86 macro
* Mon Dec 17 2001 snbarth@suse.de
- update -> 1.9
* Tue Jul 10 2001 uli@suse.de
- was building i386 binary on non-IA32 archs, fixed
- update -> 1.7
* Tue Jul 03 2001 snbarth@suse.de
- initial version