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 URL: http://w3m.sourceforge.net/
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: gc-devel
22 BuildRequires: gettext-devel
23 BuildRequires: gpm-devel
24 BuildRequires: gtk+2-devel >= 1:2.0
25 BuildRequires: imlib2-devel
26 BuildRequires: ncurses-devel >= 5.0
27 BuildRequires: openssl-devel >= 0.9.7d
28 BuildRequires: pkgconfig
29 BuildRequires: sed >= 4.0
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 This a terminal based WWW browser. While it does not make any attempt
35 at displaying graphics, it has good support for HTML text formatting,
38 %description -l de.UTF-8
39 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch
40 unternommen wird, Grafiken darzustellen, so bietet er doch guten
41 Support für HTML-Textformatierung, Formulare und Tabellen.
43 %description -l es.UTF-8
44 w3m es un paginador similar a las órdenes more y less. Este paquete
45 también puede utilizarse como un visualizador de páginas WWW en modo
48 %description -l fr.UTF-8
49 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
50 sait bien gérer le formatage HTML du texte, les formulaires et les
53 %description -l pl.UTF-8
54 Przeglądarka WWW działającą w trybie tekstowym. Dobrze formatuje tekst
55 w HTML, ale nie pozwala na wyświetlanie grafiki.
57 %description -l pt_BR.UTF-8
58 O w3m é um paginador similar aos comandos more e less. Este pacote
59 pode ser ainda utilizado como um visualizador de páginas WWW em modo
62 %description -l tr.UTF-8
63 Metin ekranda çalışan bir WWW tarayıcıdır. Şekil gösteremese de,
64 formlar ve tablolar için desteği vardır.
67 Summary: Image display support for w3m
68 Summary(pl.UTF-8): Wyświetlanie obrazków dla w3m
69 Group: Applications/Networking
70 Requires: %{name} = %{epoch}:%{version}-%{release}
72 %description imgdisplay
73 Install this package if you want to display images in w3m run on xterm
76 %description imgdisplay -l pl.UTF-8
77 Ten pakiet pozwala przeglądarce w3m wyświetlać obrazki w xtermie lub
78 na linuksowym framebufferze.
85 %{__sed} '/^AC_PROG_CXX$/d' -i configure.ac
88 cp -f /usr/share/automake/config.sub .
94 --enable-image="x11,fb,fb+s" \
95 --enable-keymap=lynx \
96 --with-editor=/bin/vi \
97 --with-imagelib="gdk-pixbuf" \
98 --with-mailer=/bin/mail \
99 --with-browser=%{_bindir}/mozilla \
100 --with-termlib=ncurses
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT%{_mandir}/man1
108 %{__make} install install-helpfile \
109 DESTDIR=$RPM_BUILD_ROOT
111 # symlink instead of duplicated file
112 ln -sf w3mhelp-lynx_en.html $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp.html
117 rm -rf $RPM_BUILD_ROOT
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc doc/*.html doc/{README,keymap,menu}.* NEWS
122 %attr(755,root,root) %{_bindir}/w3m
123 %attr(755,root,root) %{_bindir}/w3mman
125 %attr(755,root,root) %{_libdir}/w3m/inflate
126 %attr(755,root,root) %{_libdir}/w3m/xface2xpm
127 %dir %{_libdir}/w3m/cgi-bin
128 %attr(755,root,root) %{_libdir}/w3m/cgi-bin/*.cgi
129 %attr(755,root,root) %{_libdir}/w3m/cgi-bin/w3mbookmark
130 %attr(755,root,root) %{_libdir}/w3m/cgi-bin/w3mhelperpanel
132 %{_datadir}/w3m/w3mhelp.html
133 %{_datadir}/w3m/w3mhelp*en.*
134 %lang(ja) %{_datadir}/w3m/w3mhelp*ja.*
135 %{_datadir}/w3m/w3mhelp-funcname.pl
136 %{_mandir}/man1/w3m.1*
137 %{_mandir}/man1/w3mman.1*
138 %lang(ja) %{_mandir}/ja/man1/w3m.1*
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_libdir}/w3m/w3mimgdisplay