Summary: Pager that can also be used as textbased webbrowser Name: w3m Version: 0.4.2 Release: 3mdk Group: Networking/WWW # http://belnet.dl.sourceforge.net/sourceforge/w3m/w3m-0.4.1.tar.gz Source: %name-%version.tar.bz2 BuildRoot: %_tmppath/%name-%version-%release-buildroot License: MIT style URL: http://w3m.sf.net BuildRequires: termcap-devel, imlib-devel >= 1.9.8, ungif-devel BuildRequires: libgdk-pixbuf-devel, openssl-devel, libgc-devel Provides: webclient %define _requires_exceptions perl(w3mhelp-.*) %description W3m is a text-based web browser as well as a pager like `more' or `less'. With w3m you can browse web pages through a terminal emulator window (xterm, rxvt or something like that). Moreover, w3m can be used as a text formatting tool which typesets HTML into plain text. w3m also provides w3mman which is a great manpagebrowser. %prep %__rm -rf %buildroot %setup -q %build %__sed -i s/showaudio/mplayer/ config.h.in %configure2_5x \ --with-browser=mozilla \ --with-editor=vi \ --with-mailer=/bin/mail \ --with-termlib=termcap \ --enable-alarm \ --enable-ansi-color \ --enable-bgcolor \ --enable-color \ --enable-cookie \ --enable-dict \ --enable-digest-auth \ --enable-external-uri-loader \ --enable-gopher \ --enable-help-cgi \ --enable-history \ --enable-image \ --enable-ipv6 \ --disable-japanese \ --disable-kanjisymbols \ --enable-keymap=w3m \ --enable-menu \ --enable-mouse \ --enable-nntp \ --enable-sslverify \ --enable-w3mmailer \ --disable-xface # kanji-symbols breaks menuboxes # japanese-disables options and rightclick menu %make %install %__rm -rf %buildroot %__mkdir -p %buildroot/{%_bindir,{%_datadir,%_libdir}/%name,%_mandir/{,ja_JP.ujis}/man1} %makeinstall %__install -m 644 doc-jp/w3m.1 %buildroot/%_mandir/ja_JP.ujis/man1 %__install -m 644 doc/w3m.1 %buildroot/%_mandir/man1 # %__chmod 0755 %buildroot/%_libdir/%name/w3mimgdisplay %__rm -rf %buildroot/%_mandir/ja* # menu entry mkdir -p %buildroot/%_menudir cat > %buildroot%_menudir/%name << EOF ?package(%name): \ command="%_bindir/%name http://www.linux-mandrake.com" \ title="W3m" \ longtitle="%summary" \ section="%group" \ icon="www_section.png" \ needs="text" EOF %clean rm -rf %buildroot %post %{update_menus} %postun %{clean_menus} %files %defattr(0755,root,root,0755) %_bindir/* %defattr(-,root,root,0755) %_libdir/%name %defattr(0644,root,root,0755) %doc README doc doc-jp w3mhelp-lynx_* %_menudir/%name %_datadir/%name %_mandir/man1/* %changelog * Thu Sep 25 2003 Han Boetes <han@linux-mandrake.com> 0.4.2-3mdk - Fix menu's and rightclick menu and imageviewer * Thu Sep 25 2003 Han Boetes <han@linux-mandrake.com> 0.4.2-2mdk - Cleanup - used zsh to find all legal config options. Now we have to find out which are usefull. * Tue Sep 23 2003 Pascal Terjan <CMoi@tuxfamily.org> 0.4.2-1mdk - New version - Use configure to select options - Fix Requires/BuildRequires * Fri Jul 11 2003 Han Boetes <han@linux-mandrake.com> 0.4.1-3mdk - fix path to cgi-scripts - correct macro * Sun Jun 15 2003 Pascal Terjan <CMoi@tuxfamily.org> 0.4.1-2mdk - Enforce ipv6 support - _requires_exceptions on internal perl scripts * Sun Apr 6 2003 Han Boetes <han@linux-mandrake.com> 0.4.1-1mdk - Bump - No longer needed to remove CVS files - Now really with image support - spec cleanups/make rpmlint happy * Sat Jan 11 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.3.2.2-1mdk - 0.3.2.2 * Thu Dec 5 2002 Han Boetes <han@linux-mandrake.com> 0.3.2-3mdk - added mouse and ssl support - added features from the openbsd-port - removed lang (it wasn't there) * Fri Nov 29 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.3.2-2mdk - fix [Bug 572] [w3m] : use correct path for perl interpreter - fix [Bug 573] [w3m] : add missing manpages * Tue Nov 05 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.3.2-1mdk - "sanitazed spec" release - new release - fix %%define abuse - dont reinvent defined values automatically handled by rpm - don't pass useless arguments to %%setup - overall big spec cleaning - rediff patch 0 - fix menu-title-not-capitalized * Wed Jan 09 2002 Alexander Skwar <ASkwar@Linux-Mandrake.com> 0.2.4-1mdk - 0.2.4 * Sun Dec 23 2001 Alexander Skwar <ASkwar@Linux-Mandrake.com> 0.2.3.2-1mdk - 0.2.3.2 * Fri Dec 21 2001 Alexander Skwar <ASkwar@Linux-Mandrake.com> 0.2.3-1mdk - 0.2.3 - Update URL - Redo patch0 (path) * Fri Nov 16 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.2.1-0.1mdk - remove patch2 * Tue Aug 28 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.1.11-0.2mdk - rebuild * Tue Jan 02 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.1.11-0.1mdk - used srpm from Alexander Skwar <ASkwar@Linux-Mandrake.com> : - New pre-release version, fixing some crashes - Added menu entry * Fri Aug 11 2000 Alexander Skwar <ASkwar@DigitalProjects.com> 0.1.10-2mdk - Added Provides: webclient * Thu Aug 10 2000 Alexander Skwar <ASkwar@DigitalProjects.com> 0.1.10-1mdk - New version - Patched the patch to still apply - Compile with English as the default - *NO* lynx keys, *NO* mouse - Use %%{_prefix}/vim instead of /bin/vi * Wed May 03 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1.6-2mdk - fix group - fix permission on spec * Tue Jan 25 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.1.6-1mdk - 0.1.6. - clean up specs. * Tue Dec 14 1999 Pixel <pixel@mandrakesoft.com> - clean up and mandrake adaptation