source: projects/specs/trunk/l/lynx/lynx-vl.spec @ 8067

Revision 8067, 7.1 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%define _docdir %{_defaultdocdir}
2
3Summary: A text-based Web browser.
4Summary(ja): テキストベースのウェブブラウザ
5Name: lynx
6Version: 2.8.7
7Release: 2%{?_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* Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.7-2
112- rebuild with VineSeed environment
113
114* Wed Sep 14 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.7-1
115- new upstream release
116- update patches
117- change R:indexhtml -> R:vine-manual-base
118
119* Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.6-2
120- rebuild with openssl-1.0.0c
121
122* Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.8.6-1vl5
123- applied new versioning policy and spec in utf-8
124
125* Mon Dec 25 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.6-0vl3
126- rebuild for Vine 4.0/VineSeed (0vl2 is exist in Plus 3.x)
127
128* Sun Dec 17 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.6-0vl2
129- rebuild for Vine 4.0/VineSeed
130- update patch3
131
132* Mon Dec 11 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.6-0vl1
133- new upstream release with security fix (CVE-2005-3120)
134
135* Tue Jan 08 2002 Toru Sagami <sagami@vinelinux.org> 2.8.5-0vl1
136- 2.8.5dev.7.tar.gz2
137- BuildRequires: slang-devel, zlib-devel
138
139* Fri Dec 28 2001 Toru Sagami <sagami@vinelinux.org>
140- 2.8.4pre.5.tar.bz2
141
142* Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
143- 2.8.4-7vl5: eliminate executable bit in %%doc
144
145* Mon Jul 16 2001 <sagami@vinelinux.org>
146- 2.8.4-7vl4: updated to 2.8.4pre.5
147- rebuilt with openssl-0.9.6b
148- compress huge CHANGES* files in docs/
149
150* Sun Jul 08 2001 <sagami@vinelinux.org>
151- 2.8.4-7vl3: updated to 2.8.4pre.3
152- %%{find_lang}, added some documents
153- use ja.po derived from source
154
155* Wed Jan 31 2001 sagami@vinelinux.org
156- fixed: default index.html location
157
158* Fri Jan 12 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
159- 2.8.4-7vl1: based on Rawhide 2.8.4-7
160
161* Mon Sep 6 1999 Norihito Ohmori <ohmori@flatout.org>
162- ja.po typo fix
163
164* Wed Aug 25 1999 Norihito Ohmori <ohmori@flatout.org>
165- Help file position in lynx.cfg bug fix.
166
167* Tue Jul 20 1999 Norihito Ohmori <ohmori@flatout.org>
168- ja.po fix
169
170* Mon Jun 28 1999 Norihito Ohmori <ohmori@flatout.org>
171- added ja.po (imcomplete).
172- use kterm in lynx.wmconfig
173- added Japanese summary and description
174- change for Vine
175- change default CHARSET to Japanese(EUC).
176
177* Tue Jun 15 1999 Bill Nottingham <notting@redhat.com>
178- update to 2.8.2
179
180* Mon Mar 29 1999 Bill Nottingham <notting@redhat.com>
181- apply some update patches from the lynx folks
182- set user's TEMP dir to their home dir to avoid /tmp races
183
184* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
185- auto rebuild in the new build environment (release 10)
186
187* Wed Feb 24 1999 Bill Nottingham <notting@redhat.com>
188- return of wmconfig
189
190* Mon Nov 30 1998 Bill Nottingham <notting@redhat.com>
191- create cookie file 0600
192
193* Fri Nov  6 1998 Bill Nottingham <notting@redhat.com>
194- update to 2.8.1rel2
195
196* Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
197- build for Raw Hide (slang-1.2.2)
198
199* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
200- 2.8.1pre9
201- strip binaries
202
203* Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com>
204- updated to lynx2.8.1pre.7.tar.gz
205
206* Fri May 08 1998 Prospector System <bugs@redhat.com>
207- translations modified for de, fr, tr
208
209* Mon May 04 1998 Cristian Gafton <gafton@redhat.com>
210- upgraded to 2.8rel3
211- fixed mailto: buffer overflow (used Alan's patch)
212
213* Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com>
214- updated to 2.8
215- added buildroot
216
217* Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
218- updated to 2.7.2
219- enabled lynxcgi
220
221* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
222- updated from 2.6 to 2.7.1
223- moved /usr/lib/lynx.cfg to /etc/lynx.cfg
224- build with slang instead of ncurses
225- made default startup file be file:/usr/doc/HTML/index.html
226
Note: See TracBrowser for help on using the repository browser.