]> git.pld-linux.org Git - packages/w3m.git/blob - w3m.spec
ff0257f0f2d8b089986002c50e03af3df134a0e8
[packages/w3m.git] / w3m.spec
1 Summary:        Text based browser for the world wide web
2 Summary(de):    Text-Browser für das WWW
3 Summary(es):    w3m es un paginador, pero puede usarse también como un navegador WWW
4 Summary(fr):    Navigateur en mode texte pour le world wide web
5 Summary(pl):    Przegl±darka WWW pracuj±ca w trybie tekstowym
6 Summary(pt_BR): O w3m é um paginador, mas pode ser usado também como um navegador WWW
7 Summary(tr):    Metin ekranda WWW tarayýcý
8 Name:           w3m
9 Version:        0.2.4
10 Release:        1
11 Epoch:          1
12 License:        MIT-like
13 Group:          Applications/Networking
14 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/w3m/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-dontresetiso2.patch
16 Patch1:         %{name}-ipv6.patch
17 URL:            http://w3m.sourceforge.net/
18 BuildRequires:  ncurses-devel >= 5.0
19 BuildRequires:  openssl-devel >= 0.9.6a
20 BuildRequires:  gpm-devel
21 Provides:       webclient
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This a terminal based WWW browser. While it does not make any attempt
26 at displaying graphics, it has good support for HTML text formatting,
27 forms, and tables.
28
29 %description -l de
30 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch
31 unternommen wird, Grafiken darzustellen, so bietet er doch guten
32 Support für HTML-Textformatierung, Formulare und Tabellen.
33
34 %description -l es
35 w3m es un paginador similar a las órdenes more y less. Este paquete
36 también puede utilizarse como un visualizador de páginas WWW en modo
37 texto.
38
39 %description -l fr
40 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
41 sait bien gérer le formatage HTML du texte, les formulaires et les
42 tableaux.
43
44 %description -l pl
45 Przegl±darka WWW dzia³aj±c± w trybie tekstowym. Dobrze formatuje tekst
46 w HTML, ale nie pozwala na wy¶wietlanie grafiki.
47
48 %description -l pt_BR
49 O w3m é um paginador similar aos comandos more e less. Este pacote
50 pode ser ainda utilizado como um visualizador de páginas WWW em modo
51 texto.
52
53 %description -l tr
54 Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de,
55 formlar ve tablolar için desteði vardýr.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60 %patch1 -p1
61
62 %build
63 ./configure <<EOF
64 %{_bindir}
65 %{_libdir}/w3m
66 %{_datadir}/w3m
67 %{_sysconfdir}/w3m
68 2
69 y
70 5
71 y
72 y
73 y
74 y
75 y
76 y
77 /bin/vi
78 /bin/mail
79 %{_prefix}/X11R6/bin/netscape
80 %{__cc}
81 %{rpmcflags}
82 -lncurses
83 %{rpmldflags}
84 EOF
85
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT%{_mandir}/man1
91
92 %{__make} install install-helpfile DESTDIR=$RPM_BUILD_ROOT
93
94 mv -f doc/w3m.1 $RPM_BUILD_ROOT%{_mandir}/man1/w3m.1
95 # symlink instead of duplicated file
96 ln -sf w3mhelp-lynx_en.html $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp.html
97
98 gzip -9nf doc/{README,keymap,menu}.* NEWS
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %files
104 %defattr(644,root,root,755)
105 %doc doc/*.gz *.gz doc/*.html
106 %attr(755,root,root) %{_bindir}/*
107 %dir %{_libdir}/w3m
108 %attr(755,root,root) %{_libdir}/w3m/*
109 %dir %{_datadir}/w3m
110 %{_datadir}/w3m/w3mhelp.html
111 %{_datadir}/w3m/w3mhelp*en.*
112 %lang(ja) %{_datadir}/w3m/w3mhelp*ja.*
113 %{_datadir}/w3m/w3mhelp-funcname.pl
114 %{_mandir}/man1/*
This page took 0.071042 seconds and 2 git commands to generate.