forked from mbert/elvis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
elvis.spec.in
52 lines (43 loc) · 1.13 KB
/
elvis.spec.in
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
%define name elvis
%define version VERSION
%define release 1
%define serial 1
%define prefix /usr
Summary: Elvis text editor
Name: %{name}
Version: %{version}
Release: %{release}
Serial: %{serial}
Copyright: Artistic
Group: Applications/Editors
Vendor: Steve Kirkendall <[email protected]>
Url: http://elvis.vi-editor.org/
Source: %{name}-%{version}.tar.gz
#BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Elvis is a text editor, compatible with vi. It has all the usual
extensions (multiple buffers, multiple windows, syntax coloring,
etc.) plus a variety of display modes including "html" and "man".
%prep
%setup -q
%build
export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS";
./configure --prefix=%{prefix}
make
%install
make install
%clean
%files
%defattr(-, root, root)
%doc COPYING README.html
%{prefix}/bin/elvis
%{prefix}/bin/elvtags
%{prefix}/bin/elvfmt
%{prefix}/bin/ref
MANDIR/elvis.1.gz
MANDIR/elvtags.1.gz
MANDIR/elvfmt.1.gz
MANDIR/ref.1.gz
%{prefix}/share/elvis/
%dir /etc/elvis
/etc/elvis/README