source: projects/specs/branches/6/l/lynx/lynx-vl.spec @ 4756

Revision 4756, 7.0 KB checked in by iwamoto, 13 years ago (diff)

lynx: new upstream release / fix bugs

Line 
1%define _docdir %{_defaultdocdir}
2
3Summary: A text-based Web browser.
4Summary(ja): テキストベースのウェブブラウザ
5Name: lynx
6Version: 2.8.7
7Release: 1%{?_dist_release}
8License: GPL
9Group: Applications/Internet
10URL: http://lynx.isc.org/
11# Source0: http://lynx.isc.org/current/lynx2.8.5dev.7.tar.bz2
12Source0: http://lynx.isc.org/current/lynx2.8.7.tar.bz2
13Source1: lynx.cfg.ja
14# Patch0: lynx2-8-3-redhat.patch
15Patch0: lynx2-8-7-redhat.patch
16Patch1: lynx2-8-6-telnet.patch
17Patch2: lynx-284-i18ncfg.patch
18Patch3: lynx2-8-7-vine.patch
19# Requires: indexhtml
20Requires: vine-manual-base
21Provides: webclient
22BuildRequires: openssl-devel, ncurses-devel, slang-devel, zlib-devel
23Buildroot: %{_tmppath}/%{name}-root
24Vendor: Project Vine
25Distribution: Vine Linux
26
27%description
28Lynx is a text-based Web browser. Lynx does not display any images,
29but it does support frames, tables and most other HTML tags. Lynx's
30advantage over graphical browsers is its speed--Lynx starts and exits
31quickly and swiftly displays Web pages.
32
33Install lynx if you would like to try this fast, non-graphical browser
34(you may learn to appreciate its strengths).
35
36%description -l ja
37lynx はテキストベースのウェブブラウザである。lynx は何のイメージも
38表示しないがフレーム、テーブルそして他の HTML タグをサポートする。
39グラフィカルなブラウザに対する lynx のアドバンテージはスピードである。
40lynx はウェブページを表示するのにすばやく即座に開始したり終了したりする。
41
42この速い、グラフィカルでないブラウザを試したければインストールしなさい。
43(その長所のよさがわかるであろう)
44
45%prep
46%setup -q -n lynx2-8-7
47%patch0 -p1 -b .rh
48%patch1 -p0 -b .telnet
49# %patch2 -p1 -b .i18ncfg
50%patch3 -p1 -b .vine
51perl -pi -e "s,^HELPFILE:.*,HELPFILE:file://localhost%{_docdir}/lynx-%{version}/lynx_help/lynx_help_main.html,g" lynx.cfg
52perl -pi -e "s,^DEFAULT_INDEX_FILE:.*,DEFAULT_INDEX_FILE:http://www.google.com/,g" lynx.cfg
53
54%build
55export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
56%configure --libdir=/etc \
57        --with-screen=slang --enable-warnings \
58        --enable-default-colors --enable-externs \
59        --enable-internal-links --enable-nsl-fork \
60        --enable-persistent-cookies --enable-prettysrc \
61        --disable-font-switch --enable-source-cache \
62        --enable-kbd-layout --with-zlib \
63        --enable-charset-choice --enable-file-upload \
64        --enable-cgi-links --enable-read-eta \
65        --enable-addrlist-page --enable-cjk \
66        --enable-justify-elts --enable-scrollbar \
67        --enable-libjs --enable-cgi-links --enable-nls \
68        --with-ssl=/usr
69make
70
71%install
72rm -rf %{buildroot}
73%makeinstall mandir=%{buildroot}%{_mandir}/man1 libdir=%{buildroot}/etc
74# Install Lang dependent resources
75install -m444 %{SOURCE1} %{buildroot}/etc/lynx.cfg.ja
76
77mkdir -p %{buildroot}%{_sysconfdir}/X11/applnk/Internet
78cat > %{buildroot}%{_sysconfdir}/X11/applnk/Internet/lynx.desktop <<EOF
79[Desktop Entry]
80Name=Lynx
81Name[ja]=Lynx
82Type=Application
83Comment=Text based WWW browser
84Comment[ja]=テキストベースWWWブラウザ
85Exec=lynx
86Terminal=true
87EOF
88
89%{find_lang} %{name}
90
91# compress huge files in docs
92gzip --best --force docs/CHANGES2*
93# eliminate executable bit in %doc
94find samples/ -type f -perm +111 | xargs chmod -x
95
96%clean
97rm -rf %{buildroot}
98
99%files -f %{name}.lang
100%defattr(-,root,root)
101%doc docs README INSTALLATION samples
102%doc test lynx.hlp lynx_help
103%doc COPYING CHANGES PROBLEMS
104%config(missingok) %{_sysconfdir}/X11/applnk/Internet/lynx.desktop
105%{_bindir}/lynx
106%{_mandir}/*/*
107%config %{_sysconfdir}/lynx.cfg
108#%lang(ja) %config %{_sysconfdir}/lynx.cfg.ja
109
110%changelog
111* Wed Sep 14 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.7-1
112- new upstream release
113- update patches
114- change R:indexhtml -> R:vine-manual-base
115
116* Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.6-2
117- rebuild with openssl-1.0.0c
118
119* Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.8.6-1vl5
120- applied new versioning policy and spec in utf-8
121
122* Mon Dec 25 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.6-0vl3
123- rebuild for Vine 4.0/VineSeed (0vl2 is exist in Plus 3.x)
124
125* Sun Dec 17 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.6-0vl2
126- rebuild for Vine 4.0/VineSeed
127- update patch3
128
129* Mon Dec 11 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.6-0vl1
130- new upstream release with security fix (CVE-2005-3120)
131
132* Tue Jan 08 2002 Toru Sagami <sagami@vinelinux.org> 2.8.5-0vl1
133- 2.8.5dev.7.tar.gz2
134- BuildRequires: slang-devel, zlib-devel
135
136* Fri Dec 28 2001 Toru Sagami <sagami@vinelinux.org>
137- 2.8.4pre.5.tar.bz2
138
139* Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
140- 2.8.4-7vl5: eliminate executable bit in %%doc
141
142* Mon Jul 16 2001 <sagami@vinelinux.org>
143- 2.8.4-7vl4: updated to 2.8.4pre.5
144- rebuilt with openssl-0.9.6b
145- compress huge CHANGES* files in docs/
146
147* Sun Jul 08 2001 <sagami@vinelinux.org>
148- 2.8.4-7vl3: updated to 2.8.4pre.3
149- %%{find_lang}, added some documents
150- use ja.po derived from source
151
152* Wed Jan 31 2001 sagami@vinelinux.org
153- fixed: default index.html location
154
155* Fri Jan 12 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
156- 2.8.4-7vl1: based on Rawhide 2.8.4-7
157
158* Mon Sep 6 1999 Norihito Ohmori <ohmori@flatout.org>
159- ja.po typo fix
160
161* Wed Aug 25 1999 Norihito Ohmori <ohmori@flatout.org>
162- Help file position in lynx.cfg bug fix.
163
164* Tue Jul 20 1999 Norihito Ohmori <ohmori@flatout.org>
165- ja.po fix
166
167* Mon Jun 28 1999 Norihito Ohmori <ohmori@flatout.org>
168- added ja.po (imcomplete).
169- use kterm in lynx.wmconfig
170- added Japanese summary and description
171- change for Vine
172- change default CHARSET to Japanese(EUC).
173
174* Tue Jun 15 1999 Bill Nottingham <notting@redhat.com>
175- update to 2.8.2
176
177* Mon Mar 29 1999 Bill Nottingham <notting@redhat.com>
178- apply some update patches from the lynx folks
179- set user's TEMP dir to their home dir to avoid /tmp races
180
181* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
182- auto rebuild in the new build environment (release 10)
183
184* Wed Feb 24 1999 Bill Nottingham <notting@redhat.com>
185- return of wmconfig
186
187* Mon Nov 30 1998 Bill Nottingham <notting@redhat.com>
188- create cookie file 0600
189
190* Fri Nov  6 1998 Bill Nottingham <notting@redhat.com>
191- update to 2.8.1rel2
192
193* Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
194- build for Raw Hide (slang-1.2.2)
195
196* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
197- 2.8.1pre9
198- strip binaries
199
200* Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com>
201- updated to lynx2.8.1pre.7.tar.gz
202
203* Fri May 08 1998 Prospector System <bugs@redhat.com>
204- translations modified for de, fr, tr
205
206* Mon May 04 1998 Cristian Gafton <gafton@redhat.com>
207- upgraded to 2.8rel3
208- fixed mailto: buffer overflow (used Alan's patch)
209
210* Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com>
211- updated to 2.8
212- added buildroot
213
214* Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
215- updated to 2.7.2
216- enabled lynxcgi
217
218* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
219- updated from 2.6 to 2.7.1
220- moved /usr/lib/lynx.cfg to /etc/lynx.cfg
221- build with slang instead of ncurses
222- made default startup file be file:/usr/doc/HTML/index.html
223
Note: See TracBrowser for help on using the repository browser.