]> git.pld-linux.org Git - packages/lynx.git/blobdiff - lynx.spec
- Release: 2 (STBR after AMD64 fixes)
[packages/lynx.git] / lynx.spec
index 4c5a3d80d20de05d986a6d322695c37df625af15..27d7b26dedc007ae6f021bc2622a580cafc79967 100644 (file)
--- a/lynx.spec
+++ b/lynx.spec
@@ -7,14 +7,16 @@ Summary(pl):  Przegl
 Summary(pt_BR):        Navegador web modo texto
 Summary(tr):   Metin ekranda WWW tarayýcý
 Name:          lynx
-Version:       2.8.5dev.12
+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
@@ -23,18 +25,21 @@ Patch4:             %{name}-autoconf.patch
 Patch5:                %{name}-config.patch
 Patch6:                %{name}-acfix.patch
 Patch7:                %{name}-gzip_fallback.patch
-Patch8:                %{name}-home_etc.patch
+Patch8:                %{name}-etc_dir.patch
 URL:           http://lynx.browser.org/
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: openssl-devel >= 0.9.7
-BuildRequires: slang-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
 at displaying graphics, it has good support for HTML text formatting,
@@ -87,15 +92,19 @@ formlar ve tablolar i
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
-#%patch8 -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 \
@@ -120,13 +129,13 @@ formlar ve tablolar i
 
 %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}
@@ -142,7 +151,7 @@ rm -rf $RPM_BUILD_ROOT
 %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/*
This page took 0.026561 seconds and 4 git commands to generate.