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