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