From 54956a3667d8d8c5f81609bb2bbd458981e06ca5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:37:57 +0100 Subject: [PATCH] update to 2.9.0dev.6 [release 2.9.0dev.6-1mamba;Sat Nov 28 2020] --- README.md | 1 - lynx.spec | 104 ++++++++++++++++++++++++------------------------------ 2 files changed, 47 insertions(+), 58 deletions(-) diff --git a/README.md b/README.md index bfa2224..304a7f6 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,3 @@ This a terminal based WWW browser. While it does not make any attempt at displaying graphics, it has good support for HTML text formatting, forms, and tables. - diff --git a/lynx.spec b/lynx.spec index e7d34d5..1829a92 100644 --- a/lynx.spec +++ b/lynx.spec @@ -2,7 +2,7 @@ %define dottedver %(echo %version | tr . - ) Name: lynx -Version: 2.9.0dev.5 +Version: 2.9.0dev.6 Release: 1mamba Summary: Text based browser for the world wide web Group: Applications/Web @@ -11,7 +11,6 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://lynx.isc.org Source: https://invisible-mirror.net/archives/lynx/tarballs/lynx%{version}.tar.bz2 -#Source: http://lynx.isc.org/lynx%{version}/lynx%{version}.tar.bz2 Patch0: %{name}-2.8.5-localization.patch Patch1: %{name}-1-2.8.6-tmp_dir.patch Patch2: %{name}-2.8.6-tmp_dir.patch @@ -21,20 +20,17 @@ Patch5: %{name}-2.8.5-can_2005_3120.patch Patch6: %{name}-2.8.5-cve_2004_1617.patch Patch7: %{name}-2.8.5-can_2005_2929.patch License: GPL -BuildRequires: gettext-devel >= 0.14.0 -BuildRequires: ncompress ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: gnome-icon-theme -BuildRequires: gzip -BuildRequires: libbzip2-devel >= 1.0.3 -BuildRequires: libopenssl-devel >= 0.9.7h -BuildRequires: libncurses-devel >= 5.4 -BuildRequires: libz-devel >= 1.2.3 +BuildRequires: ldconfig +BuildRequires: libbzip2-devel +BuildRequires: libncurses-devel +BuildRequires: libopenssl-devel +BuildRequires: libz-devel BuildRequires: perl-devel -BuildRequires: sharutils -BuildRequires: zip ## AUTOBUILDREQ-END +BuildRequires: gettext-devel >= 0.14.0 +BuildRequires: ncompress Requires: gzip Requires: sharutils Requires: zip @@ -45,26 +41,20 @@ This a terminal based WWW browser. While it does not make any attempt at displaying graphics, it has good support for HTML text formatting, forms, and tables. -%package desktop -Group: Graphical Desktop/Applications/Internet -Summary: Desktop menu entry for the lynx text based browser for the world wide web -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -Requires: gnome-icon-theme +#%package desktop +#Group: Graphical Desktop/Applications/Internet +#Summary: Desktop menu entry for the lynx text based browser for the world wide web +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: gnome-icon-theme +# +#%description desktop +#Desktop menu entry for the lynx text based browser for the world wide web. -%description desktop -Desktop menu entry for the lynx text based browser for the world wide web. +%debug_package %prep %setup -q -n lynx%{version} -#%patch0 -p1 -b .localization -#%patch1 -p1 -b .tmp_dir %patch2 -p1 -b .tmp_dir -#%patch3 -p1 -b .no_telnel_args -#%patch4 -p1 -b .lynxcfg -#%patch5 -p1 -b .can-2005-3120 -#%patch6 -p1 -b .can-2005-2929 -#%patch7 -p1 -b .cve-2004-1617 - %build %configure \ @@ -108,31 +98,28 @@ echo "\ # place any local lynx configuration options (proxies, etc.) here " > %{buildroot}%{_sysconfdir}/lynx.cfg - -%{__mkdir_p} %{buildroot}%{_datadir}/applications -cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF -[Desktop Entry] -Encoding=UTF-8 -StartupNotify=true -Name=Lynx -Name[de]=Lynx -Name[it]=Lynx -Name[ja]=Lynx -Name[sv]=Lynx -Comment=Text based WWW browser -Comment[de]=Textbasierter WWW-Browser -Comment[it]=Browser testuale -Comment[ja]=テキストベース WWW ブラウザ -Comment[sv]=Textbeserad webbläsare -Exec=lynx %u -Icon=/usr/share/pixmaps/gnome-html.png -MimeType=text/html -Terminal=true -Type=Application -Categories=Application;Network; -OnlyShowIn=GNOME;KDE; -EOF - +#%{__mkdir_p} %{buildroot}%{_datadir}/applications +#cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF +#[Desktop Entry] +#Encoding=UTF-8 +#StartupNotify=true +#Name=Lynx +#Name[de]=Lynx +#Name[it]=Lynx +#Name[ja]=Lynx +#Name[sv]=Lynx +#Comment=Text based WWW browser +#Comment[de]=Textbasierter WWW-Browser +#Comment[it]=Browser testuale +#Comment[ja]=テキストベース WWW ブラウザ +#Comment[sv]=Textbeserad webbläsare +#Exec=lynx %u +#Icon=internet-web-browser +#MimeType=text/html +#Terminal=true +#Type=Application +#Categories=Application;Network; +#EOF %find_lang %{name} @@ -152,14 +139,17 @@ EOF %{_datadir}/lynx_help/keystrokes/*.html %dir %{_datadir}/lynx_doc %{_datadir}/lynx_doc/ -%{_mandir}/man1/lynx.1.gz -%doc CHANGES COPYHEADER COPYING PROBLEMS README +%{_mandir}/man1/lynx.1* +%doc COPYING -%files desktop -%defattr(-,root,root) -%{_datadir}/applications/%{name}.desktop +#%files desktop +#%defattr(-,root,root) +#%{_datadir}/applications/%{name}.desktop %changelog +* Sat Nov 28 2020 Silvan Calarco 2.9.0dev.6-1mamba +- update to 2.9.0dev.6 + * Wed May 20 2020 Automatic Build System 2.9.0dev.5-1mamba - automatic update by autodist