2024-01-05 22:04:20 +01:00
|
|
|
Name: elinks
|
2024-01-05 22:04:20 +01:00
|
|
|
Version: 0.14.0
|
|
|
|
Release: 2mamba
|
2024-01-05 22:04:20 +01:00
|
|
|
Summary: An advanced and well-established feature-rich text mode web browser
|
|
|
|
Group: Applications/Web
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://elinks.or.cz/
|
2024-01-05 22:04:20 +01:00
|
|
|
Source: https://github.com/rkd77/elinks.git/v%{version}/elinks-%{version}.tar.bz2
|
2024-01-05 22:04:20 +01:00
|
|
|
Patch0: elinks-0.13-gcc-4.8.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 22:04:20 +01:00
|
|
|
BuildRequires: ldconfig
|
|
|
|
BuildRequires: libX11-devel
|
2024-01-05 22:04:20 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libexpat-devel
|
2024-01-05 22:04:20 +01:00
|
|
|
BuildRequires: libgpm-devel
|
2024-01-05 22:04:20 +01:00
|
|
|
BuildRequires: libidn-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-05 22:04:20 +01:00
|
|
|
BuildRequires: libtre-devel
|
2024-01-05 22:04:20 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-05 22:04:20 +01:00
|
|
|
BuildRequires: libzstd-devel
|
2024-01-05 22:04:20 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 22:04:20 +01:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: gettext-devel
|
2024-01-05 22:04:20 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
ELinks can render both frames and tables, is highly customizable and can be extended via Lua or Guile scripts.
|
|
|
|
It is very portable and runs on a variety of platforms.
|
|
|
|
Below the most noteworthy features are listed.
|
|
|
|
|
|
|
|
- Lots of protocols (local files, finger, http, https, ftp, smb, ipv4, ipv6)
|
|
|
|
- Authentication (HTTP authentication, Proxy authentication)
|
|
|
|
- Persistent cookies
|
|
|
|
- Cute menus and dialogs
|
|
|
|
- Tabbed browsing
|
|
|
|
- Support for browser scripting (Perl, Lua, Guile)
|
|
|
|
- Tables and frames rendering
|
|
|
|
- Colors
|
|
|
|
- Background (non-blocking) downloads
|
|
|
|
|
2024-01-05 22:04:20 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 22:04:20 +01:00
|
|
|
%prep
|
2024-01-05 22:04:20 +01:00
|
|
|
%setup -q
|
2024-01-05 22:04:20 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 22:04:20 +01:00
|
|
|
./autogen.sh
|
2024-01-05 22:04:20 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config/config.sub
|
|
|
|
sed -i 's/Terminal=1/Terminal=true/' "contrib/debian/elinks.desktop"
|
2024-01-05 22:04:20 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 22:04:20 +01:00
|
|
|
#export LUA_LIBS=`pkg-config --libs lua5.1`
|
2024-01-05 22:04:20 +01:00
|
|
|
%configure \
|
|
|
|
--with-xterm \
|
|
|
|
--with-x \
|
2024-01-05 22:04:20 +01:00
|
|
|
--with-zlib \
|
2024-01-05 22:04:20 +01:00
|
|
|
--enable-cgi \
|
|
|
|
--enable-finger \
|
|
|
|
--enable-gopher \
|
|
|
|
--enable-nntp \
|
|
|
|
--enable-256-colors \
|
|
|
|
--enable-exmode \
|
|
|
|
--enable-leds \
|
2024-01-05 22:04:20 +01:00
|
|
|
--enable-html-highlight \
|
2024-01-05 22:04:20 +01:00
|
|
|
--enable-no-root \
|
2024-01-05 22:04:20 +01:00
|
|
|
--enable-fastmem \
|
|
|
|
--without-spidermonkey
|
2024-01-05 22:04:20 +01:00
|
|
|
|
2024-01-05 22:04:20 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
# Remove file that conflicts with the one in locales package
|
|
|
|
rm -f %{buildroot}%{_datadir}/locale/locale.alias
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/elinks
|
|
|
|
%{_mandir}/man1/elinks.1.gz
|
|
|
|
%{_mandir}/man5/elinks.conf.5.gz
|
|
|
|
%{_mandir}/man5/elinkskeys.5.gz
|
|
|
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 22:04:20 +01:00
|
|
|
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.0-2mamba
|
|
|
|
- rebuilt with git tag
|
|
|
|
|
|
|
|
* Tue Jan 05 2021 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:04:20 +01:00
|
|
|
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.20200906git-1mamba
|
|
|
|
- update to 0.13.20200906git
|
|
|
|
|
2024-01-05 22:04:20 +01:00
|
|
|
* Tue Jan 29 2013 Automatic Build System <autodist@mambasoft.it> 0.13-1mamba
|
|
|
|
- update to 0.13
|
|
|
|
|
|
|
|
* Fri Dec 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 19 2008 gil <puntogil@libero.it> 0.11.4-1mamba
|
|
|
|
- update to 0.11.4
|
|
|
|
- removed buildrequires: Xorg-devel
|
|
|
|
- edit: vendor, packager, distribution
|
|
|
|
|
|
|
|
* Tue Feb 06 2007 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.11.2-1qilnx
|
|
|
|
- update to version 0.11.2 by autospec
|
|
|
|
|
|
|
|
* Wed Mar 22 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.11.1-1qilnx
|
|
|
|
- update to version 0.11.1 by autospec
|
|
|
|
|
|
|
|
* Fri Oct 14 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.10.6-1qilnx
|
|
|
|
- package created by autospec
|