Bump to 608
[platform/upstream/less.git] / packaging / less.spec
1 Name:           less
2 Version:        608
3 Release:        0
4 License:        GPL-3.0+
5 Summary:        A text file browser similar to more, but better
6 Url:            http://www.greenwoodsoftware.com/less/
7 Group:          System/Utilities
8 Source0:        http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
9 Source1001:     %{name}.manifest
10 BuildRequires:  pkgconfig(ncurses)
11
12 %description
13 The less utility is a text file browser that resembles more, but has
14 more capabilities.  Less allows you to move backwards in the file as
15 well as forwards.  Since less doesn't have to read the entire input file
16 before it starts, less starts up more quickly than text editors (for
17 example, vi).
18
19 You should install less because it is a basic utility for viewing text
20 files, and you'll use it frequently.
21
22 %prep
23 %setup -q
24 cp %{SOURCE1001} .
25
26 %build
27 export CFLAGS+=" -fPIC "
28 export CXXFLAGS+=" -fPIC "
29 export LDFLAGS+=" -pie "
30 %configure 
31 make %{?_smp_mflags}
32
33 %install
34 %make_install
35
36 %docs_package
37
38 %files
39 %manifest %{name}.manifest
40 %license LICENSE
41 %{_bindir}/*