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