Summary(pt_BR): Navegador web modo texto
Summary(tr): Metin ekranda WWW tarayýcý
Name: lynx
-Version: 2.8.5dev.3
-Release: 4
+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
Source1: %{name}.desktop
Source2: %{name}.png
-Source3: %{name}-non-english-man-pages.tar.bz2
+# Source3-md5: b5e02f86a8ee7bce4d8b97e4b6491714
+Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
Patch0: %{name}-pld.patch
Patch1: %{name}.cfg.patch
Patch2: %{name}-po_DESTDIR.patch
Patch5: %{name}-config.patch
Patch6: %{name}-acfix.patch
Patch7: %{name}-gzip_fallback.patch
+Patch8: %{name}-etc_dir.patch
URL: http://lynx.browser.org/
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-BuildRequires: zlib-devel
-BuildRequires: slang-devel
-BuildRequires: gettext-devel
BuildRequires: autoconf
-BuildRequires: openssl-devel >= 0.9.6b
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: ncurses-devel
+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
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
%build
+cp /usr/share/automake/config.sub .
%{__autoconf}
%configure \
- --with-screen=slang \
+ --with-screen=ncurses \
--without-included-gettext \
--with-zlib \
--with-ssl \
+ --enable-justify-elts \
+ --enable-nested-tables \
+ --enable-read-eta \
--enable-kbd-layout \
--enable-addrlist-page \
--enable-cgi-links \
%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}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc C[HO]* PROBLEMS README samples test docs/README*
+%doc CHANGES COPYHEADER PROBLEMS README samples test docs/README*
%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/*