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