]> git.pld-linux.org Git - packages/lynx.git/blobdiff - lynx.spec
- added missing BuildRequires: openssl-devel >= 0.9.6a
[packages/lynx.git] / lynx.spec
index 46cdf2268e1711a4c78c1da57f375a8dd53261fd..8483da9afc05abb2f4e6f4be7c90a95edf066226 100644 (file)
--- a/lynx.spec
+++ b/lynx.spec
@@ -4,54 +4,57 @@ Summary(fr):  Navigateur en mode texte pour le world wide web
 Summary(pl):   Przegl±darka WWW pracuj±ca w trybie tekstowym
 Summary(tr):   Metin ekranda WWW tarayýcý
 Name:          lynx
-Version:       2.8.3dev.16
-Release:       4
+Version:       2.8.4dev.14
+Release:       5
 License:       GPL
 Group:         Applications/Networking
 Group(pl):     Aplikacje/Sieciowe
-Source0:       http://sol.slcc.edu/lynx/current/%{name}%{version}.tar.bz2
-Source1:       lynx.desktop
-Patch0:                lynx-pld.patch
-Patch1:                lynx-overflow.patch
-Patch2:                lynx-config.patch
-Patch3:                lynx.cfg.patch
-Patch4:                lynx-helpdir.patch
-Patch5:                lynx-DESTDIR.patch
-Patch6:                lynx-283d16-ssl.patch
-Patch7:                lynx2-8-3-ipv6-20-02-00.patch.gz   
+Source0:       http://lynx.isc.org/current/%{name}%{version}.tar.bz2
+Source1:       %{name}.desktop
+Patch0:                %{name}-pld.patch
+Patch1:                %{name}.cfg.patch
+Patch2:                http://www.moxienet.com/lynx/%{name}-283-ssl.patch.bz2
+Patch3:                %{name}-po_DESTDIR.patch
+Patch4:                %{name}-config.hin.patch
+Patch5:                %{name}-autoconf.patch
+Patch6:                %{name}-config.patch
+Patch7:                %{name}-SA_LEN.patch
 URL:           http://lynx.browser.org/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 BuildRequires: zlib-devel
-BuildRequires: ncurses-devel >= 5.0
+BuildRequires: slang-devel
+BuildRequires: gettext-devel
+BuildRequires: autoconf
+BuildRequires: openssl-devel >= 0.9.6a
+#BuildRequires:        socks5-devel
 Provides:      webclient
-BuildRoot:     /tmp/%{name}-%{version}-root
-
-%define                _libdir         %{_datadir}/lynx
-%define                _applnkdir      /usr/X11R6/share/applnk
+Obsoletes:     lynx-ssl
 
 %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, forms,
-and tables.
+This a terminal based WWW browser. While it does not make any attempt
+at displaying graphics, it has good support for HTML text formatting,
+forms, and tables.
+
+%description -l pl
+Lynx jest przegl±dark± WWW dzia³aj±c± w trybie tekstowym. Dobrze
+formatuje tekst w HTML, ale nie pozwala na wy¶wietlanie grafiki.
 
 %description -l de
 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch
-unternommen wird, Grafiken darzustellen, so bietet er doch guten  Support
-für HTML-Textformatierung, Formulare und Tabellen.
+unternommen wird, Grafiken darzustellen, so bietet er doch guten
+Support für HTML-Textformatierung, Formulare und Tabellen.
 
 %description -l fr
-Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il sait
-bien gérer le formatage HTML du texte, les formulaires et les tableaux.
-
-%description -l pl
-Lynx jest przegl±dark± WWW dzia³aj±c± w trybie tekstowym. Dobrze formatuje
-tekst w HTML, ale nie pozwala na wy¶wietlanie grafiki.
+Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
+sait bien gérer le formatage HTML du texte, les formulaires et les
+tableaux.
 
 %description -l tr
-Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de, formlar ve
-tablolar için desteði vardýr.
+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-3
+%setup  -q -n %{name}2-8-4
 %patch0 -p1 
 %patch1 -p1
 %patch2 -p1
@@ -62,55 +65,48 @@ tablolar i
 %patch7 -p1
 
 %build
-CFLAGS="-w -I/usr/include/ncurses"; export CFLAGS
-LDFLAGS="-s"; export LDFLAGS
+autoconf
+LDFLAGS="-lcrypto -lssl %{rpmldflags}"
+CFLAGS="-I/usr/include/openssl -DUSE_SSL %{rpmcflags}"
 %configure \
-       --with-screen=ncurses \
-       --enable-nls \
+       --with-screen=slang \
        --without-included-gettext \
-       --enable-charset-choice \
-       --enable-cjk        \
-       --enable-default-colors \
-       --enable-file-upload \
-       --enable-justify-elts \
+       --with-zlib \
+       --with-ssl \
        --enable-kbd-layout \
-       --enable-read-eta \
-       --enable-scrollbar \
-       --enable-warnings \
+       --enable-addrlist-page \
+       --enable-cgi-links \
        --enable-default-colors \
+       --enable-exec-links \
+       --enable-exec-scripts \
        --enable-externs \
+       --enable-gzip-help \
        --enable-internal-links \
+       --enable-ipv6 \
+       --enable-libjs \
+       --enable-nls \
        --enable-nsl-fork \
        --enable-persistent-cookies \
-       --enable-gzip-help \
-       --enable-libjs \
-       --enable-addrlist-page \
        --enable-prettysrc \
        --enable-source-cache \
-       --enable-color-style \
-       --enable-cgi-links \
-       --enable-exec-links \
-       --enable-exec-scripts \
-       --disable-cjk \
-       --with-zlib \
-       --without-socks \
-       --without-socks5 \
-       --with-ssl
+       --enable-warnings 
+#      --with-socks5=%{_prefix} \
+#      --enable-color-style \
 
-make
+%{__make} SSL_LIBS="-lssl -lcrypto" \
+       SSL_DEFINES="-I%{_includedir}/openssl -DUSE_SSL"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Networking/WWW
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW \
+       $RPM_BUILD_ROOT%{_datadir}/lynx/help
 
-make install install-help \
-       DESTDIR=$RPM_BUILD_ROOT \
-       helpdir=%{_libdir}/help
+%{__make} install install-help \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Networking/WWW/lynx.desktop
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       C[HO]* PROBLEMS README samples/* test/* docs/README*
+gzip -9nf C[HO]* PROBLEMS README samples/* test/* docs/README*
 
 %find_lang %{name}
 
@@ -121,7 +117,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc C[HO]* PROBLEMS.gz README.gz samples test docs/README*
 
-%{_applnkdir}/Networking/WWW/lynx.desktop
+%config %verify(not size mtime md5) %{_sysconfdir}/lynx.cfg
+%{_applnkdir}/Network/WWW/lynx.desktop
 
 %attr(755,root,root) %{_bindir}/*
 
This page took 0.053407 seconds and 4 git commands to generate.