Summary(pt_BR): Navegador web modo texto
Summary(tr): Metin ekranda WWW tarayýcý
Name: lynx
-Version: 2.8.5dev.15
-Release: 1
+Version: 2.8.5dev.16
+Release: 2
License: GPL
Group: Applications/Networking
+# Source0-md5: d5c50ea7334ee3256a82722be2f0d9a3
Source0: http://lynx.isc.org/current/%{name}%{version}.tar.bz2
-# Source0-md5: cc9513bfea6443c99a83d29ff6147244
Source1: %{name}.desktop
Source2: %{name}.png
+# Source3-md5: b5e02f86a8ee7bce4d8b97e4b6491714
Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
-# Source3-md5: b5e02f86a8ee7bce4d8b97e4b6491714
Patch0: %{name}-pld.patch
Patch1: %{name}.cfg.patch
Patch2: %{name}-po_DESTDIR.patch
Patch8: %{name}-etc_dir.patch
URL: http://lynx.browser.org/
BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: ncurses-devel
-BuildRequires: openssl-devel >= 0.9.7
+BuildRequires: openssl-devel >= 0.9.7c
#BuildRequires: socks5-devel
BuildRequires: zlib-devel
Provides: webclient
Obsoletes: lynx-ssl
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define specflags_ia32 "-fomit-frame-pointer"
+
%description
This a terminal based WWW browser. While it does not make any attempt
at displaying graphics, it has good support for HTML text formatting,
%patch8 -p1
%build
+cp /usr/share/automake/config.sub .
%{__autoconf}
%configure \
--with-screen=ncurses \
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/WWW,%{_pixmapsdir}} \
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
$RPM_BUILD_ROOT%{_datadir}/lynx/help
%{__make} install install-help \
DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lynx.cfg
%attr(755,root,root) %{_bindir}/*
%{_datadir}/lynx
-%{_applnkdir}/Network/WWW/lynx.desktop
+%{_desktopdir}/lynx.desktop
%{_pixmapsdir}/*
%{_mandir}/man1/*
%lang(cs) %{_mandir}/cs/man1/*