diff --git a/lynx-2.8.6-backgrcolor.patch b/lynx-2.8.6-backgrcolor.patch new file mode 100644 index 0000000..3159cc8 --- /dev/null +++ b/lynx-2.8.6-backgrcolor.patch @@ -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. + # diff --git a/lynx.spec b/lynx.spec index d4427fb..9cfec95 100644 --- a/lynx.spec +++ b/lynx.spec @@ -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 - 2.8.6-10 +- add default-colors option, change default setting (#409211) + * Wed Dec 05 2007 Release Engineering - 2.8.6-9 - Rebuild for openssl bump