]> git.pld-linux.org Git - packages/w3m.git/blob - w3m.spec
- rel 2 is back - STB ASAP (current package doesn't fit to distro's
[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(fr):    Navigateur en mode texte pour le world wide web
4 Summary(pl):    Przegl±darka WWW pracuj±ca w trybie tekstowym
5 Summary(tr):    Metin ekranda WWW tarayýcý
6 Name:           w3m
7 Version:        0.2.1
8 Release:        2
9 Epoch:          1
10 License:        GPL
11 Group:          Applications/Networking
12 Group(de):      Applikationen/Netzwerkwesen
13 Group(pl):      Aplikacje/Sieciowe
14 Source0:        ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-config.patch
16 Patch1:         %{name}-dontresetiso2.patch
17 Patch2:         %{name}-ssl-segv.patch
18 URL:            http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/
19 BuildRequires:  ncurses-devel >= 5.0
20 BuildRequires:  openssl-devel >= 0.9.6a
21 BuildRequires:  gpm-devel
22 Provides:       webclient
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This a terminal based WWW browser. While it does not make any attempt
27 at displaying graphics, it has good support for HTML text formatting,
28 forms, and tables.
29
30 %description -l de
31 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch
32 unternommen wird, Grafiken darzustellen, so bietet er doch guten
33 Support für HTML-Textformatierung, Formulare und Tabellen.
34
35 %description -l fr
36 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
37 sait bien gérer le formatage HTML du texte, les formulaires et les
38 tableaux.
39
40 %description -l pl
41 Przegl±darka WWW dzia³aj±c± w trybie tekstowym. Dobrze formatuje tekst
42 w HTML, ale nie pozwala na wy¶wietlanie grafiki.
43
44 %description -l tr
45 Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de,
46 formlar ve tablolar için desteði vardýr.
47
48 %prep
49 %setup -q
50 %patch0 -p1 
51 %patch1 -p1
52 %patch2 -p1
53
54 %build
55 find -name CVS -type d |xargs rm -rf 
56 ./configure <<EOF;
57 %{_bindir}
58 %{_libdir}/w3m
59 %{_datadir}/w3m
60 2
61 y
62 y
63 y
64 n
65 y
66 5
67 y
68 /bin/vi
69 /bin/mail
70 %/usr/X11R6/bin/netscape
71 %{__cc}
72 %{rpmcflags}
73 -lncurses
74 -lnsl -lssl -lcrypto
75
76 EOF
77
78 %{__make} 
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT%{_mandir}/man1
83
84 %{__make} install DESTDIR=$RPM_BUILD_ROOT
85
86 mv -f doc/w3m.1 $RPM_BUILD_ROOT%{_mandir}/man1/w3m.1
87 # symlink instead of duplicated file
88 ln -sf w3mhelp-lynx_en.html $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp.html
89
90 gzip -9nf doc/*
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %files
96 %defattr(644,root,root,755)
97 %doc doc/*.gz
98 %attr(755,root,root) %{_bindir}/*
99 %{_libdir}/w3m
100 %dir %{_datadir}/w3m
101 %{_datadir}/w3m/w3mhelp.html
102 %{_datadir}/w3m/w3mhelp*_en.html
103 %lang(ja) %{_datadir}/w3m/w3mhelp*_ja.html
104 %{_mandir}/man1/*
This page took 0.088045 seconds and 4 git commands to generate.