]> git.pld-linux.org Git - packages/lynx.git/blob - lynx.spec
- CAN-2005-3120, CVE-2005-2929; rel 4
[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.5rel.1
11 Release:        4
12 License:        GPL
13 Group:          Applications/Networking
14 Source0:        http://lynx.isc.org/current/%{name}%{version}.tar.bz2
15 # Source0-md5:  d1e5134e5d175f913c16cb6768bc30eb
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 Patch9:         %{name}-fixcrash.patch
30 Patch10:        %{name}-CAN-2005-3120.patch
31 Patch11:        %{name}-CVE-2005-2929.patch
32 URL:            http://lynx.browser.org/
33 BuildRequires:  autoconf
34 BuildRequires:  automake
35 BuildRequires:  bzip2-devel
36 BuildRequires:  gettext-devel
37 BuildRequires:  ncurses-devel
38 BuildRequires:  openssl-devel >= 0.9.7d
39 #BuildRequires: socks5-devel
40 BuildRequires:  zlib-devel
41 Provides:       webclient
42 Obsoletes:      lynx-ssl
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %define         specflags_ia32   -fomit-frame-pointer
46
47 %description
48 This a terminal based WWW browser. While it does not make any attempt
49 at displaying graphics, it has good support for HTML text formatting,
50 forms, and tables.
51
52 %description -l de
53 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch
54 unternommen wird, Grafiken darzustellen, so bietet er doch guten
55 Support für HTML-Textformatierung, Formulare und Tabellen.
56
57 %description -l es
58 Este es un browser WWW para terminal en modo texto. Mientras no hace
59 ningún intento de enseñar gráficos, posee un buen soporte para el
60 formato de texto HTML, formularios y tablas.
61
62 %description -l fr
63 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
64 sait bien gérer le formatage HTML du texte, les formulaires et les
65 tableaux.
66
67 %description -l ja
68 lynx ¤Ï¥Æ¥­¥¹¥È¥Ù¡¼¥¹¤Î¥¦¥§¥Ö¥Ö¥é¥¦¥¶¤Ç¤¢¤ë¡£lynx ¤Ï²¿¤Î¥¤¥á¡¼¥¸¤â
69 ɽ¼¨¤·¤Ê¤¤¤¬¥Õ¥ì¡¼¥à¡¢¥Æ¡¼¥Ö¥ë¤½¤·¤Æ¾¤Î HTML ¥¿¥°¤ò¥µ¥Ý¡¼¥È¤¹¤ë¡£
70 ¥°¥é¥Õ¥£¥«¥ë¤Ê¥Ö¥é¥¦¥¶¤ËÂФ¹¤ë lynx ¤Î¥¢¥É¥Ð¥ó¥Æ¡¼¥¸¤Ï¥¹¥Ô¡¼¥É¤Ç¤¢¤ë¡£
71 lynx ¤Ï¥¦¥§¥Ö¥Ú¡¼¥¸¤òɽ¼¨¤¹¤ë¤Î¤Ë¤¹¤Ð¤ä¤¯Â¨ºÂ¤Ë³«»Ï¤·¤¿¤ê½ªÎ»¤·¤¿¤ê¤¹¤ë¡£
72
73 ¤³¤Î®¤¤¡¢¥°¥é¥Õ¥£¥«¥ë¤Ç¤Ê¤¤¥Ö¥é¥¦¥¶¤ò»î¤·¤¿¤±¤ì¤Ð¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤µ¤¤¡£
74 (¤½¤ÎĹ½ê¤Î¤è¤µ¤¬¤ï¤«¤ë¤Ç¤¢¤í¤¦)
75
76 %description -l pl
77 Lynx jest przegl±dark± WWW dzia³aj±c± w trybie tekstowym. Dobrze
78 formatuje tekst w HTML, ale nie pozwala na wy¶wietlanie grafiki.
79
80 %description -l pt_BR
81 Este é um browser WWW para terminal em modo texto. Enquanto ele não
82 faz nenhuma tentativa para mostrar gráficos, possui um bom suporte
83 para o formato de texto HTML, formulários e tabelas.
84
85 %description -l tr
86 Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de,
87 formlar ve tablolar için desteði vardýr.
88
89 %prep
90 %setup -q -n %{name}2-8-5
91 %patch0 -p1
92 %patch1 -p1
93 %patch2 -p1
94 %patch3 -p1
95 %patch4 -p1
96 %patch5 -p1
97 %patch6 -p1
98 %patch7 -p1
99 %patch8 -p1
100 %patch9 -p1
101 %patch10 -p1
102 %patch11 -p1
103
104 %build
105 cp /usr/share/automake/config.sub .
106 %{__autoconf}
107 %configure \
108         --with-screen=ncurses \
109         --without-included-gettext \
110         --with-bzlib \
111         --with-zlib \
112         --with-ssl \
113         --enable-justify-elts \
114         --enable-nested-tables \
115         --enable-read-eta \
116         --enable-kbd-layout \
117         --enable-addrlist-page \
118         --enable-cgi-links \
119         --enable-default-colors \
120         --enable-file-upload \
121         --enable-exec-links \
122         --enable-exec-scripts \
123         --enable-externs \
124         --enable-gzip-help \
125         --enable-internal-links \
126         --enable-ipv6 \
127         --enable-nls \
128         --enable-nsl-fork \
129         --enable-persistent-cookies \
130         --enable-prettysrc \
131         --enable-source-cache \
132         --enable-warnings
133 #       --with-socks5=%{_prefix} \
134 #       --enable-color-style \
135
136 %{__make}
137
138 %install
139 rm -rf $RPM_BUILD_ROOT
140 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
141         $RPM_BUILD_ROOT%{_datadir}/lynx/help
142
143 %{__make} install install-help \
144         DESTDIR=$RPM_BUILD_ROOT
145
146 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
147 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
148
149 bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
150
151 %find_lang %{name}
152
153 %clean
154 rm -rf $RPM_BUILD_ROOT
155
156 %files -f %{name}.lang
157 %defattr(644,root,root,755)
158 %doc CHANGES COPYHEADER PROBLEMS README samples test docs/README*
159 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lynx.cfg
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.087058 seconds and 4 git commands to generate.