1 | #define svn_url e:/trees/less/trunk
|
---|
2 | %define svn_url http://svn.netlabs.org/repos/ports/less/trunk
|
---|
3 | %define svn_rev 1763
|
---|
4 |
|
---|
5 | Summary: A text file browser similar to more, but better
|
---|
6 | Name: less
|
---|
7 | Version: 530
|
---|
8 | Release: 1%{?dist}
|
---|
9 | License: GPLv3+ or BSD
|
---|
10 | Group: Applications/Text
|
---|
11 | URL: http://www.greenwoodsoftware.com/less/
|
---|
12 | Vendor: bww bitwise works GmbH
|
---|
13 | %scm_source github http://github.com/bitwiseworks/%{name}-os2 %{version}-os2
|
---|
14 |
|
---|
15 | BuildRequires: ncurses-devel
|
---|
16 | BuildRequires: autoconf automake libtool
|
---|
17 |
|
---|
18 |
|
---|
19 | %description
|
---|
20 | The less utility is a text file browser that resembles more, but has
|
---|
21 | more capabilities. Less allows you to move backwards in the file as
|
---|
22 | well as forwards. Since less doesn't have to read the entire input file
|
---|
23 | before it starts, less starts up more quickly than text editors (for
|
---|
24 | example, vi).
|
---|
25 |
|
---|
26 | You should install less because it is a basic utility for viewing text
|
---|
27 | files, and you'll use it frequently.
|
---|
28 |
|
---|
29 |
|
---|
30 | %debug_package
|
---|
31 |
|
---|
32 |
|
---|
33 | %prep
|
---|
34 | %scm_setup
|
---|
35 |
|
---|
36 |
|
---|
37 | %build
|
---|
38 | autoreconf -fiv
|
---|
39 | export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
|
---|
40 | export LIBS="-lcx"
|
---|
41 | %configure
|
---|
42 |
|
---|
43 | make %{?_smp_mflags}
|
---|
44 |
|
---|
45 |
|
---|
46 | %install
|
---|
47 | make install DESTDIR=$RPM_BUILD_ROOT
|
---|
48 |
|
---|
49 |
|
---|
50 | %files
|
---|
51 | %doc README NEWS INSTALL
|
---|
52 | %license LICENSE COPYING
|
---|
53 | %{_bindir}/*.exe
|
---|
54 | %{_mandir}/man1/*
|
---|
55 |
|
---|
56 |
|
---|
57 | %changelog
|
---|
58 | * Fri May 17 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> - 530-1
|
---|
59 | - update source to version 530
|
---|
60 | - move source to github
|
---|
61 |
|
---|
62 | * Fri Oct 21 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> - 481-3
|
---|
63 | - fix to the below bring more keys to work
|
---|
64 | - enable ctrl-c by default
|
---|
65 | - workaround ticket 124
|
---|
66 |
|
---|
67 | * Wed Oct 19 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> - 481-2
|
---|
68 | - bring more keys to work
|
---|
69 | - fix a charset issue
|
---|
70 |
|
---|
71 | * Thu Oct 13 2016 Herwig Bauernfeind <herwig.bauernfeind@bitwiseworks.com> - 481-1
|
---|
72 | - initial build
|
---|