%bcond_without 256 # Disable 256 colors support
%bcond_without bittorrent # Disable BitTorrent support
%bcond_without cgi # Disable Local CGI support
+%bcond_without fsp # Disable FSP support
%bcond_without guile # Disable Guile scripting
%bcond_without idn # Disable Internation Domain Names support
%bcond_without ipv6 # Disable IPv6 support
Summary(pt_BR): O links é um browser para modo texto, similar ao lynx
Name: elinks
Version: 0.11.2
-Release: 1
+Release: 2
Epoch: 1
License: GPL
Group: Applications/Networking
Patch0: %{name}-home_etc.patch
Patch1: %{name}-lua40.patch
Patch2: %{name}-pl.po-update.patch
+Patch3: %{name}-bug899.patch
URL: http://www.elinks.cz/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bzip2-devel
BuildRequires: expat-devel
-BuildRequires: fsplib-devel
+%{?with_fsp:BuildRequires: fsplib-devel}
BuildRequires: gettext-devel
BuildRequires: gpm-devel
%{?with_guile:BuildRequires: guile-devel}
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%{__aclocal}
--enable-nntp \
%{?with_256:--enable-256-colors} \
--enable-exmode \
- --enable-fsp \
+ %{?with_fsp:--enable-fsp} \
%{?with_leds:--enable-leds} \
--enable-marks \
--enable-html-highlight \