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