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