1 Summary: Text based browser for the world wide web
2 Summary(de.UTF-8): Text-Browser für das WWW
3 Summary(es.UTF-8): Navegador web modo texto
4 Summary(fr.UTF-8): Navigateur en mode texte pour le world wide web
5 Summary(ja.UTF-8): テキストベースのウェブブラウザ
6 Summary(pl.UTF-8): Przeglądarka WWW pracująca w trybie tekstowym
7 Summary(pt_BR.UTF-8): Navegador web modo texto
8 Summary(tr.UTF-8): Metin ekranda WWW tarayıcı
13 Group: Applications/Networking
14 Source0: http://lynx.isc.org/current/%{name}%{version}.tar.bz2
15 # Source0-md5: bd44c57d28fd3e4c9db1cd492d403600
16 Source1: %{name}.desktop
18 Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
19 # Source3-md5: b5e02f86a8ee7bce4d8b97e4b6491714
20 Patch0: %{name}-pld.patch
21 Patch1: %{name}.cfg.patch
22 Patch2: %{name}-po_DESTDIR.patch
23 Patch3: %{name}-config.hin.patch
24 Patch4: %{name}-autoconf.patch
25 Patch5: %{name}-config.patch
26 Patch6: %{name}-acfix.patch
27 Patch7: %{name}-gzip_fallback.patch
28 Patch8: %{name}-etc_dir.patch
29 Patch9: %{name}-CVE-2008-4690.patch
30 URL: http://lynx.browser.org/
31 BuildRequires: autoconf
32 BuildRequires: automake
33 BuildRequires: bzip2-devel
34 BuildRequires: gettext-devel
35 BuildRequires: ncurses-devel
36 BuildRequires: openssl-devel >= 0.9.7d
37 #BuildRequires: socks5-devel
38 BuildRequires: zlib-devel
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 %define specflags_ia32 -fomit-frame-pointer
46 This a terminal based WWW browser. While it does not make any attempt
47 at displaying graphics, it has good support for HTML text formatting,
50 %description -l de.UTF-8
51 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch
52 unternommen wird, Grafiken darzustellen, so bietet er doch guten
53 Support für HTML-Textformatierung, Formulare und Tabellen.
55 %description -l es.UTF-8
56 Este es un browser WWW para terminal en modo texto. Mientras no hace
57 ningún intento de enseñar gráficos, posee un buen soporte para el
58 formato de texto HTML, formularios y tablas.
60 %description -l fr.UTF-8
61 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
62 sait bien gérer le formatage HTML du texte, les formulaires et les
65 %description -l ja.UTF-8
66 lynx はテキストベースのウェブブラウザである。lynx は何のイメージも
67 表示しないがフレーム、テーブルそして他の HTML タグをサポートする。
68 グラフィカルなブラウザに対する lynx のアドバンテージはスピードである。
69 lynx はウェブページを表示するのにすばやく即座に開始したり終了したりする。
71 この速い、グラフィカルでないブラウザを試したければインストールしなさい。
74 %description -l pl.UTF-8
75 Lynx jest przeglądarką WWW działającą w trybie tekstowym. Dobrze
76 formatuje tekst w HTML, ale nie pozwala na wyświetlanie grafiki.
78 %description -l pt_BR.UTF-8
79 Este é um browser WWW para terminal em modo texto. Enquanto ele não
80 faz nenhuma tentativa para mostrar gráficos, possui um bom suporte
81 para o formato de texto HTML, formulários e tabelas.
83 %description -l tr.UTF-8
84 Metin ekranda çalışan bir WWW tarayıcıdır. Şekil gösteremese de,
85 formlar ve tablolar için desteği vardır.
88 %setup -q -n %{name}2-8-6
101 cp /usr/share/automake/config.sub .
104 --with-screen=ncursesw \
105 --without-included-gettext \
109 --enable-justify-elts \
110 --enable-nested-tables \
112 --enable-kbd-layout \
113 --enable-addrlist-page \
115 --enable-default-colors \
116 --enable-file-upload \
117 --enable-exec-links \
118 --enable-exec-scripts \
121 --enable-internal-links \
125 --enable-persistent-cookies \
127 --enable-source-cache \
129 # --with-socks5=%{_prefix} \
130 # --enable-color-style \
135 rm -rf $RPM_BUILD_ROOT
136 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
137 $RPM_BUILD_ROOT%{_datadir}/lynx/help
139 %{__make} install install-help \
140 DESTDIR=$RPM_BUILD_ROOT
142 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
143 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
145 bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
150 rm -rf $RPM_BUILD_ROOT
152 %triggerpostun -- %{name} < 2.8.6rel.5-4
154 %{__sed} -i -e '/^#TRUSTED_LYNXCGI:/s,^#,,' %{_sysconfdir}/lynx.cfg
156 %files -f %{name}.lang
157 %defattr(644,root,root,755)
158 %doc CHANGES COPYHEADER PROBLEMS README samples test docs/README*
159 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lynx.cfg
160 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lynx.lss
161 %attr(755,root,root) %{_bindir}/*
163 %{_desktopdir}/lynx.desktop
166 %lang(cs) %{_mandir}/cs/man1/*
167 %lang(fi) %{_mandir}/fi/man1/*
168 %lang(pl) %{_mandir}/pl/man1/*