summaryrefslogtreecommitdiff
path: root/packaging/ed.spec
blob: fcc5db66e4ac6ab37495e5a617722c567a921151 (plain)
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
Name:           ed
Version:        1.17
Release:        1
License:        GPL-3.0+
Summary:        Standard UNIX Line Editor
Url:            http://www.gnu.org/software/ed/
Group:          Productivity/Editors/Other
Source:         %{name}-%{version}.tar.gz
Source1001: 	ed.manifest

%description
The standard, old Unix line editor.

%prep
%setup -q
cp %{SOURCE1001} .

%build
export CFLAGS+=" -fPIC"
export LDFLAGS+=" -pie"
%{configure} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
%{make_build}

# %check
# make check

%install
%{makeinstall}
%{remove_docs}

%files
%manifest %{name}.manifest
%license COPYING
%{_bindir}/%{name}
%{_bindir}/r%{name}