- add default-colors option, change default setting (#409211)

This commit is contained in:
Ivana Varekova 2007-12-11 09:45:39 +00:00
parent 8e1a849a7f
commit 4bfe1e7747
2 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,14 @@
diff -up lynx2-8-6/samples/lynx.lss.pom lynx2-8-6/samples/lynx.lss
--- lynx2-8-6/samples/lynx.lss.pom 2006-09-19 02:28:28.000000000 +0200
+++ lynx2-8-6/samples/lynx.lss 2007-12-06 15:19:09.000000000 +0100
@@ -5,8 +5,8 @@
#
# If you really want the terminal's default colors, and if lynx is built using
# ncurses' default-color support, remove these two lines:
-normal: normal: lightgray:black
-default: normal: white:black
+#normal: normal: lightgray:black
+#default: normal: white:black
# Normal type styles correspond to HTML tags.
#

View File

@ -1,7 +1,7 @@
Summary: A text-based Web browser
Name: lynx
Version: 2.8.6
Release: 9%{?dist}
Release: 10%{?dist}
License: GPL
Group: Applications/Internet
Source: http://lynx.isc.org/current/lynx%{version}.tar.bz2
@ -9,6 +9,7 @@ URL: http://lynx.isc.org/
Patch0: lynx-2.8.6-redhat.patch
Patch1: lynx-crash.patch
Patch2: lynx-2.8.6-options.patch
Patch3: lynx-2.8.6-backgrcolor.patch
Requires: indexhtml
Provides: webclient
Provides: text-www-browser
@ -27,6 +28,7 @@ exits quickly and swiftly displays webpages.
%patch0 -p1 -b .redhat
%patch1 -p1 -b .crash
%patch2 -p1 -b .opt
%patch3 -p1 -b .bgcol
perl -pi -e "s,^HELPFILE:.*,HELPFILE:file://localhost/usr/share/doc/lynx-%{version}/lynx_help/lynx_help_main.html,g" lynx.cfg
perl -pi -e "s,^DEFAULT_INDEX_FILE:.*,DEFAULT_INDEX_FILE:http://www.google.com/,g" lynx.cfg
perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg
@ -53,7 +55,7 @@ if pkg-config openssl ; then
fi
%configure --libdir=/etc \
--with-screen=ncursesw --enable-warnings \
--enable-externs \
--enable-default-colors --enable-externs \
--enable-internal-links --enable-nsl-fork \
--enable-persistent-cookies --enable-prettysrc \
--disable-font-switch --enable-source-cache \
@ -98,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
%changelog
* Tue Dec 11 2007 Ivana Varekova <varekova@redhat.com> - 2.8.6-10
- add default-colors option, change default setting (#409211)
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.8.6-9
- Rebuild for openssl bump