-
Notifications
You must be signed in to change notification settings - Fork 0
/
qemacs.spec
65 lines (54 loc) · 1.89 KB
/
qemacs.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%define name qemacs
%define version 0.3pre3
%define release 1
Summary: qemacs (qe) - a small editor with some special features
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://fabrice.bellard.free.fr/qemacs/%{name}-%{version}.tar.gz
#Patch0: qemacs-0.2-makefile.patch
Copyright: LGPL
Group: Editors
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
URL: http://fabrice.bellard.free.fr/qemacs/
# for the character maps:
#BuildRequires: yudit
Provides: qe
%description
QEmacs is an terminal-based text editor (with Emacs look&feel) with a small
size and some unique features:
* Full screen editor with an Emacs compatible key subset (including undo and
incremental search) and emacs look and feel.
* Can edit huge files (e.g. 100MBytes) without being slow by using a highly
optimized internal representation and by mmaping the file.
* Full UTF8 support, including double width chars such as ideograms, provided
you have an UTF8 VT100 emulator such as a recent xterm.
* Bidirectional editing conforming to the Unicode Bidir algorithm (for Hebrew or
Arabic).
* Can optionally contain input methods from the Yudit editor for most
languages, including Chinese CJ, Hebrew and Arabic.
* Hexadecimal editing mode with insertion and block commands. Can edit binary
files as well as text files.
%prep
%setup -n %{name}
%patch0 -p0 -b .tzafrir
%build
#./configure --prefix=%{prefix}
make PREFIX=%{prefix} CFLAGS="$RPM_OPT_FLAGS"
%install
install -d $RPM_BUILD_ROOT%{prefix}/bin
make prefix=$RPM_BUILD_ROOT%{prefix} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CHANGES COPYING README TODO
%{_prefix}/bin/qe
%{_prefix}/share/qe/kmaps
%{_prefix}/share/qe/ligatures
%{_prefix}/man/man1/qe.1
%changelog
* Wed May 30 2001 Tzafrir Cohen <tzafrir@technion.ac.il> 0.2-1
- initial spec file. Added patch that also includes all of yudit's maps
# end of file