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