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

Revision 9119, 7.1 KB checked in by Takemikaduchi, 9 years ago (diff)

lynx,ncftp,w3m: change location of desktop file
gsettings-desktop-schemas: change keybinding of switch-input-source
others: new upstream release

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