]> git.pld-linux.org Git - packages/lynx.git/blob - lynx.spec
- changed all BuildRoot definitons
[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:        4
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 Patch7:         lynx2-8-3-ipv6-20-02-00.patch.gz   
22 URL:            http://lynx.browser.org/
23 BuildRequires:  zlib-devel
24 BuildRequires:  ncurses-devel >= 5.0
25 Provides:       webclient
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _libdir         %{_datadir}/lynx
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 %patch7 -p1
62
63 %build
64 CFLAGS="-w -I/usr/include/ncurses"; export CFLAGS
65 LDFLAGS="-s"; export LDFLAGS
66 %configure \
67         --with-screen=ncurses \
68         --enable-nls \
69         --without-included-gettext \
70         --enable-charset-choice \
71         --enable-cjk        \
72         --enable-default-colors \
73         --enable-file-upload \
74         --enable-justify-elts \
75         --enable-kbd-layout \
76         --enable-read-eta \
77         --enable-scrollbar \
78         --enable-warnings \
79         --enable-default-colors \
80         --enable-externs \
81         --enable-internal-links \
82         --enable-nsl-fork \
83         --enable-persistent-cookies \
84         --enable-gzip-help \
85         --enable-libjs \
86         --enable-addrlist-page \
87         --enable-prettysrc \
88         --enable-source-cache \
89         --enable-color-style \
90         --enable-cgi-links \
91         --enable-exec-links \
92         --enable-exec-scripts \
93         --disable-cjk \
94         --with-zlib \
95         --without-socks \
96         --without-socks5 \
97         --with-ssl
98
99 make
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT%{_applnkdir}/Networking/WWW
104
105 make install install-help \
106         DESTDIR=$RPM_BUILD_ROOT \
107         helpdir=%{_libdir}/help
108
109 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Networking/WWW/lynx.desktop
110
111 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
112         C[HO]* PROBLEMS README samples/* test/* docs/README*
113
114 %find_lang %{name}
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc C[HO]* PROBLEMS.gz README.gz samples test docs/README*
122
123 %{_applnkdir}/Networking/WWW/lynx.desktop
124
125 %attr(755,root,root) %{_bindir}/*
126
127 %{_mandir}/man1/*
128 %{_datadir}/lynx
This page took 0.063835 seconds and 4 git commands to generate.