2007-01-15 23:34:37 +00:00
|
|
|
#
|
|
|
|
# spec file for package qemacs (Version 0.3.1)
|
|
|
|
#
|
2009-06-17 22:22:24 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:34:37 +00:00
|
|
|
#
|
2009-06-17 22:22:24 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:34:37 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-17 22:22:24 +00:00
|
|
|
|
2007-01-15 23:34:37 +00:00
|
|
|
Name: qemacs
|
|
|
|
BuildRequires: libpng-devel xorg-x11-devel
|
2011-12-06 17:58:30 +00:00
|
|
|
License: LGPL-2.1+
|
2007-01-15 23:34:37 +00:00
|
|
|
Group: Productivity/Editors/Other
|
2009-06-17 22:22:24 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:34:37 +00:00
|
|
|
Version: 0.3.1
|
2009-06-17 22:22:24 +00:00
|
|
|
Release: 380
|
|
|
|
Url: http://fabrice.bellard.free.fr/qemacs/
|
2007-01-15 23:34:37 +00:00
|
|
|
Source0: http://fabrice.bellard.free.fr/qemacs/qemacs-0.3.1.tar.bz2
|
|
|
|
Patch0: qemacs.patch
|
|
|
|
Patch1: qemacs-lib64.patch
|
|
|
|
Patch2: gcc4.patch
|
|
|
|
Patch3: includes.patch
|
|
|
|
Patch4: initcall.patch
|
|
|
|
Patch5: qemacs-libpng.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: Quick Emacs is a very small but powerful editor
|
|
|
|
|
|
|
|
%description
|
|
|
|
Full screen editor with an Emacs look and feel with all Emacs common
|
|
|
|
features: multi-buffer, multi-window, command mode, universal argument,
|
|
|
|
keyboard macros, config file with C like syntax, minibuffer with
|
|
|
|
completion and history.
|
|
|
|
|
|
|
|
Full UTF8 support, including bidirectional editing respecting the
|
|
|
|
Unicode bidi algorithm. Arabic and Indic scripts handling (in
|
|
|
|
progress).
|
|
|
|
|
|
|
|
WYSIWYG HTML/XML/CSS2 mode graphical editing. Also supports lynx like
|
|
|
|
rendering on VT100 terminals.
|
|
|
|
|
|
|
|
WYSIWYG DocBook mode based on XML/CSS2 renderer.
|
|
|
|
|
|
|
|
C mode: coloring with immediate update. Emacs like auto-indent.
|
|
|
|
|
|
|
|
Shell mode: colorized VT100 emulation so that your shell work exactly
|
|
|
|
as you expect. Compile mode with next/prev error.
|
|
|
|
|
|
|
|
Input methods for most languages, including Chinese (input methods come
|
|
|
|
from the Yudit editor).
|
|
|
|
|
|
|
|
Hexadecimal editing mode with insertion and block commands. Unicode
|
|
|
|
hexa editing of UTF8 files also supported.
|
|
|
|
|
|
|
|
X11 support. Support multiple proportional fonts at the same time (as
|
|
|
|
XEmacs). X Input methods supported. Xft extension supported for anti
|
|
|
|
aliased font display.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Fabrice Bellard <fabrice.bellard@free.fr>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1 -b .lib64
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3
|
|
|
|
%patch4
|
|
|
|
%patch5
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
%{_target_platform}
|
|
|
|
make STRIP=:
|
|
|
|
|
|
|
|
%install
|
|
|
|
make -e DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
chmod 644 $RPM_BUILD_ROOT/%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING Changelog README TODO qe-doc.html config.eg
|
|
|
|
%doc tests/
|
|
|
|
/usr/bin/*
|
|
|
|
/usr/share/qe/
|
|
|
|
%doc %{_mandir}/man1/*
|
|
|
|
|
2009-06-17 22:22:24 +00:00
|
|
|
%changelog
|
|
|
|
* Thu Jun 29 2006 nadvornik@suse.cz
|
2007-01-15 23:34:37 +00:00
|
|
|
- don't use deprecated libpng functions
|
2009-06-17 22:22:24 +00:00
|
|
|
* Mon May 29 2006 schwab@suse.de
|
2007-01-15 23:34:37 +00:00
|
|
|
- Don't strip binaries.
|
2009-06-17 22:22:24 +00:00
|
|
|
* Wed May 24 2006 schwab@suse.de
|
2007-01-15 23:34:37 +00:00
|
|
|
- Use RPM_OPT_FLAGS.
|
|
|
|
- Don't strip binaries.
|
2009-06-17 22:22:24 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:34:37 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-17 22:22:24 +00:00
|
|
|
* Tue Nov 08 2005 dmueller@suse.de
|
2007-01-15 23:34:37 +00:00
|
|
|
- don't build as root
|
2009-06-17 22:22:24 +00:00
|
|
|
* Thu Sep 08 2005 mfabian@suse.de
|
2007-01-15 23:34:37 +00:00
|
|
|
- Bugzilla #114849: man pages should not have executable
|
|
|
|
permissions.
|
2009-06-17 22:22:24 +00:00
|
|
|
* Tue Apr 12 2005 mfabian@suse.de
|
2007-01-15 23:34:37 +00:00
|
|
|
- fix to build with gcc 4.
|
2009-06-17 22:22:24 +00:00
|
|
|
* Fri May 02 2003 mfabian@suse.de
|
2007-01-15 23:34:37 +00:00
|
|
|
- new package: qemacs-0.3.1
|
|
|
|
- add DESTDIR support to Makefile
|
|
|
|
- add a qemacs man page as a .so link to the qe man page
|
|
|
|
- avoid crash when ~/.qe/config contains errors, print error to
|
|
|
|
stdout instead of to the qemacs screen which doesn't yet exist.
|
|
|
|
when reading ~/.qe/config.
|
|
|
|
- move welcome message after the do_refresh() to make it actually
|
|
|
|
visible.
|