]> git.pld-linux.org Git - packages/lynx.git/blobdiff - lynx.spec
remove CVE-2008-4690 patch dropped from spec in 8c36682
[packages/lynx.git] / lynx.spec
index 12950058c0d9197894e5837619097e0ad97f2f92..b0a72f0f52e9b3305a2cd87429a048f3970d166b 100644 (file)
--- a/lynx.spec
+++ b/lynx.spec
@@ -10,12 +10,12 @@ Summary(pl.UTF-8):  Przeglądarka WWW pracująca w trybie tekstowym
 Summary(pt_BR.UTF-8):  Navegador web modo texto
 Summary(tr.UTF-8):     Metin ekranda WWW tarayıcı
 Name:          lynx
-Version:       2.8.7rel.1
-Release:       1
-License:       GPL
+Version:       2.8.9rel.1
+Release:       3
+License:       GPL v2
 Group:         Applications/Networking
-Source0:       http://lynx.isc.org/current/%{name}%{version}.tar.bz2
-# Source0-md5: 493af4c77ef6761e3f0157cd1be033a0
+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
@@ -24,21 +24,23 @@ Patch0:             %{name}-pld.patch
 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/
-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
-Requires(triggerpostun):       sed >= 4.0
 Provides:      webclient
 Obsoletes:     lynx-ssl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -88,20 +90,20 @@ Metin ekranda çalışan bir WWW tarayıcıdır. Şekil gösteremese de,
 formlar ve tablolar için desteği vardır.
 
 %prep
-%setup -q -n %{name}2-8-7
+%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 \
@@ -151,20 +153,16 @@ bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%triggerpostun -- %{name} < 2.8.6rel.5-4
-# for CVE-2008-4690
-%{__sed} -i -e '/^#TRUSTED_LYNXCGI:/s,^#,,' %{_sysconfdir}/lynx.cfg
-
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %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*
This page took 0.034689 seconds and 4 git commands to generate.