]> git.pld-linux.org Git - packages/w3m.git/blame - w3m.spec
- converted to UTF-8
[packages/w3m.git] / w3m.spec
CommitLineData
28077df7 1Summary: Text based browser for the world wide web
85fab644
JR
2Summary(de.UTF-8): Text-Browser für das WWW
3Summary(es.UTF-8): w3m es un paginador, pero puede usarse también como un navegador WWW
4Summary(fr.UTF-8): Navigateur en mode texte pour le world wide web
5Summary(pl.UTF-8): Przeglądarka WWW pracująca w trybie tekstowym
6Summary(pt_BR.UTF-8): O w3m é um paginador, mas pode ser usado também como um navegador WWW
7Summary(tr.UTF-8): Metin ekranda WWW tarayıcı
28077df7 8Name: w3m
0b5572e4 9Version: 0.5.1
94bcf5c8 10Release: 1
efb95c30 11Epoch: 1
a73ac8b2 12License: MIT-like
949ed39e 13Group: Applications/Networking
30bb06b0 14Source0: http://dl.sourceforge.net/w3m/%{name}-%{version}.tar.gz
0b5572e4 15# Source0-md5: 0678b72e07e69c41709d71ef0fe5da13
94bcf5c8
JB
16Patch0: %{name}-gzip_fallback.patch
17Patch1: %{name}-nolibs.patch
a73ac8b2 18URL: http://w3m.sourceforge.net/
b4c6dfdc
JB
19BuildRequires: autoconf
20BuildRequires: automake
21BuildRequires: gc-devel
22BuildRequires: gdk-pixbuf-devel >= 0.16.0
22403954 23BuildRequires: gettext-devel
ab142f35 24BuildRequires: gpm-devel
2d807f13 25BuildRequires: ncurses-devel >= 5.0
790f7cde 26BuildRequires: openssl-devel >= 0.9.7d
0b5572e4 27BuildRequires: pkgconfig
b17055c8 28Provides: webclient
96a811de 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28077df7 30
31%description
1df3ce78 32This a terminal based WWW browser. While it does not make any attempt
33at displaying graphics, it has good support for HTML text formatting,
34forms, and tables.
28077df7 35
85fab644
JR
36%description -l de.UTF-8
37Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch
1df3ce78 38unternommen wird, Grafiken darzustellen, so bietet er doch guten
85fab644 39Support für HTML-Textformatierung, Formulare und Tabellen.
28077df7 40
85fab644
JR
41%description -l es.UTF-8
42w3m es un paginador similar a las órdenes more y less. Este paquete
43también puede utilizarse como un visualizador de páginas WWW en modo
7c2a6418 44texto.
45
85fab644 46%description -l fr.UTF-8
1df3ce78 47Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
85fab644 48sait bien gérer le formatage HTML du texte, les formulaires et les
1df3ce78 49tableaux.
28077df7 50
85fab644
JR
51%description -l pl.UTF-8
52Przeglądarka WWW działającą w trybie tekstowym. Dobrze formatuje tekst
53w HTML, ale nie pozwala na wyświetlanie grafiki.
28077df7 54
85fab644
JR
55%description -l pt_BR.UTF-8
56O w3m é um paginador similar aos comandos more e less. Este pacote
57pode ser ainda utilizado como um visualizador de páginas WWW em modo
7c2a6418 58texto.
59
85fab644
JR
60%description -l tr.UTF-8
61Metin ekranda çalışan bir WWW tarayıcıdır. Şekil gösteremese de,
62formlar ve tablolar için desteği vardır.
28077df7 63
c8537d6c 64%package imgdisplay
c8537d6c 65Summary: Image display support for w3m
85fab644 66Summary(pl.UTF-8): Wsparcie dla wyświetlania obrazków dla w3m
c8537d6c 67Group: Applications/Networking
0b268802 68Requires: %{name} = %{epoch}:%{version}
c8537d6c 69
70%description imgdisplay
11e72bb5
JB
71Install this package if you want to display images in w3m run on xterm
72or Linux framebuffer.
c8537d6c 73
85fab644
JR
74%description imgdisplay -l pl.UTF-8
75Zainstaluj ten pakiet jeśli chcesz aby w3m wyświetlał obrazki w
11e72bb5 76xtermie lub na linuksowym framebufferze.
c8537d6c 77
28077df7 78%prep
1df3ce78 79%setup -q
b437ad5d 80%patch0 -p1
209237f4 81%patch1 -p1
28077df7 82
83%build
4605f67e 84cp -f /usr/share/automake/config.sub .
95717429 85%{__gettextize}
b4c6dfdc
JB
86%{__aclocal}
87%{__autoconf}
88%configure \
89 --enable-gopher \
90 --enable-keymap=lynx \
91 --with-editor=/bin/vi \
92 --with-mailer=/bin/mail \
93 --with-browser=/usr/bin/mozilla \
94 --with-termlib=ncurses
33f2aa3e 95
b437ad5d 96%{__make}
28077df7 97
98%install
99rm -rf $RPM_BUILD_ROOT
28077df7 100install -d $RPM_BUILD_ROOT%{_mandir}/man1
101
b4c6dfdc
JB
102%{__make} install install-helpfile \
103 DESTDIR=$RPM_BUILD_ROOT
28077df7 104
22d7864d
JB
105# symlink instead of duplicated file
106ln -sf w3mhelp-lynx_en.html $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp.html
28077df7 107
22403954 108%find_lang %{name}
94bcf5c8 109
28077df7 110%clean
111rm -rf $RPM_BUILD_ROOT
112
22403954 113%files -f %{name}.lang
28077df7 114%defattr(644,root,root,755)
209237f4 115%doc doc/*.html doc/{README,keymap,menu}.* NEWS
28077df7 116%attr(755,root,root) %{_bindir}/*
79c51fee 117%dir %{_libdir}/w3m
c8537d6c 118%attr(755,root,root) %{_libdir}/w3m/inflate
cec9b8d3 119%attr(755,root,root) %{_libdir}/w3m/xface2xpm
11e72bb5
JB
120%dir %{_libdir}/w3m/cgi-bin
121%attr(755,root,root) %{_libdir}/w3m/cgi-bin/*.cgi
122%attr(755,root,root) %{_libdir}/w3m/cgi-bin/w3mbookmark
123%attr(755,root,root) %{_libdir}/w3m/cgi-bin/w3mhelperpanel
22d7864d
JB
124%dir %{_datadir}/w3m
125%{_datadir}/w3m/w3mhelp.html
a73ac8b2
JB
126%{_datadir}/w3m/w3mhelp*en.*
127%lang(ja) %{_datadir}/w3m/w3mhelp*ja.*
128%{_datadir}/w3m/w3mhelp-funcname.pl
b260bfc9
JB
129%{_mandir}/man1/*.1*
130%lang(ja) %{_mandir}/ja/man1/*.1*
c8537d6c 131
132%files imgdisplay
7b20071a 133%defattr(644,root,root,755)
c8537d6c 134%attr(755,root,root) %{_libdir}/w3m/w3mimgdisplay
This page took 0.133432 seconds and 4 git commands to generate.