]> git.pld-linux.org Git - packages/lynx.git/blob - lynx.spec
- release ++
[packages/lynx.git] / lynx.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:           lynx
7 Version:        2.8.3dev.16
8 Release:        4
9 License:        GPL
10 Group:          Applications/Networking
11 Group(pl):      Aplikacje/Sieciowe
12 Source0:        http://sol.slcc.edu/lynx/current/%{name}%{version}.tar.bz2
13 Source1:        lynx.desktop
14 Patch0:         lynx-pld.patch
15 Patch1:         lynx-overflow.patch
16 Patch2:         lynx-config.patch
17 Patch3:         lynx.cfg.patch
18 Patch4:         lynx-helpdir.patch
19 Patch5:         lynx-DESTDIR.patch
20 Patch6:         lynx-283d16-ssl.patch
21 Patch7:         lynx2-8-3-ipv6-20-02-00.patch.gz   
22 URL:            http://lynx.browser.org/
23 BuildRequires:  zlib-devel
24 BuildRequires:  ncurses-devel >= 5.0
25 Provides:       webclient
26 BuildRoot:      /tmp/%{name}-%{version}-root
27
28 %define         _libdir         %{_datadir}/lynx
29 %define         _applnkdir      /usr/X11R6/share/applnk
30
31 %description
32 This a terminal based WWW browser. While it does not make any attempt at
33 displaying graphics, it has good support for HTML text formatting, forms,
34 and tables.
35
36 %description -l de
37 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch
38 unternommen wird, Grafiken darzustellen, so bietet er doch guten  Support
39 für HTML-Textformatierung, Formulare und Tabellen.
40
41 %description -l fr
42 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il sait
43 bien gérer le formatage HTML du texte, les formulaires et les tableaux.
44
45 %description -l pl
46 Lynx jest przegl±dark± WWW dzia³aj±c± w trybie tekstowym. Dobrze formatuje
47 tekst w HTML, ale nie pozwala na wy¶wietlanie grafiki.
48
49 %description -l tr
50 Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de, formlar ve
51 tablolar için desteði vardýr.
52
53 %prep
54 %setup  -q -n %{name}2-8-3
55 %patch0 -p1 
56 %patch1 -p1
57 %patch2 -p1
58 %patch3 -p1
59 %patch4 -p1
60 %patch5 -p1
61 %patch6 -p1
62 %patch7 -p1
63
64 %build
65 CFLAGS="-w -I/usr/include/ncurses"; export CFLAGS
66 LDFLAGS="-s"; export LDFLAGS
67 %configure \
68         --with-screen=ncurses \
69         --enable-nls \
70         --without-included-gettext \
71         --enable-charset-choice \
72         --enable-cjk        \
73         --enable-default-colors \
74         --enable-file-upload \
75         --enable-justify-elts \
76         --enable-kbd-layout \
77         --enable-read-eta \
78         --enable-scrollbar \
79         --enable-warnings \
80         --enable-default-colors \
81         --enable-externs \
82         --enable-internal-links \
83         --enable-nsl-fork \
84         --enable-persistent-cookies \
85         --enable-gzip-help \
86         --enable-libjs \
87         --enable-addrlist-page \
88         --enable-prettysrc \
89         --enable-source-cache \
90         --enable-color-style \
91         --enable-cgi-links \
92         --enable-exec-links \
93         --enable-exec-scripts \
94         --disable-cjk \
95         --with-zlib \
96         --without-socks \
97         --without-socks5 \
98         --with-ssl
99
100 make
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT%{_applnkdir}/Networking/WWW
105
106 make install install-help \
107         DESTDIR=$RPM_BUILD_ROOT \
108         helpdir=%{_libdir}/help
109
110 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Networking/WWW/lynx.desktop
111
112 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
113         C[HO]* PROBLEMS README samples/* test/* docs/README*
114
115 %find_lang %{name}
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %files -f %{name}.lang
121 %defattr(644,root,root,755)
122 %doc C[HO]* PROBLEMS.gz README.gz samples test docs/README*
123
124 %{_applnkdir}/Networking/WWW/lynx.desktop
125
126 %attr(755,root,root) %{_bindir}/*
127
128 %{_mandir}/man1/*
129 %{_datadir}/lynx
This page took 0.059516 seconds and 4 git commands to generate.