From d6fa1ab0556fdac86268f7827dfd11d260b5bc5e Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:18:05 +0100 Subject: [PATCH] automatic version update by autodist [release 2.8-1mamba;Sun Sep 22 2013] --- README.md | 4 ++ links-desktop | 11 ++++ links.spec | 151 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 166 insertions(+) create mode 100644 links-desktop create mode 100644 links.spec diff --git a/README.md b/README.md index a7d4ba5..1b0cd68 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # links +Links2 runs in graphics mode (mouse required) on X Window System (UN*X, Cygwin), SVGAlib, Linux Framebuffer, OS/2 PMShell, AtheOS GUI or in text mode (mouse optional) on UN*X console, ssh/telnet virtual terminal, vt100 terminal, xterm, and virtually any other text terminal. +Mouse is supported for GPM, xterm, and OS/2. +Links supports colors on terminal. + diff --git a/links-desktop b/links-desktop new file mode 100644 index 0000000..530a32c --- /dev/null +++ b/links-desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Links +GenericName=Web Browser +GenericName[it]=Browser Web +Comment=A graphics and text mode web browser +Comment[it]=Un browser grafico e testuale +Exec=links -g http://www.openmamba.org/ +Type=Application +Terminal=false +Icon=/usr/share/pixmaps/links.png +Categories=Application;Network; diff --git a/links.spec b/links.spec new file mode 100644 index 0000000..a92b123 --- /dev/null +++ b/links.spec @@ -0,0 +1,151 @@ +Name: links +Version: 2.8 +Release: 1mamba +Summary: A graphics and text mode web browser, released under GPL +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://links.twibright.com/ +Source0: http://links.twibright.com/download/links-%{version}.tar.bz2 +Source1: %{name}-desktop +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libbzip2-devel +%if "%{?stage1}" != "1" +BuildRequires: libdirectfb-devel +BuildRequires: libtiff-devel +BuildRequires: libX11-devel +%endif +BuildRequires: libjpeg-devel +BuildRequires: libgpm-devel +BuildRequires: libopenssl-devel +BuildRequires: libpng-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: pkgconfig +%if "%{?stage1}" != "1" +BuildRequires: libSDL-devel +BuildRequires: /usr/bin/convert +%endif +Provides: links2 = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: links2 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Links2 runs in graphics mode (mouse required) on X Window System (UN*X, Cygwin), SVGAlib, Linux Framebuffer, OS/2 PMShell, AtheOS GUI or in text mode (mouse optional) on UN*X console, ssh/telnet virtual terminal, vt100 terminal, xterm, and virtually any other text terminal. +Mouse is supported for GPM, xterm, and OS/2. +Links supports colors on terminal. + +%prep +%setup -q + +%build +%configure \ + --enable-javascript \ + --without-pmshell \ + --without-atheos \ + --without-svgalib \ +%if "%{?stage1}" == "1" + --without-gpm \ + --without-ssl +%else + --with-libfl \ + --enable-graphics \ + --with-x +%endif + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%if "%{?stage1}" != "1" +# install desktop file +install -D %{S:1} \ + %{buildroot}%{_datadir}/applications/links.desktop + +# install icons +convert graphics/links.xpm graphics/links.png +install -D graphics/links.png \ + %{buildroot}%{_datadir}/pixmaps/links.png +%endif + +%if "%{?stage1}" != "1" +%post +update-desktop-database &>/dev/null +exit 0 + +%postun +update-desktop-database &>/dev/null +exit 0 +%endif + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/links +%if "%{?stage1}" != "1" +%{_datadir}/applications/links.desktop +%{_datadir}/pixmaps/links.png +%endif +%{_mandir}/man1/links.* +%doc AUTHORS COPYING ChangeLog NEWS README + +%changelog +* Sun Sep 22 2013 Automatic Build System 2.8-1mamba +- automatic version update by autodist + +* Tue Jun 26 2012 Automatic Build System 2.7-1mamba +- automatic version update by autodist + +* Tue Apr 10 2012 Automatic Build System 2.6-1mamba +- automatic version update by autodist + +* Sun Dec 25 2011 Automatic Build System 2.5-1mamba +- automatic version update by autodist + +* Thu Nov 24 2011 Automatic Build System 2.4-1mamba +- automatic version update by autodist + +* Mon Aug 15 2011 Automatic Build System 2.3-1mamba +- automatic version update by autodist + +* Thu Aug 26 2010 Silvan Calarco 2.2-4mamba +- rebuilt with libdirectfb 1.4 + +* Mon Dec 14 2009 Davide Madrisan 2.2-3mamba +- fix desktop file +- convert program icon to the png format +- update-desktop-database after package install/upgrade/remove + +* Mon Jun 29 2009 Automatic Build System 2.2-2mamba +- automatic rebuild by autodist + +* Sun Nov 02 2008 Silvan Calarco 2.2-1mamba +- automatic update by autodist + +* Sat Nov 17 2007 Stefano Cotta Ramusino 2.1pre31-1mamba +- update to 2.1pre31 + +* Fri May 04 2007 Stefano Cotta Ramusino 2.1pre28-1mamba +- update to 2.1pre28 + +* Tue Feb 06 2007 Stefano Cotta Ramusino 2.1pre26-1qilnx +- update to version 2.1pre26 by autospec + +* Mon Apr 10 2006 Stefano Cotta Ramusino 2.1pre21-1qilnx +- update to version 2.1pre21 by autospec + +* Fri Dec 16 2005 Stefano Cotta Ramusino 2.1pre20-1qilnx +- update to version 2.1pre20 by autospec + +* Tue Oct 18 2005 Stefano Cotta Ramusino 2.1pre19-2qilnx +- added KDE menu entry + +* Mon Oct 17 2005 Stefano Cotta Ramusino 2.1pre19-1qilnx +- package created by autospec