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