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