update to 2.9.0dev.6 [release 2.9.0dev.6-1mamba;Sat Nov 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 06:37:57 +01:00
parent 7d4b4822cc
commit 54956a3667
2 changed files with 47 additions and 58 deletions

View File

@ -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.

104
lynx.spec
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 2.9.0dev.6-1mamba
- update to 2.9.0dev.6
* Wed May 20 2020 Automatic Build System <autodist@mambasoft.it> 2.9.0dev.5-1mamba
- automatic update by autodist