]> git.pld-linux.org Git - packages/lynx.git/blob - lynx.spec
- removed bashizms,
[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.4dev.3
8 Release:        1
9 License:        GPL
10 URL:            http://lynx.browser.org
11 Group:          Applications/Networking
12 Group(pl):      Aplikacje/Sieciowe
13 Source0:        http://lynx.isc.org/current/%{name}%{version}.tar.bz2
14 Source1:        lynx.wmconfig
15 Patch0:         lynx-pld.patch
16 Patch1:         lynx-config.patch
17 Patch2:         lynx.cfg.patch
18 Patch3:         http://www.moxienet.com/lynx/lynx-283-ssl.patch.bz2
19 Patch4:         lynx-overflow.patch
20 Patch5:         lynx-po_DESTDIR.patch
21 BuildRequires:  zlib-devel
22 BuildRequires:  slang-devel
23 # BuildRequires:        socks5-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This a terminal based WWW browser. While it does not make any attempt
28 at displaying graphics, it has good support for HTML text formatting,
29 forms, and tables.
30
31 %description -l pl
32 Lynx jest przegl±dark± WWW dzia³aj±c± w trybie tekstowym. Dobrze
33 formatuje tekst w HTML, ale nie pozwala na wy¶wietlanie grafiki.
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
38 Support 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
42 sait bien gérer le formatage HTML du texte, les formulaires et les
43 tableaux.
44
45 %description -l tr
46 Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de,
47 formlar ve tablolar için desteði vardýr.
48
49 %prep
50 %setup  -q -n %{name}2-8-4
51 %patch0 -p1 
52 %patch1 -p1
53 %patch2 -p1
54 %patch3 -p1
55 %patch4 -p1
56 %patch5 -p1
57
58 %build
59 LDFLAGS="-s"; export LDFLAGS
60 %configure \
61         --with-screen=slang \
62         --without-included-gettext \
63         --with-zlib \
64         --with-ssl \
65         --enable-addrlist-page \
66         --enable-cgi-links \
67         --enable-default-colors \
68         --enable-exec-links \
69         --enable-exec-scripts \
70         --enable-externs \
71         --enable-gzip-help \
72         --enable-internal-links \
73         --enable-libjs \
74         --enable-nls \
75         --enable-nsl-fork \
76         --enable-persistent-cookies \
77         --enable-prettysrc \
78         --enable-source-cache \
79         --enable-warnings 
80 #       --with-socks5=%{_prefix} \
81 #       --enable-color-style \
82
83 make    SSL_LIBS= "-lssl -lsslcrypto " \
84         SSL_DEFINES= "-I%{_includedir}/ssl -DUSE_SSL"
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig \
89         $RPM_BUILD_ROOT%{_datadir}/lynx/help/keystrokes
90
91 make install install-help \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig/lynx
95
96 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
97         C[HO]* PROBLEMS README samples/* test/* docs/README*
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %files
103 %defattr(644,root,root,755)
104 %doc C[HO]* PROBLEMS.gz README.gz samples test docs/README*
105
106 %config %verify(not size mtime md5) %{_libdir}/lynx.cfg
107 %config(missingok) %{_sysconfdir}/X11/wmconfig/lynx
108
109 %attr(755,root,root) %{_bindir}/*
110
111 %{_mandir}/man1/*
112 %{_datadir}/lynx
This page took 0.034976 seconds and 4 git commands to generate.