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