]> git.pld-linux.org Git - packages/lynx.git/blob - lynx.spec
- security update to 2.8.5dev.12 (CRLF injection)
[packages/lynx.git] / lynx.spec
1 Summary:        Text based browser for the world wide web
2 Summary(de):    Text-Browser für das WWW
3 Summary(es):    Navegador web modo texto
4 Summary(fr):    Navigateur en mode texte pour le world wide web
5 Summary(ja):    ¥Æ¥­¥¹¥È¥Ù¡¼¥¹¤Î¥¦¥§¥Ö¥Ö¥é¥¦¥¶
6 Summary(pl):    Przegl±darka WWW pracuj±ca w trybie tekstowym
7 Summary(pt_BR): Navegador web modo texto
8 Summary(tr):    Metin ekranda WWW tarayýcý
9 Name:           lynx
10 Version:        2.8.5dev.12
11 Release:        1
12 License:        GPL
13 Group:          Applications/Networking
14 Source0:        http://lynx.isc.org/current/%{name}%{version}.tar.bz2
15 Source1:        %{name}.desktop
16 Source2:        %{name}.png
17 Source3:        %{name}-non-english-man-pages.tar.bz2
18 Patch0:         %{name}-pld.patch
19 Patch1:         %{name}.cfg.patch
20 Patch2:         %{name}-po_DESTDIR.patch
21 Patch3:         %{name}-config.hin.patch
22 Patch4:         %{name}-autoconf.patch
23 Patch5:         %{name}-config.patch
24 Patch6:         %{name}-acfix.patch
25 Patch7:         %{name}-gzip_fallback.patch
26 URL:            http://lynx.browser.org/
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 BuildRequires:  zlib-devel
29 BuildRequires:  slang-devel
30 BuildRequires:  gettext-devel
31 BuildRequires:  autoconf
32 BuildRequires:  openssl-devel >= 0.9.6b
33 #BuildRequires: socks5-devel
34 Provides:       webclient
35 Obsoletes:      lynx-ssl
36
37 %description
38 This a terminal based WWW browser. While it does not make any attempt
39 at displaying graphics, it has good support for HTML text formatting,
40 forms, and tables.
41
42 %description -l de
43 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch
44 unternommen wird, Grafiken darzustellen, so bietet er doch guten
45 Support für HTML-Textformatierung, Formulare und Tabellen.
46
47 %description -l es
48 Este es un browser WWW para terminal en modo texto. Mientras no hace
49 ningún intento de enseñar gráficos, posee un buen soporte para el
50 formato de texto HTML, formularios y tablas.
51
52 %description -l fr
53 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
54 sait bien gérer le formatage HTML du texte, les formulaires et les
55 tableaux.
56
57 %description -l ja
58 lynx ¤Ï¥Æ¥­¥¹¥È¥Ù¡¼¥¹¤Î¥¦¥§¥Ö¥Ö¥é¥¦¥¶¤Ç¤¢¤ë¡£lynx ¤Ï²¿¤Î¥¤¥á¡¼¥¸¤â
59 ɽ¼¨¤·¤Ê¤¤¤¬¥Õ¥ì¡¼¥à¡¢¥Æ¡¼¥Ö¥ë¤½¤·¤Æ¾¤Î HTML ¥¿¥°¤ò¥µ¥Ý¡¼¥È¤¹¤ë¡£
60 ¥°¥é¥Õ¥£¥«¥ë¤Ê¥Ö¥é¥¦¥¶¤ËÂФ¹¤ë lynx ¤Î¥¢¥É¥Ð¥ó¥Æ¡¼¥¸¤Ï¥¹¥Ô¡¼¥É¤Ç¤¢¤ë¡£
61 lynx ¤Ï¥¦¥§¥Ö¥Ú¡¼¥¸¤òɽ¼¨¤¹¤ë¤Î¤Ë¤¹¤Ð¤ä¤¯Â¨ºÂ¤Ë³«»Ï¤·¤¿¤ê½ªÎ»¤·¤¿¤ê¤¹¤ë¡£
62
63 ¤³¤Î®¤¤¡¢¥°¥é¥Õ¥£¥«¥ë¤Ç¤Ê¤¤¥Ö¥é¥¦¥¶¤ò»î¤·¤¿¤±¤ì¤Ð¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤µ¤¤¡£
64 (¤½¤ÎĹ½ê¤Î¤è¤µ¤¬¤ï¤«¤ë¤Ç¤¢¤í¤¦)
65
66 %description -l pl
67 Lynx jest przegl±dark± WWW dzia³aj±c± w trybie tekstowym. Dobrze
68 formatuje tekst w HTML, ale nie pozwala na wy¶wietlanie grafiki.
69
70 %description -l pt_BR
71 Este é um browser WWW para terminal em modo texto. Enquanto ele não
72 faz nenhuma tentativa para mostrar gráficos, possui um bom suporte
73 para o formato de texto HTML, formulários e tabelas.
74
75 %description -l tr
76 Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de,
77 formlar ve tablolar için desteði vardýr.
78
79 %prep
80 %setup  -q -n %{name}2-8-5
81 %patch0 -p1
82 %patch1 -p1
83 %patch2 -p1
84 %patch3 -p1
85 %patch4 -p1
86 %patch5 -p1
87 %patch6 -p1
88 %patch7 -p1
89
90 %build
91 %{__autoconf}
92 %configure \
93         --with-screen=slang \
94         --without-included-gettext \
95         --with-zlib \
96         --with-ssl \
97         --enable-kbd-layout \
98         --enable-addrlist-page \
99         --enable-cgi-links \
100         --enable-default-colors \
101         --enable-exec-links \
102         --enable-exec-scripts \
103         --enable-externs \
104         --enable-gzip-help \
105         --enable-internal-links \
106         --enable-ipv6 \
107         --enable-libjs \
108         --enable-nls \
109         --enable-nsl-fork \
110         --enable-persistent-cookies \
111         --enable-prettysrc \
112         --enable-source-cache \
113         --enable-warnings
114 #       --with-socks5=%{_prefix} \
115 #       --enable-color-style \
116
117 %{__make}
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/WWW,%{_pixmapsdir}} \
122         $RPM_BUILD_ROOT%{_datadir}/lynx/help
123
124 %{__make} install install-help \
125         DESTDIR=$RPM_BUILD_ROOT
126
127 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
128 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
129
130 bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
131
132 %find_lang %{name}
133
134 %clean
135 rm -rf $RPM_BUILD_ROOT
136
137 %files -f %{name}.lang
138 %defattr(644,root,root,755)
139 %doc C[HO]* PROBLEMS README samples test docs/README*
140 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lynx.cfg
141 %attr(755,root,root) %{_bindir}/*
142 %{_datadir}/lynx
143 %{_applnkdir}/Network/WWW/lynx.desktop
144 %{_pixmapsdir}/*
145 %{_mandir}/man1/*
146 %lang(cs) %{_mandir}/cs/man1/*
147 %lang(fi) %{_mandir}/fi/man1/*
148 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.05296 seconds and 4 git commands to generate.