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