add brotli build-dependency
- restore formerly-empty sample files - remove a couple of obsolete workarounds for installing
This commit is contained in:
parent
797941c011
commit
91ed704d79
@ -1,7 +1,7 @@
|
||||
From bccfb8ac43da56cb1f53c4b421e09dcac1fd1af0 Mon Sep 17 00:00:00 2001
|
||||
From: Kamil Dudka <kdudka@redhat.com>
|
||||
Date: Wed, 13 Feb 2013 15:17:08 +0100
|
||||
Subject: [PATCH] lynx-2.8.6-redhat.patch rebased for 2.9.0dev.12
|
||||
Subject: [PATCH] lynx-2.8.6-redhat.patch rebased for 2.9.0
|
||||
|
||||
---
|
||||
lynx.cfg | 18 ++++++++++++------
|
||||
|
32
lynx.spec
32
lynx.spec
@ -5,7 +5,7 @@ Summary: A text-based Web browser
|
||||
Name: lynx
|
||||
Version: 2.9.0
|
||||
#Release: %%{devrel}.1%%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPL-2.0-only
|
||||
|
||||
Source0: https://invisible-island.net/archives/lynx/tarballs/lynx%{version}%{devrel}.tar.bz2
|
||||
@ -28,6 +28,7 @@ Patch2: lynx-CVE-2008-4690.patch
|
||||
|
||||
Provides: webclient
|
||||
Provides: text-www-browser
|
||||
BuildRequires: brotli-devel
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
@ -63,6 +64,20 @@ sed -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html,' -i
|
||||
%endif
|
||||
|
||||
%build
|
||||
# These options are specified explicitly below but are also defaults in 2.9.0:
|
||||
# --enable-addrlist-page
|
||||
# --enable-cjk
|
||||
# --enable-file-upload
|
||||
# --enable-japanese-utf8
|
||||
# --enable-justify-elts
|
||||
# --enable-locale-charset
|
||||
# --enable-persistent-cookies
|
||||
# --enable-prettysrc
|
||||
# --enable-read-eta
|
||||
# --enable-scrollbar
|
||||
# --enable-source-cache
|
||||
# --with-brotli
|
||||
# --with-zlib
|
||||
%configure --libdir=/etc \
|
||||
--disable-font-switch \
|
||||
--disable-rpath-hack \
|
||||
@ -92,19 +107,18 @@ sed -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html,' -i
|
||||
--enable-warnings \
|
||||
--with-screen=ncursesw \
|
||||
--with-ssl=%{_libdir} \
|
||||
--with-brotli \
|
||||
--with-zlib \
|
||||
--without-bzlib \
|
||||
ac_cv_path_RLOGIN=/usr/bin/rlogin
|
||||
|
||||
%make_build
|
||||
|
||||
# remove zero-length tests files to silence rpmlint
|
||||
rm -fv test/X test/nobody
|
||||
|
||||
%install
|
||||
chmod -x samples/mailto-form.pl
|
||||
%make_install
|
||||
|
||||
# remove unneeded files with incompatible encoding
|
||||
# remove unneeded files
|
||||
rm -f docs/{OS-390.announce,README.jp}
|
||||
rm -f samples/*.bat
|
||||
|
||||
@ -112,9 +126,6 @@ rm -f samples/*.bat
|
||||
dos2unix samples/lynx-demo.cfg
|
||||
dos2unix samples/midnight.lss
|
||||
|
||||
# Install Lang dependent resources
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES/
|
||||
|
||||
cat >$RPM_BUILD_ROOT%{_sysconfdir}/lynx-site.cfg <<EOF
|
||||
# Place any local lynx configuration options (proxies etc.) here.
|
||||
EOF
|
||||
@ -132,6 +143,11 @@ EOF
|
||||
%config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
|
||||
|
||||
%changelog
|
||||
* Mon Jan 22 2024 Thomas E. Dickey <dickey@invisible-island.net> - 2.9.0-3
|
||||
- add brotli build-dependency
|
||||
- restore formerly-empty sample files
|
||||
- remove a couple of obsolete workarounds for installing
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user