]> git.pld-linux.org Git - packages/lynx.git/blob - lynx.spec
- masive changes:
[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.2pre.2
8 Release:        1
9 Copyright:      GPL
10 Group:          Networking
11 Group(pl):      Sieciowe
12 Source0:        http://sol.slcc.edu/lynx/current/%{name}%{version}.tar.bz2
13 Source1:        lynx.wmconfig
14 Patch0:         lynx-pld.patch
15 Patch1:         lynx-overflow.patch
16 Patch2:         lynx-config.patch
17 Patch4:         lynx.cfg.patch
18 URL:            http://lynx.browser.org/
19 BuildPrereq:    zlib-devel
20 BuildPrereq:    ncurses-devel
21 Requires:       indexhtml
22 Buildroot:      /tmp/%{name}-%{version}-%{release}-root
23
24 %description
25 This a terminal based WWW browser. While it does not make any attempt
26 at displaying graphics, it has good support for HTML text formatting,
27 forms, and tables.
28
29 %description -l de
30 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch 
31 unternommen wird, Grafiken darzustellen, so bietet er doch guten 
32 Support für HTML-Textformatierung, Formulare und Tabellen. 
33
34 %description -l fr
35 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
36 sait bien gérer le formatage HTML du texte, les formulaires et les tableaux.
37
38 %description -l pl
39 Lynx jest przegl±dark± WWW dzia³aj±c± w trybie tekstowym. Dobrze
40 formatuje tekst w HTML ale nie pozwala na wy¶wietlanie grafiki.
41
42 %description -l tr
43 Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de, formlar ve
44 tablolar için desteði vardýr.
45
46 %prep
47 %setup  -q -n %{name}2-8-2
48 %patch0 -p1
49 %patch1 -p1
50 %patch2 -p1
51 %patch4 -p1
52
53 %build
54 CFLAGS="-w" LDFLAGS="-s" \
55 ./configure %{_target} \
56         --prefix=/usr \
57         --libdir=/usr/share/lynx \
58         --with-screen=ncurses \
59         --enable-nls \
60         --without-included-gettext \
61         --enable-warnings \
62         --enable-default-colors \
63         --enable-externs \
64         --enable-internal-links \
65         --enable-nsl-fork \
66         --enable-persistent-cookies \
67         --enable-gzip-help \
68         --enable-libjs \
69         --enable-addrlist-page \
70         --enable-prettysrc \
71         --enable-source-cache \
72         --enable-color-style \
73         --enable-cgi-links \
74         --enable-exec-links \
75         --enable-exec-scripts \
76         --with-zlib  \
77         --without-socks \
78         --without-socks5 \
79         --without-ssl 
80 make
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig \
86         $RPM_BUILD_ROOT/usr/share/lynx/help/keystrokes 
87
88 make    prefix=$RPM_BUILD_ROOT/usr \
89         libdir=$RPM_BUILD_ROOT/usr/share/lynx \
90         mandir=$RPM_BUILD_ROOT%{_mandir}/man1 \
91         helpdir=$RPM_BUILD_ROOT/usr/share/lynx/help \
92         install \
93         install-help
94
95 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/lynx
96 #install samples/lynx.lss $RPM_BUILD_ROOT/usr/share/lynx/lynx.lss
97
98 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
99         C[HO]* PROBLEMS README samples/* test/* docs/README*
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files
105 %defattr(644,root,root,755)
106 %doc C[HO]* PROBLEMS.gz README.gz samples test docs/README*
107
108 /etc/X11/wmconfig/lynx
109
110 %attr(755,root,root) /usr/bin/*
111
112 %{_mandir}/man1/*
113 %dir /usr/share/lynx
114 /usr/share/lynx/help
115 %config %verify(not mtime size md5) /usr/share/lynx/lynx.lss
116 %config %verify(not size mtime md5) /usr/share/lynx/lynx.cfg
117
118 %lang(de) /usr/share/locale/de/LC_MESSAGES/lynx.mo
119 %lang(es) /usr/share/locale/es/LC_MESSAGES/lynx.mo
120 %lang(fr) /usr/share/locale/fr/LC_MESSAGES/lynx.mo
121 %lang(it) /usr/share/locale/it/LC_MESSAGES/lynx.mo
122 %lang(ko) /usr/share/locale/ko/LC_MESSAGES/lynx.mo
123 %lang(nl) /usr/share/locale/nl/LC_MESSAGES/lynx.mo
124 %lang(no) /usr/share/locale/no/LC_MESSAGES/lynx.mo
125 %lang(pl) /usr/share/locale/pl/LC_MESSAGES/lynx.mo
126 %lang(pt) /usr/share/locale/pt/LC_MESSAGES/lynx.mo
127 %lang(sl) /usr/share/locale/sl/LC_MESSAGES/lynx.mo
128 %lang(sv) /usr/share/locale/sv/LC_MESSAGES/lynx.mo
129
130 %changelog
131 * Thu Mar  4 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
132   [2.8.2dev.19-1]
133 - added /usr/share/locale/*/LC_MESSAGES/lynx.mo files fo %files,
134 - added requiring ncurses >= 4.2-12 and zlib >= 1.1.3-5
135   for installing lynx in proper enviroment.
136
137 * Thu Mar  4 1999 Artur Frysiak <wiget@usa.net> 
138 - added new configure option: --enable-nls --without-included-gettext 
139   --enable-addrlist-page  --enable-libjs
140 - added lynx-dev.19.patch (correct typo, included in next release)  
141   
142 * Wed Feb 17 1999 Artur Frysiak <wiget@usa.net>
143   [2.8.2dev.17-1d]
144 - gziped help files
145 - change install metod
146
147 * Tue Feb 16 1999 Artur Frysiak <wiget@usa.net>
148   [2.8.2dev.16-1d]
149 - moved help and test files to /usr/share/lynx
150 - changed default color scheme
151
152 * Fri Feb 05 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
153   [2.8.2dev15-2d]
154 - changed group,
155 - compressed documentation.
156
157 * Sun Jan 10 1999 Artur Frysiak <wiget@usa.net>
158   [2.8.2dev.12-1d]
159 - added URL and Group(pl) tags
160
161 * Mon Sep 01 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
162   [2.8-5d]
163 - build against glibc-2.1,
164 - changed Buildroot to /var/tmp/%%{name}-%%{version}-%%{release}-root,
165 - changed permission of lynx to 711,
166 - translation modified for pl.
167
168 * Sun Aug 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
169   [2.8-5]
170 - added -q %setup parameter,
171 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
172 - URL in HELPFILE in /etc/lynx.cfh changed to localhost,
173 - removed INSTALLATION from %doc,
174 - added %attr and %defattr macros in %files (allow build package from
175   non-root account).
176
177 * Fri May 08 1998 Prospector System <bugs@redhat.com>
178 - translations modified for de, fr, tr
179
180 * Mon May 04 1998 Cristian Gafton <gafton@redhat.com>
181 - upgraded to 2.8rel3
182 - fixed mailto: buffer overflow (used Alan's patch)
183
184 * Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com>
185 - updated to 2.8
186 - added buildroot
187
188 * Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
189 - updated to 2.7.2
190 - enabled lynxcgi
191
192 * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
193 - updated from 2.6 to 2.7.1
194 - moved /usr/lib/lynx.cfg to /etc/lynx.cfg
195 - build with slang instead of ncurses
196 - made default startup file be file:/usr/doc/HTML/index.html
This page took 0.378002 seconds and 4 git commands to generate.