Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 53 lines (43 sloc) 1.155 kb
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
1 %define name elvis
2 %define version VERSION
3 %define release 1
4 %define serial 1
5 %define prefix /usr
6
7 Summary: Elvis text editor
8 Name: %{name}
9 Version: %{version}
10 Release: %{release}
11 Serial: %{serial}
12 Copyright: Artistic
13 Group: Applications/Editors
14 Vendor: Steve Kirkendall <kirkenda@cs.pdx.edu>
15 Url: http://elvis.vi-editor.org/
16 Source: %{name}-%{version}.tar.gz
17 #BuildRoot: %{_tmppath}/%{name}-%{version}-root
18
19 %description
20 Elvis is a text editor, compatible with vi. It has all the usual
21 extensions (multiple buffers, multiple windows, syntax coloring,
22 etc.) plus a variety of display modes including "html" and "man".
23
24
25 %prep
26 %setup -q
27
28 %build
29 export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS";
30
31 ./configure --prefix=%{prefix}
32 make
33
34 %install
35 make install
36
37 %clean
38
39 %files
40 %defattr(-, root, root)
41 %doc COPYING README.html
42 %{prefix}/bin/elvis
43 %{prefix}/bin/elvtags
44 %{prefix}/bin/elvfmt
45 %{prefix}/bin/ref
46 MANDIR/elvis.1.gz
47 MANDIR/elvtags.1.gz
48 MANDIR/elvfmt.1.gz
49 MANDIR/ref.1.gz
50 %{prefix}/share/elvis/
51 %dir /etc/elvis
52 /etc/elvis/README
Something went wrong with that request. Please try again.