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