source: projects/specs/tags/6_0_REL/l/lynx/lynx-vl.spec @ 2653

Revision 2653, 6.8 KB checked in by Takemikaduchi, 13 years ago (diff)

eog-plugins,perl-Net_SSLeay,hdf5: new upstream release, others: rebuild with openssl-1.0.0c

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