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