]> git.pld-linux.org Git - packages/w3m.git/blob - w3m.spec
6bb148f85581de63e1c2c143c39c3e242d2e99cd
[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.6
8 Epoch:          1
9 Release:        1
10 License:        GPL
11 Group:          Applications/Networking
12 Group(pl):      Aplikacje/Sieciowe
13 Group(pl):      Aplikacje/Sieciowe
14 Source0:        ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/%{name}-%{version}.tar.gz
15 Patch0:         w3m-config.patch
16 Patch1:         w3m-perl.patch
17 URL:            http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/
18 BuildRequires:  ncurses-devel >= 5.0
19 BuildRequires:  openssl-devel >= 0.9.4-2
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 at
25 displaying graphics, it has good support for HTML text formatting, forms,
26 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  Support
31 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 sait
35 bien gérer le formatage HTML du texte, les formulaires et les tableaux.
36
37 %description -l pl
38 Przegl±darka WWW dzia³aj±c± w trybie tekstowym. Dobrze formatuje tekst w
39 HTML, ale nie pozwala na wy¶wietlanie grafiki.
40
41 %description -l tr
42 Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de, formlar ve
43 tablolar için desteði vardýr.
44
45 %prep
46 %setup  -q -n %{name}
47 %patch0 -p1 
48 %patch1 -p1 
49
50 %build
51 find -name CVS -type d |xargs rm -rf 
52 ./configure <<EOF;
53 %{_bindir}
54 %{_libdir}/w3m
55 %{_datadir}/w3m
56 2
57 y
58 5
59 /bin/vi
60 /bin/mail
61 %{_bindir}/netscape
62 gcc
63 $RPM_OPT_FLAGS
64 -lncurses
65 -lnsl -lssl -lcrypto
66
67 EOF
68
69 LDFLAGS="-s"; export LDFLAGS
70
71 make 
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 install -d $RPM_BUILD_ROOT%{_mandir}/man1
77
78 make install DESTDIR=$RPM_BUILD_ROOT
79
80 mv doc/w3m.1 $RPM_BUILD_ROOT%{_mandir}/man1/w3m.1
81
82 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* doc/*
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %files
88 %defattr(644,root,root,755)
89 %doc doc/*.gz
90 %attr(755,root,root) %{_bindir}/*
91 %{_libdir}/w3m
92 %{_datadir}/w3m
93 %{_mandir}/man1/*
This page took 0.032156 seconds and 3 git commands to generate.