+#
+# TODO: merge patches (some change the same files in the same places)
+#
Summary: Text based browser for the world wide web
Summary(de.UTF-8): Text-Browser für das WWW
Summary(es.UTF-8): Navegador web modo texto
Summary(pt_BR.UTF-8): Navegador web modo texto
Summary(tr.UTF-8): Metin ekranda WWW tarayıcı
Name: lynx
-Version: 2.8.6rel.5
+Version: 2.8.9rel.1
Release: 3
-License: GPL
+License: GPL v2
Group: Applications/Networking
-Source0: http://lynx.isc.org/current/%{name}%{version}.tar.bz2
-# Source0-md5: bd44c57d28fd3e4c9db1cd492d403600
+Source0: https://invisible-mirror.net/archives/lynx/tarballs/%{name}%{version}.tar.bz2
+# Source0-md5: 44316f1b8a857b59099927edc26bef79
Source1: %{name}.desktop
Source2: %{name}.png
Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
Patch1: %{name}.cfg.patch
Patch2: %{name}-po_DESTDIR.patch
Patch3: %{name}-config.hin.patch
-Patch4: %{name}-autoconf.patch
+
Patch5: %{name}-config.patch
-Patch6: %{name}-acfix.patch
+
Patch7: %{name}-gzip_fallback.patch
Patch8: %{name}-etc_dir.patch
URL: http://lynx.browser.org/
-# Fix is in RH packages:
-# http://securitytracker.com/alerts/2008/Oct/1021106.html
-#BuildRequires: security(CVE-2008-4690)
-BuildRequires: autoconf
+BuildRequires: autoconf-dickey >= 2.13
BuildRequires: automake
BuildRequires: bzip2-devel
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
+BuildRequires: libidn-devel
BuildRequires: ncurses-devel
BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
#BuildRequires: socks5-devel
BuildRequires: zlib-devel
Provides: webclient
formlar ve tablolar için desteği vardır.
%prep
-%setup -q -n %{name}2-8-6
+%setup -q -n %{name}%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch4 -p1
+
%patch5 -p1
-%patch6 -p1
+
%patch7 -p1
%patch8 -p1
%build
cp /usr/share/automake/config.sub .
-%{__autoconf}
+autoconf-dickey
%configure \
--with-screen=ncursesw \
--without-included-gettext \
%doc CHANGES COPYHEADER PROBLEMS README samples test docs/README*
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lynx.cfg
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lynx.lss
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/lynx
%{_datadir}/lynx
%{_desktopdir}/lynx.desktop
-%{_pixmapsdir}/*
-%{_mandir}/man1/*
-%lang(cs) %{_mandir}/cs/man1/*
-%lang(fi) %{_mandir}/fi/man1/*
-%lang(pl) %{_mandir}/pl/man1/*
+%{_pixmapsdir}/lynx.png
+%{_mandir}/man1/lynx.1*
+%lang(cs) %{_mandir}/cs/man1/lynx.1*
+%lang(fi) %{_mandir}/fi/man1/lynx.1*
+%lang(pl) %{_mandir}/pl/man1/lynx.1*