From ae5d181b854d3ccb373b6bc01b4869e44ff4d87a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:37:15 +0200 Subject: Adding upstream version 2.9.0dev.12. Signed-off-by: Daniel Baumann --- PACKAGE/lynx.spec | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 PACKAGE/lynx.spec (limited to 'PACKAGE/lynx.spec') diff --git a/PACKAGE/lynx.spec b/PACKAGE/lynx.spec new file mode 100644 index 0000000..aa78d00 --- /dev/null +++ b/PACKAGE/lynx.spec @@ -0,0 +1,132 @@ +# $LynxId: lynx.spec,v 1.67 2023/01/02 23:47:08 tom Exp $ +Summary: A text-based Web browser +Name: lynx-dev +Version: 2.9.0 +Release: dev.12 +License: GPLv2 +Group: Applications/Internet +Source: lynx%{version}%{release}.tgz +URL: https://lynx.invisible-island.net +Provides: webclient >= 0.0 +Provides: text-www-browser >= 0.0 + +# Fedora: +BuildRequires: openssl-devel, pkgconfig, ncurses-devel >= 5.3-5, +BuildRequires: zlib-devel, gettext +BuildRequires: libidn-devel +# BuildRequires: bzip2-devel + +# SuSE: +# BuildRequires: libbz2-devel + +Requires: gzip, bzip2, tar, zip, unzip + +%description +Lynx is a fully-featured World Wide Web (WWW) client for users running +cursor-addressable, character-cell display devices. It is very fast and easy +to use. It will display HTML documents containing links to files residing on +the local system, as well as files residing on remote systems running Gopher, +HTTP, FTP, WAIS, and NNTP servers. + +%define lynx_doc %{_defaultdocdir}/%{name} +%define lynx_etc %{_sysconfdir}/%{name} + +%prep + +%define debug_package %{nil} +%setup -q -n lynx%{version}%{release} + +%build +%configure \ + --target %{_target_platform} \ + --prefix=%{_prefix} \ + --bindir=%{_bindir} \ + --program-suffix=-dev \ + --datadir=%{lynx_doc} \ + --libdir=%{lynx_etc} \ + --mandir=%{_mandir} \ + --sysconfdir=%{lynx_etc} \ + --with-cfg-path=%{lynx_etc}:%{lynx_doc}/samples \ + --with-textdomain=%{name} \ + --enable-8bit-toupper \ + --enable-cgi-links \ + --enable-change-exec \ + --enable-charset-choice \ + --enable-cjk \ + --enable-default-colors \ + --enable-exec-links \ + --enable-exec-scripts \ + --enable-externs \ + --enable-font-switch \ + --enable-forms-options \ + --enable-gzip-help \ + --enable-htmlized-cfg \ + --enable-internal-links \ + --enable-ipv6 \ + --enable-chinese-utf8 \ + --enable-japanese-utf8 \ + --enable-justify-elts \ + --enable-kbd-layout \ + --enable-local-docs \ + --enable-nested-tables \ + --enable-nls \ + --enable-nsl-fork \ + --enable-partial \ + --enable-persistent-cookies \ + --enable-prettysrc \ + --enable-read-eta \ + --enable-scrollbar \ + --enable-source-cache \ + --enable-syslog \ + --enable-warnings \ + --with-brotli \ + --with-bzlib \ + --with-screen=ncursesw6dev \ + --with-ssl \ + --with-zlib +make \ + docdir=%{lynx_doc} + +%install +rm -rf $RPM_BUILD_ROOT +chmod -x samples/mailto-form.pl + +make install-full \ + DESTDIR=$RPM_BUILD_ROOT \ + docdir=%{lynx_doc} + +cat >>$RPM_BUILD_ROOT%{lynx_etc}/lynx.cfg <