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