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