]> git.pld-linux.org Git - packages/w3m.git/blobdiff - w3m.spec
- 0.5.3
[packages/w3m.git] / w3m.spec
index a1c9eb794ecf1c1a3b2c0da36133bb293ddd6aa1..f0a38a1a943859fcf878fb7f670d57d02354bf5a 100644 (file)
--- a/w3m.spec
+++ b/w3m.spec
@@ -1,25 +1,31 @@
 Summary:       Text based browser for the world wide web
-Summary(de):   Text-Browser für das WWW
-Summary(es):   w3m es un paginador, pero puede usarse también como un navegador WWW
-Summary(fr):   Navigateur en mode texte pour le world wide web
-Summary(pl):   Przegl±darka WWW pracuj±ca w trybie tekstowym
-Summary(pt_BR):        O w3m é um paginador, mas pode ser usado também como um navegador WWW
-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.4.1
+Version:       0.5.3
 Release:       1
 Epoch:         1
 License:       MIT-like
 Group:         Applications/Networking
-Source0:       http://dl.sourceforge.net/w3m/%{name}-%{version}.tar.gz
-Patch0:                %{name}-dontresetiso2.patch
-Patch1:                %{name}-gzip_fallback.patch
-Patch2:                %{name}-nolibs.patch
+Source0:       http://download.sourceforge.net/w3m/%{name}-%{version}.tar.gz
+# Source0-md5: 1b845a983a50b8dec0169ac48479eacc
+Patch0:                %{name}-gzip_fallback.patch
+Patch1:                %{name}-nolibs.patch
 URL:           http://w3m.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gc-devel
+BuildRequires: gettext-devel
+BuildRequires: gtk+2-devel >= 1:2.0
 BuildRequires: gpm-devel
-BuildRequires: imlib-devel
+BuildRequires: imlib2-devel
 BuildRequires: ncurses-devel >= 5.0
-BuildRequires: openssl-devel >= 0.9.7
+BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: pkgconfig
 Provides:      webclient
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -28,88 +34,70 @@ 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
-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
+%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 wywietlanie 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 pt_BR
-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
+%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
-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 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):   Wsparcie dla wy¶wietlania obrazków dla w3m
+Summary(pl.UTF-8):     Wsparcie dla wyświetlania obrazków dla w3m
 Group:         Applications/Networking
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description imgdisplay
 Install this package if you want to display images in w3m run on xterm
 or Linux framebuffer.
 
-%description imgdisplay -l pl
-Zainstaluj ten pakiet je¶li chcesz aby w3m wy¶wietla³ obrazki w
+%description imgdisplay -l pl.UTF-8
+Zainstaluj ten pakiet jeśli chcesz aby w3m wyświetlał obrazki w
 xtermie lub na linuksowym framebufferze.
 
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
+
+# update acinclude.m4 from aclocal.m4 part
+#head -n 893 aclocal.m4 > acinclude.m4
 
 %build
-use_ipv6=y; export use_ipv6
-./configure <<EOF
-%{_bindir}
-%{_libdir}/w3m
-%{_libdir}/w3m/cgi-bin
-%{_datadir}/w3m
-%{_mandir}
-%{_sysconfdir}/w3m
-2
-y
-5
-y
-y
-y
-y
-y
-n
-y
-n
-y
-y
-y
-y
-y
-y
-y
-/bin/vi
-/usr/bin/mozilla
-%{__cc}
-%{rpmcflags}
--lncurses
-%{rpmldflags}
-EOF
+cp -f /usr/share/automake/config.sub .
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%configure \
+       --enable-gopher \
+       --enable-image="x11,fb,fb+s" \
+       --enable-keymap=lynx \
+       --with-editor=/bin/vi \
+       --with-imagelib="gdk-pixbuf" \
+       --with-mailer=/bin/mail \
+       --with-browser=/usr/bin/mozilla \
+       --with-termlib=ncurses
 
 %{__make}
 
@@ -117,15 +105,18 @@ EOF
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
-%{__make} install install-helpfile DESTDIR=$RPM_BUILD_ROOT
+%{__make} install install-helpfile \
+       DESTDIR=$RPM_BUILD_ROOT
 
 # symlink instead of duplicated file
 ln -sf w3mhelp-lynx_en.html $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp.html
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc doc/*.html doc/{README,keymap,menu}.* NEWS
 %attr(755,root,root) %{_bindir}/*
This page took 0.035227 seconds and 4 git commands to generate.