181 lines
5.5 KiB
RPMSpec
181 lines
5.5 KiB
RPMSpec
Name: links
|
|
Version: 2.29
|
|
Release: 1mamba
|
|
Summary: A graphics and text mode web browser, released under GPL
|
|
Group: Applications/Web
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://links.twibright.com/
|
|
Source0: http://links.twibright.com/download/links-%{version}.tar.bz2
|
|
Source1: %{name}-desktop
|
|
Patch0: links-2.29-configure-c99.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libavif-devel
|
|
BuildRequires: libbrotli-devel
|
|
BuildRequires: libbsd-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdirectfb-devel
|
|
BuildRequires: libevent-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgomp-devel
|
|
BuildRequires: libgpm-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: librsvg-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libwebp-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: libzstd-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: libSDL-devel
|
|
BuildRequires: /usr/bin/convert
|
|
Provides: links2
|
|
Obsoletes: links2 < 2.25
|
|
|
|
%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.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%define _default_patch_fuzz 2
|
|
%patch 0 -p1 -b .configure-c99
|
|
|
|
%build
|
|
%configure \
|
|
--enable-graphics \
|
|
--with-ssl
|
|
|
|
%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
|
|
* Fri May 17 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.29-1mamba
|
|
- update to 2.29
|
|
|
|
* Sat Mar 24 2018 Automatic Build System <autodist@mambasoft.it> 2.15-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Nov 27 2016 Automatic Build System <autodist@mambasoft.it> 2.14-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jul 01 2016 Automatic Build System <autodist@mambasoft.it> 2.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Sep 21 2015 Automatic Build System <autodist@mambasoft.it> 2.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 31 2015 Automatic Build System <autodist@mambasoft.it> 2.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jul 15 2015 Automatic Build System <autodist@mambasoft.it> 2.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Dec 25 2014 Automatic Build System <autodist@mambasoft.it> 2.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 22 2013 Automatic Build System <autodist@mambasoft.it> 2.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jun 26 2012 Automatic Build System <autodist@mambasoft.it> 2.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 10 2012 Automatic Build System <autodist@mambasoft.it> 2.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 25 2011 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 24 2011 Automatic Build System <autodist@mambasoft.it> 2.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 15 2011 Automatic Build System <autodist@mambasoft.it> 2.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-4mamba
|
|
- rebuilt with libdirectfb 1.4
|
|
|
|
* Mon Dec 14 2009 Davide Madrisan <davide.madrisan@gmail.com> 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 <autodist@mambasoft.it> 2.2-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Sun Nov 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Nov 17 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.1pre31-1mamba
|
|
- update to 2.1pre31
|
|
|
|
* Fri May 04 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.1pre28-1mamba
|
|
- update to 2.1pre28
|
|
|
|
* Tue Feb 06 2007 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.1pre26-1qilnx
|
|
- update to version 2.1pre26 by autospec
|
|
|
|
* Mon Apr 10 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.1pre21-1qilnx
|
|
- update to version 2.1pre21 by autospec
|
|
|
|
* Fri Dec 16 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.1pre20-1qilnx
|
|
- update to version 2.1pre20 by autospec
|
|
|
|
* Tue Oct 18 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.1pre19-2qilnx
|
|
- added KDE menu entry
|
|
|
|
* Mon Oct 17 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.1pre19-1qilnx
|
|
- package created by autospec
|