X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=w3m.spec;h=9aad9b96d63f8b3909fdf67b32556a1cac99f780;hb=b22ab8d;hp=2349cba3a53a4e1261b0884da393ef66cd856765;hpb=d9d9290f6003787de47b2304c98b7935d40679c9;p=packages%2Fw3m.git diff --git a/w3m.spec b/w3m.spec index 2349cba..9aad9b9 100644 --- a/w3m.spec +++ b/w3m.spec @@ -1,24 +1,43 @@ +# Conditional build: +%bcond_without image # build without image support + Summary: Text based browser for the world wide web -Summary(de): Text-Browser für das WWW -Summary(fr): Navigateur en mode texte pour le world wide web -Summary(pl): Przegl±darka WWW pracuj±ca w trybie tekstowym -Summary(tr): Metin ekranda WWW tarayýcý +Summary(de.UTF-8): Text-Browser für das WWW +Summary(es.UTF-8): w3m es un paginador, pero puede usarse también como un navegador WWW +Summary(fr.UTF-8): Navigateur en mode texte pour le world wide web +Summary(pl.UTF-8): Przeglądarka WWW pracująca w trybie tekstowym +Summary(pt_BR.UTF-8): O w3m é um paginador, mas pode ser usado também como um navegador WWW +Summary(tr.UTF-8): Metin ekranda WWW tarayıcı Name: w3m -Version: 0.2.0 -Release: 2 +Version: 0.5.3 +Release: 8 Epoch: 1 -License: GPL +License: MIT-like Group: Applications/Networking -Group(de): Applikationen/Netzwerkwesen -Group(pl): Aplikacje/Sieciowe -Source0: ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/%{name}-%{version}.tar.gz -Patch0: %{name}-config.patch -Patch1: %{name}-not-constant.patch -Patch2: %{name}-dontresetiso2.patch -URL: http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/ -BuildRequires: ncurses-devel >= 5.0 -BuildRequires: openssl-devel >= 0.9.4-2 +Source0: http://downloads.sourceforge.net/w3m/%{name}-%{version}.tar.gz +# Source0-md5: 1b845a983a50b8dec0169ac48479eacc +Patch0: %{name}-gzip_fallback.patch +Patch1: %{name}-nolibs.patch +Patch2: %{name}-0.5.3-parallel-make.patch +Patch3: %{name}-0.5.2-fix_gcc_error.patch +Patch4: %{name}-gc.patch +Patch5: format-security.patch +Patch6: ac-gettext.patch +Patch7: openssl.patch +Patch8: %{name}-configure.patch +URL: http://w3m.sourceforge.net/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gc-devel +BuildRequires: gettext-tools BuildRequires: gpm-devel +%if %{with image} +BuildRequires: imlib2-devel >= 1.0.5 +%endif +BuildRequires: ncurses-devel >= 5.0 +BuildRequires: openssl-devel >= 0.9.7d +BuildRequires: pkgconfig +BuildRequires: sed >= 4.0 Provides: webclient BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -27,73 +46,123 @@ This a terminal based WWW browser. While it does not make any attempt at displaying graphics, it has good support for HTML text formatting, forms, and tables. -%description -l de -Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch +%description -l de.UTF-8 +Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch unternommen wird, Grafiken darzustellen, so bietet er doch guten -Support für HTML-Textformatierung, Formulare und Tabellen. +Support für HTML-Textformatierung, Formulare und Tabellen. + +%description -l es.UTF-8 +w3m es un paginador similar a las órdenes more y less. Este paquete +también puede utilizarse como un visualizador de páginas WWW en modo +texto. -%description -l fr +%description -l fr.UTF-8 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il -sait bien gérer le formatage HTML du texte, les formulaires et les +sait bien gérer le formatage HTML du texte, les formulaires et les tableaux. -%description -l pl -Przegl±darka WWW dzia³aj±c± w trybie tekstowym. Dobrze formatuje tekst -w HTML, ale nie pozwala na wy¶wietlanie grafiki. +%description -l pl.UTF-8 +Przeglądarka WWW działającą w trybie tekstowym. Dobrze formatuje tekst +w HTML, ale nie pozwala na wyświetlanie grafiki. -%description -l tr -Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de, -formlar ve tablolar için desteði vardýr. +%description -l pt_BR.UTF-8 +O w3m é um paginador similar aos comandos more e less. Este pacote +pode ser ainda utilizado como um visualizador de páginas WWW em modo +texto. + +%description -l tr.UTF-8 +Metin ekranda çalışan bir WWW tarayıcıdır. Şekil gösteremese de, +formlar ve tablolar için desteği vardır. + +%package imgdisplay +Summary: Image display support for w3m +Summary(pl.UTF-8): Wyświetlanie obrazków dla w3m +Group: Applications/Networking +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: imlib2 >= 1.0.5 + +%description imgdisplay +Install this package if you want to display images in w3m run on xterm +or Linux framebuffer. + +%description imgdisplay -l pl.UTF-8 +Ten pakiet pozwala przeglądarce w3m wyświetlać obrazki w xtermie lub +na linuksowym framebufferze. %prep %setup -q -%patch0 -p1 +%patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 + +%{__sed} '/^AC_PROG_CXX$/d' -i configure.ac %build -find -name CVS -type d |xargs rm -rf -./configure <