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
15 Links is like Lynx--an easy-to-use browser for HTML documents and other
16 Internet services, like FTP, telnet, and news. Links provides a
17 graphical interface besides the text interface. It has good support for
18 frames, supports ssl, and has a little bit of JavaScript support.
22 %setup -q -n links-%{version}
26 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe"
27 %configure --with-ssl --with-pic
31 mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man1,usr/bin,%{_infodir}}
32 cp links.1 $RPM_BUILD_ROOT/%{_mandir}/man1
33 make install DESTDIR=$RPM_BUILD_ROOT
35 make EXTRAA="-DSHOW_COLOR=TRUE"
36 install links $RPM_BUILD_ROOT/usr/bin/links
42 %doc %{_mandir}/man1/links.1.gz