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