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

Revision 10291, 7.2 KB checked in by Takemikaduchi, 8 years ago (diff)

gnubiff,httping,lftp,libarchive,libgadu,libgit2,mosh: new upstream release
others: rebuild

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