2 BuildRequires: automake
3 BuildRequires: openssl-devel
4 BuildRequires: pkgconfig
5 Url: http://artax.karlin.mff.cuni.cz/~mikulas/links/
9 Summary: Text-Based WWW Browser
11 Group: Productivity/Networking/Web/Browsers
12 Source: links-%{version}.tar.bz2
13 Source1001: links.manifest
16 Links is like Lynx--an easy-to-use browser for HTML documents and other
17 Internet services, like FTP, telnet, and news. Links provides a
18 graphical interface besides the text interface. It has good support for
19 frames, supports ssl, and has a little bit of JavaScript support.
23 %setup -q -n links-%{version}
28 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe"
29 %configure --with-ssl --with-pic
33 mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man1,usr/bin,%{_infodir}}
34 cp links.1 $RPM_BUILD_ROOT/%{_mandir}/man1
35 make install DESTDIR=$RPM_BUILD_ROOT
37 make EXTRAA="-DSHOW_COLOR=TRUE"
38 install links $RPM_BUILD_ROOT/usr/bin/links
41 %manifest %{name}.manifest
45 %doc %{_mandir}/man1/links.1.gz