]>
Commit | Line | Data |
---|---|---|
1 | Summary: Text based browser for the world wide web | |
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ı | |
8 | Name: w3m | |
9 | Version: 0.5.1 | |
10 | Release: 1 | |
11 | Epoch: 1 | |
12 | License: MIT-like | |
13 | Group: Applications/Networking | |
14 | Source0: http://dl.sourceforge.net/w3m/%{name}-%{version}.tar.gz | |
15 | # Source0-md5: 0678b72e07e69c41709d71ef0fe5da13 | |
16 | Patch0: %{name}-gzip_fallback.patch | |
17 | Patch1: %{name}-nolibs.patch | |
18 | URL: http://w3m.sourceforge.net/ | |
19 | BuildRequires: autoconf | |
20 | BuildRequires: automake | |
21 | BuildRequires: gc-devel | |
22 | BuildRequires: gdk-pixbuf-devel >= 0.16.0 | |
23 | BuildRequires: gettext-devel | |
24 | BuildRequires: gpm-devel | |
25 | BuildRequires: ncurses-devel >= 5.0 | |
26 | BuildRequires: openssl-devel >= 0.9.7d | |
27 | BuildRequires: pkgconfig | |
28 | Provides: webclient | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
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. | |
35 | ||
36 | %description -l de.UTF-8 | |
37 | Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch | |
38 | unternommen wird, Grafiken darzustellen, so bietet er doch guten | |
39 | Support für HTML-Textformatierung, Formulare und Tabellen. | |
40 | ||
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 | |
44 | texto. | |
45 | ||
46 | %description -l fr.UTF-8 | |
47 | Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il | |
48 | sait bien gérer le formatage HTML du texte, les formulaires et les | |
49 | tableaux. | |
50 | ||
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. | |
54 | ||
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 | |
58 | texto. | |
59 | ||
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. | |
63 | ||
64 | %package imgdisplay | |
65 | Summary: Image display support for w3m | |
66 | Summary(pl.UTF-8): Wsparcie dla wyświetlania obrazków dla w3m | |
67 | Group: Applications/Networking | |
68 | Requires: %{name} = %{epoch}:%{version} | |
69 | ||
70 | %description imgdisplay | |
71 | Install this package if you want to display images in w3m run on xterm | |
72 | or Linux framebuffer. | |
73 | ||
74 | %description imgdisplay -l pl.UTF-8 | |
75 | Zainstaluj ten pakiet jeśli chcesz aby w3m wyświetlał obrazki w | |
76 | xtermie lub na linuksowym framebufferze. | |
77 | ||
78 | %prep | |
79 | %setup -q | |
80 | %patch0 -p1 | |
81 | %patch1 -p1 | |
82 | ||
83 | %build | |
84 | cp -f /usr/share/automake/config.sub . | |
85 | %{__gettextize} | |
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 | |
95 | ||
96 | %{__make} | |
97 | ||
98 | %install | |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 | |
101 | ||
102 | %{__make} install install-helpfile \ | |
103 | DESTDIR=$RPM_BUILD_ROOT | |
104 | ||
105 | # symlink instead of duplicated file | |
106 | ln -sf w3mhelp-lynx_en.html $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp.html | |
107 | ||
108 | %find_lang %{name} | |
109 | ||
110 | %clean | |
111 | rm -rf $RPM_BUILD_ROOT | |
112 | ||
113 | %files -f %{name}.lang | |
114 | %defattr(644,root,root,755) | |
115 | %doc doc/*.html doc/{README,keymap,menu}.* NEWS | |
116 | %attr(755,root,root) %{_bindir}/* | |
117 | %dir %{_libdir}/w3m | |
118 | %attr(755,root,root) %{_libdir}/w3m/inflate | |
119 | %attr(755,root,root) %{_libdir}/w3m/xface2xpm | |
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 | |
124 | %dir %{_datadir}/w3m | |
125 | %{_datadir}/w3m/w3mhelp.html | |
126 | %{_datadir}/w3m/w3mhelp*en.* | |
127 | %lang(ja) %{_datadir}/w3m/w3mhelp*ja.* | |
128 | %{_datadir}/w3m/w3mhelp-funcname.pl | |
129 | %{_mandir}/man1/*.1* | |
130 | %lang(ja) %{_mandir}/ja/man1/*.1* | |
131 | ||
132 | %files imgdisplay | |
133 | %defattr(644,root,root,755) | |
134 | %attr(755,root,root) %{_libdir}/w3m/w3mimgdisplay |