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