blob: 50ce13104ae33a9790589e3f44cad80f159682f0 (
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
37
38
39
40
41
42
43
44
45
46
47
|
Name: links
BuildRequires: automake
BuildRequires: openssl-devel
BuildRequires: pkgconfig
Url: http://artax.karlin.mff.cuni.cz/~mikulas/links/
Provides: web_browser
Version: 2.6
Release: 0
Summary: Text-Based WWW Browser
License: GPL-2.0+
Group: Productivity/Networking/Web/Browsers
Source: links-%{version}.tar.bz2
Source1001: links.manifest
%description
Links is like Lynx--an easy-to-use browser for HTML documents and other
Internet services, like FTP, telnet, and news. Links provides a
graphical interface besides the text interface. It has good support for
frames, supports ssl, and has a little bit of JavaScript support.
%prep
%setup -q -n links-%{version}
cp %{SOURCE1001} .
%build
autoreconf -ifv
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe"
%configure --with-ssl --with-pic
make
%install
mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man1,usr/bin,%{_infodir}}
cp links.1 $RPM_BUILD_ROOT/%{_mandir}/man1
make install DESTDIR=$RPM_BUILD_ROOT
make clean
make EXTRAA="-DSHOW_COLOR=TRUE"
install links $RPM_BUILD_ROOT/usr/bin/links
%files
%manifest %{name}.manifest
%license COPYING
%defattr(-,root,root)
/usr/bin/links
%doc %{_mandir}/man1/links.1.gz
%changelog
|