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