1 |
%define versio_ 2-8-8 |
%define versio_ 2-8-8 |
2 |
%define pre dev.8 |
%define pre dev.14 |
3 |
|
|
4 |
Name: lynx |
Name: lynx |
5 |
Version: 2.8.8 |
Version: 2.8.8 |
6 |
Release: %mkrel 0.%{pre} |
Release: %mkrel 1.%{pre} |
7 |
Summary: Text based browser for the world wide web |
Summary: Text based browser for the world wide web |
8 |
License: GPLv2 |
License: GPLv2 |
9 |
URL: http://lynx.isc.org |
URL: http://lynx.isc.org |
11 |
BuildRequires: gettext |
BuildRequires: gettext |
12 |
BuildRequires: openssl-devel |
BuildRequires: openssl-devel |
13 |
BuildRequires: ncurses-devel |
BuildRequires: ncurses-devel |
14 |
Source0: ftp://artfiles.org/lynx.isc.org/current/lynx%{version}%{pre}.tar.bz2 |
Source0: http://lynx.isc.org/current/lynx%{version}%{pre}.tar.bz2 |
15 |
Patch0: lynx2-8-7-adapt-to-modern-file-localizations.patch |
Patch0: lynx2-8-7-adapt-to-modern-file-localizations.patch |
16 |
Patch1: lynx-2.8.8-mga-lynx.cfg.patch |
Patch1: lynx2-8-8-default-config.patch |
17 |
Patch2: lynx2-8-6-fix-ugly-color.patch |
Patch2: lynx2-8-6-fix-ugly-color.patch |
18 |
Patch10: lynx2-8-7-tmp_dir.patch |
Patch3: lynx2-8-7-tmp_dir.patch |
19 |
Patch11: lynx2-8-6-don-t-accept-command-line-args-to-telnet.patch |
Patch4: lynx2-8-6-don-t-accept-command-line-args-to-telnet.patch |
20 |
|
|
21 |
BuildRequires: openssl-devel |
BuildRequires: openssl-devel |
22 |
BuildRequires: zlib-devel |
BuildRequires: zlib-devel |
39 |
%prep |
%prep |
40 |
%setup -q -n %{name}%{versio_} |
%setup -q -n %{name}%{versio_} |
41 |
%patch0 -p1 |
%patch0 -p1 |
42 |
%patch1 -p0 |
%patch1 -p1 |
43 |
%patch2 -p1 |
%patch2 -p1 |
44 |
%patch10 -p1 |
%patch3 -p1 |
45 |
%patch11 -p1 |
%patch4 -p1 |
46 |
|
|
47 |
perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg |
perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg |
48 |
|
|
95 |
%makeinstall_std install-help |
%makeinstall_std install-help |
96 |
|
|
97 |
install -d %{buildroot}%{_sysconfdir} |
install -d %{buildroot}%{_sysconfdir} |
98 |
cat >%{buildroot}%{_sysconfdir}/lynx-site.cfg <<EOF |
cat > %{buildroot}%{_sysconfdir}/lynx-site.cfg <<EOF |
99 |
# Place any local lynx configuration options (proxies etc.) here. |
# Place any local lynx configuration options (proxies etc.) here. |
100 |
EOF |
EOF |
101 |
|
|