]> git.pld-linux.org Git - packages/lynx.git/blob - lynx.spec
6e136a7f01a1b8cb0651694f58361a77b31dd634
[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 w trybie tekstowym
5 Summary(tr): Metin ekranda WWW tarayýcý
6 Name:        lynx
7 Version:     2.8
8 Release:     5
9 Copyright:   GPL
10 Group:       Applications/Networking
11 Group(pl):   Aplikacje/Sieæ
12 Source0:     ftp://www.slcc.edu/pub/lynx/fote/lynx2.8rel.3.tar.gz
13 Source1:     lynx.wmconfig
14 Patch0:      lynx-2.8-redhat.patch
15 Patch1:      lynx2-8-overflow.patch
16 Requires:    indexhtml
17 Buildroot:   /tmp/%{name}-%{version}-root
18
19 %description
20 This a terminal based WWW browser. While it does not make any attempt
21 at displaying graphics, it has good support for HTML text formatting,
22 forms, and tables.
23
24 %description -l de
25 Dies ist ein WWW-Browser auf Terminal-Basis. Während kein Versuch 
26 unternommen wird, Grafiken darzustellen, so bietet er doch guten 
27 Support für HTML-Textformatierung, Formulare und Tabellen. 
28
29 %description -l fr
30 Navigateur WWW en mode texte. Bien qu'il n'affiche aucun graphique, il
31 sait bien gérer le formatage HTML du texte, les formulaires et les tableaux.
32
33 %description -l pl
34 Lynx jest przegl±dark± WWW w trybie tekstowym. Dobrze formatuje HTML
35 w³±cznie z formami i tabelami ale nie pozwala na wy¶wietlanie grafiki.
36
37 %description -l tr
38 Metin ekranda çalýþan bir WWW tarayýcýdýr. Þekil gösteremese de, formlar ve
39 tablolar için desteði vardýr.
40
41 %prep
42 %setup -q -n lynx2-8
43 %patch0 -p1 -b .redhat
44 %patch1 -p1 -b .overflow
45
46 %build
47 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=/etc \
48         --with-screen=slang --enable-warnings \
49         --enable-default-colors --enable-externs \
50         --enable-internal-links --enable-nsl-fork --with-zlib
51 make
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
56 make install prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/etc
57 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/lynx
58
59 sed -e "s/HELPFILE:http:\/\/www.crl.com\/\~subir\/lynx\/lynx_help\/lynx_help_main.html/HELPFILE\:file:\/\/localhost\/\/usr\/doc\/%{name}-%{version}\/lynx_help\/lynx_help_main.html/" \
60         lynx.cfg > $RPM_BUILD_ROOT/etc/lynx.cfg
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644, root, root, 755)
67 %doc docs README samples test lynx.hlp lynx_help
68 %config /etc/lynx.cfg
69 %config(missingok) /etc/X11/wmconfig/lynx
70 %attr(755, root, root) /usr/bin/*
71 %attr(755, root,  man) /usr/man/man1/*
72
73 %changelog
74 * Sun Aug 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
75   [2.8-5]
76 - added Group(pl),
77 - added -q %setup parameter,
78 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
79 - URL in HELPFILE in /etc/lynx.cfh changed to localhost,
80 - removed INSTALLATION from %doc,
81 - added pl translation (Wojtek Slusarczyk <wojtek@SHADOW.EU.ORG>),
82 - added %attr and %defattr macros in %files (allow build package from
83   non-root account).
84
85 * Fri May 08 1998 Prospector System <bugs@redhat.com>
86 - translations modified for de, fr, tr
87
88 * Mon May 04 1998 Cristian Gafton <gafton@redhat.com>
89 - upgraded to 2.8rel3
90 - fixed mailto: buffer overflow (used Alan's patch)
91
92 * Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com>
93 - updated to 2.8
94 - added buildroot
95
96 * Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
97 - updated to 2.7.2
98 - enabled lynxcgi
99
100 * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
101 - updated from 2.6 to 2.7.1
102 - moved /usr/lib/lynx.cfg to /etc/lynx.cfg
103 - build with slang instead of ncurses
104 - made default startup file be file:/usr/doc/HTML/index.html
This page took 0.03552 seconds and 3 git commands to generate.