]>
Commit | Line | Data |
---|---|---|
8c36682f | 1 | # |
2 | # TODO: merge patches (some change the same files in the same places) | |
3 | # | |
9d430563 | 4 | Summary: Text based browser for the world wide web |
8ef9c259 ER |
5 | Summary(de.UTF-8): Text-Browser für das WWW |
6 | Summary(es.UTF-8): Navegador web modo texto | |
7 | Summary(fr.UTF-8): Navigateur en mode texte pour le world wide web | |
8 | Summary(ja.UTF-8): テキストベースのウェブブラウザ | |
9 | Summary(pl.UTF-8): Przeglądarka WWW pracująca w trybie tekstowym | |
10 | Summary(pt_BR.UTF-8): Navegador web modo texto | |
11 | Summary(tr.UTF-8): Metin ekranda WWW tarayıcı | |
9d430563 | 12 | Name: lynx |
8688af21 | 13 | Version: 2.8.7 |
8c36682f | 14 | Release: 1 |
5e67ac7d | 15 | License: GPL |
19df488d | 16 | Group: Applications/Networking |
8688af21 | 17 | Source0: http://lynx.isc.org/lynx2.8.7/%{name}%{version}.tar.bz2 |
8c36682f | 18 | # Source0-md5: 493af4c77ef6761e3f0157cd1be033a0 |
8a085e72 | 19 | Source1: %{name}.desktop |
1180f885 | 20 | Source2: %{name}.png |
256e6e8c | 21 | Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 |
999a6273 | 22 | # Source3-md5: b5e02f86a8ee7bce4d8b97e4b6491714 |
8a085e72 | 23 | Patch0: %{name}-pld.patch |
d1f006ef | 24 | Patch1: %{name}.cfg.patch |
398a1959 JB |
25 | Patch2: %{name}-po_DESTDIR.patch |
26 | Patch3: %{name}-config.hin.patch | |
27 | Patch4: %{name}-autoconf.patch | |
28 | Patch5: %{name}-config.patch | |
f850aa71 | 29 | Patch6: %{name}-acfix.patch |
31033bcd | 30 | Patch7: %{name}-gzip_fallback.patch |
84c36a6a | 31 | Patch8: %{name}-etc_dir.patch |
acc81712 | 32 | URL: http://lynx.browser.org/ |
f850aa71 | 33 | BuildRequires: autoconf |
61f7aa73 | 34 | BuildRequires: automake |
cfd2dc93 | 35 | BuildRequires: bzip2-devel |
b59f287f | 36 | BuildRequires: gettext-devel |
8c33143e | 37 | BuildRequires: ncurses-devel |
122aa560 | 38 | BuildRequires: openssl-devel >= 0.9.7d |
d1f006ef | 39 | #BuildRequires: socks5-devel |
b59f287f | 40 | BuildRequires: zlib-devel |
92b8923e | 41 | Requires(triggerpostun): sed >= 4.0 |
a28b5de2 | 42 | Provides: webclient |
f772b9d9 | 43 | Obsoletes: lynx-ssl |
b59f287f | 44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9d238d7c | 45 | |
6501ef52 | 46 | %define specflags_ia32 -fomit-frame-pointer |
35fb3899 | 47 | |
9d238d7c | 48 | %description |
e0655a90 | 49 | This a terminal based WWW browser. While it does not make any attempt |
50 | at displaying graphics, it has good support for HTML text formatting, | |
51 | forms, and tables. | |
52 | ||
39354ed3 JR |
53 | %description -l de.UTF-8 |
54 | Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch | |
e0655a90 | 55 | unternommen wird, Grafiken darzustellen, so bietet er doch guten |
39354ed3 | 56 | Support für HTML-Textformatierung, Formulare und Tabellen. |
9d238d7c | 57 | |
39354ed3 | 58 | %description -l es.UTF-8 |
1180f885 | 59 | Este es un browser WWW para terminal en modo texto. Mientras no hace |
39354ed3 | 60 | ningún intento de enseñar gráficos, posee un buen soporte para el |
1180f885 | 61 | formato de texto HTML, formularios y tablas. |
62 | ||
39354ed3 | 63 | %description -l fr.UTF-8 |
e0655a90 | 64 | Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il |
39354ed3 | 65 | sait bien gérer le formatage HTML du texte, les formulaires et les |
e0655a90 | 66 | tableaux. |
23b3b754 | 67 | |
39354ed3 JR |
68 | %description -l ja.UTF-8 |
69 | lynx はテキストベースのウェブブラウザである。lynx は何のイメージも | |
70 | 表示しないがフレーム、テーブルそして他の HTML タグをサポートする。 | |
71 | グラフィカルなブラウザに対する lynx のアドバンテージはスピードである。 | |
72 | lynx はウェブページを表示するのにすばやく即座に開始したり終了したりする。 | |
1180f885 | 73 | |
39354ed3 JR |
74 | この速い、グラフィカルでないブラウザを試したければインストールしなさい。 |
75 | (その長所のよさがわかるであろう) | |
1180f885 | 76 | |
39354ed3 JR |
77 | %description -l pl.UTF-8 |
78 | Lynx jest przeglądarką WWW działającą w trybie tekstowym. Dobrze | |
79 | formatuje tekst w HTML, ale nie pozwala na wyświetlanie grafiki. | |
1180f885 | 80 | |
39354ed3 JR |
81 | %description -l pt_BR.UTF-8 |
82 | Este é um browser WWW para terminal em modo texto. Enquanto ele não | |
83 | faz nenhuma tentativa para mostrar gráficos, possui um bom suporte | |
84 | para o formato de texto HTML, formulários e tabelas. | |
1180f885 | 85 | |
39354ed3 JR |
86 | %description -l tr.UTF-8 |
87 | Metin ekranda çalışan bir WWW tarayıcıdır. Şekil gösteremese de, | |
88 | formlar ve tablolar için desteği vardır. | |
9d238d7c | 89 | |
90 | %prep | |
8c36682f | 91 | %setup -q -n %{name}2-8-7 |
ce812124 | 92 | %patch0 -p1 |
bbb438af | 93 | %patch1 -p1 |
85ea2d1b | 94 | %patch2 -p1 |
13fc152b | 95 | %patch3 -p1 |
bbb438af | 96 | %patch4 -p1 |
e4b35398 | 97 | %patch5 -p1 |
f850aa71 | 98 | %patch6 -p1 |
31033bcd | 99 | %patch7 -p1 |
84c36a6a | 100 | %patch8 -p1 |
9d238d7c | 101 | |
102 | %build | |
61f7aa73 | 103 | cp /usr/share/automake/config.sub . |
98c619c1 | 104 | %{__autoconf} |
f850aa71 | 105 | %configure \ |
c493885c | 106 | --with-screen=ncursesw \ |
e2dce61c | 107 | --without-included-gettext \ |
cfd2dc93 | 108 | --with-bzlib \ |
e0655a90 | 109 | --with-zlib \ |
110 | --with-ssl \ | |
37461fb7 TP |
111 | --enable-justify-elts \ |
112 | --enable-nested-tables \ | |
113 | --enable-read-eta \ | |
a28b5de2 | 114 | --enable-kbd-layout \ |
e0655a90 | 115 | --enable-addrlist-page \ |
116 | --enable-cgi-links \ | |
cea8872c | 117 | --enable-default-colors \ |
cfd2dc93 | 118 | --enable-file-upload \ |
e0655a90 | 119 | --enable-exec-links \ |
120 | --enable-exec-scripts \ | |
cea8872c | 121 | --enable-externs \ |
e0655a90 | 122 | --enable-gzip-help \ |
cea8872c | 123 | --enable-internal-links \ |
8a085e72 | 124 | --enable-ipv6 \ |
e0655a90 | 125 | --enable-nls \ |
cea8872c | 126 | --enable-nsl-fork \ |
127 | --enable-persistent-cookies \ | |
c59f90f2 AF |
128 | --enable-prettysrc \ |
129 | --enable-source-cache \ | |
ce812124 | 130 | --enable-warnings |
e0655a90 | 131 | # --with-socks5=%{_prefix} \ |
132 | # --enable-color-style \ | |
bbb438af | 133 | |
398a1959 | 134 | %{__make} |
9d238d7c | 135 | |
136 | %install | |
137 | rm -rf $RPM_BUILD_ROOT | |
8d10efb2 | 138 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \ |
f772b9d9 | 139 | $RPM_BUILD_ROOT%{_datadir}/lynx/help |
50a57588 | 140 | |
240329e5 | 141 | %{__make} install install-help \ |
e0655a90 | 142 | DESTDIR=$RPM_BUILD_ROOT |
99fc2def | 143 | |
8d10efb2 | 144 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
1180f885 | 145 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
9d238d7c | 146 | |
64884763 | 147 | bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
148 | ||
f772b9d9 JB |
149 | %find_lang %{name} |
150 | ||
9d238d7c | 151 | %clean |
152 | rm -rf $RPM_BUILD_ROOT | |
153 | ||
2b648df6 ER |
154 | %triggerpostun -- %{name} < 2.8.6rel.5-4 |
155 | # for CVE-2008-4690 | |
156 | %{__sed} -i -e '/^#TRUSTED_LYNXCGI:/s,^#,,' %{_sysconfdir}/lynx.cfg | |
157 | ||
f772b9d9 | 158 | %files -f %{name}.lang |
50a57588 | 159 | %defattr(644,root,root,755) |
a3949ee9 | 160 | %doc CHANGES COPYHEADER PROBLEMS README samples test docs/README* |
6501ef52 | 161 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lynx.cfg |
0bbac2a6 | 162 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lynx.lss |
383e505f | 163 | %attr(755,root,root) %{_bindir}/* |
92a3c8f2 | 164 | %{_datadir}/lynx |
8d10efb2 | 165 | %{_desktopdir}/lynx.desktop |
1180f885 | 166 | %{_pixmapsdir}/* |
167 | %{_mandir}/man1/* | |
64884763 | 168 | %lang(cs) %{_mandir}/cs/man1/* |
169 | %lang(fi) %{_mandir}/fi/man1/* | |
170 | %lang(pl) %{_mandir}/pl/man1/* |