1 Summary: Text based browser for the world wide web
2 Summary(de.UTF-8): Text-Browser für das WWW
3 Summary(es.UTF-8): w3m es un paginador, pero puede usarse también como un navegador WWW
4 Summary(fr.UTF-8): Navigateur en mode texte pour le world wide web
5 Summary(pl.UTF-8): Przeglądarka WWW pracująca w trybie tekstowym
6 Summary(pt_BR.UTF-8): O w3m é um paginador, mas pode ser usado também como um navegador WWW
7 Summary(tr.UTF-8): Metin ekranda WWW tarayıcı
13 Group: Applications/Networking
14 Source0: http://downloads.sourceforge.net/w3m/%{name}-%{version}.tar.gz
15 # Source0-md5: 1b845a983a50b8dec0169ac48479eacc
16 Patch0: %{name}-gzip_fallback.patch
17 Patch1: %{name}-nolibs.patch
18 Patch2: %{name}-0.5.3-parallel-make.patch
19 Patch3: %{name}-0.5.2-fix_gcc_error.patch
20 Patch4: %{name}-gc.patch
21 Patch5: format-security.patch
22 Patch6: ac-gettext.patch
23 URL: http://w3m.sourceforge.net/
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: gc-devel
27 BuildRequires: gettext-tools
28 BuildRequires: gpm-devel
29 BuildRequires: gtk+2-devel >= 1:2.0
30 BuildRequires: imlib2-devel
31 BuildRequires: ncurses-devel >= 5.0
32 BuildRequires: openssl-devel >= 0.9.7d
33 BuildRequires: pkgconfig
34 BuildRequires: sed >= 4.0
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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,
43 %description -l de.UTF-8
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.
48 %description -l es.UTF-8
49 w3m es un paginador similar a las órdenes more y less. Este paquete
50 también puede utilizarse como un visualizador de páginas WWW en modo
53 %description -l fr.UTF-8
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
58 %description -l pl.UTF-8
59 Przeglądarka WWW działającą w trybie tekstowym. Dobrze formatuje tekst
60 w HTML, ale nie pozwala na wyświetlanie grafiki.
62 %description -l pt_BR.UTF-8
63 O w3m é um paginador similar aos comandos more e less. Este pacote
64 pode ser ainda utilizado como um visualizador de páginas WWW em modo
67 %description -l tr.UTF-8
68 Metin ekranda çalışan bir WWW tarayıcıdır. Şekil gösteremese de,
69 formlar ve tablolar için desteği vardır.
72 Summary: Image display support for w3m
73 Summary(pl.UTF-8): Wyświetlanie obrazków dla w3m
74 Group: Applications/Networking
75 Requires: %{name} = %{epoch}:%{version}-%{release}
77 %description imgdisplay
78 Install this package if you want to display images in w3m run on xterm
81 %description imgdisplay -l pl.UTF-8
82 Ten pakiet pozwala przeglądarce w3m wyświetlać obrazki w xtermie lub
83 na linuksowym framebufferze.
95 %{__sed} '/^AC_PROG_CXX$/d' -i configure.ac
98 cp -f /usr/share/automake/config.sub .
105 --enable-image="x11,fb,fb+s" \
106 --enable-keymap=lynx \
107 --with-editor=/bin/vi \
108 --with-imagelib="gdk-pixbuf" \
109 --with-mailer=/bin/mail \
110 --with-browser=%{_bindir}/mozilla \
111 --with-termlib=ncurses
116 rm -rf $RPM_BUILD_ROOT
117 install -d $RPM_BUILD_ROOT%{_mandir}/man1
119 %{__make} install install-helpfile \
120 DESTDIR=$RPM_BUILD_ROOT
122 # symlink instead of duplicated file
123 ln -sf w3mhelp-lynx_en.html $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp.html
128 rm -rf $RPM_BUILD_ROOT
130 %files -f %{name}.lang
131 %defattr(644,root,root,755)
132 %doc doc/*.html doc/{README,keymap,menu}.* NEWS
133 %attr(755,root,root) %{_bindir}/w3m
134 %attr(755,root,root) %{_bindir}/w3mman
136 %attr(755,root,root) %{_libdir}/w3m/inflate
137 %attr(755,root,root) %{_libdir}/w3m/xface2xpm
138 %dir %{_libdir}/w3m/cgi-bin
139 %attr(755,root,root) %{_libdir}/w3m/cgi-bin/*.cgi
140 %attr(755,root,root) %{_libdir}/w3m/cgi-bin/w3mbookmark
141 %attr(755,root,root) %{_libdir}/w3m/cgi-bin/w3mhelperpanel
143 %{_datadir}/w3m/w3mhelp.html
144 %{_datadir}/w3m/w3mhelp*en.*
145 %lang(ja) %{_datadir}/w3m/w3mhelp*ja.*
146 %{_datadir}/w3m/w3mhelp-funcname.pl
147 %{_mandir}/man1/w3m.1*
148 %{_mandir}/man1/w3mman.1*
149 %lang(ja) %{_mandir}/ja/man1/w3m.1*
152 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_libdir}/w3m/w3mimgdisplay