elinks/elinks.spec

114 lines
3.1 KiB
RPMSpec

Name: elinks
Version: 0.13.20200906git
Release: 1mamba
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/
Source: http://elinks.cz/elinks.git/master/elinks-%{version}.tar.bz2
Patch0: elinks-0.13-gcc-4.8.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libX11-devel
BuildRequires: libbrotli-devel
BuildRequires: libbzip2-devel
BuildRequires: libexpat-devel
BuildRequires: libgpm-devel
BuildRequires: libidn-devel
BuildRequires: liblua-devel
BuildRequires: libopenssl-devel
BuildRequires: libtre-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: bison
BuildRequires: gettext-devel
BuildRequires: libgpm-devel
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
%debug_package
%prep
%setup -q
%patch0 -p1
./autogen.sh
%build
#export LUA_LIBS=`pkg-config --libs lua5.1`
%configure \
--with-xterm \
--with-x \
--enable-cgi \
--enable-finger \
--enable-gopher \
--enable-nntp \
--enable-256-colors \
--enable-exmode \
--enable-leds \
--enable-no-root \
--enable-fastmem
%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
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.20200906git-1mamba
- update to 0.13.20200906git
* 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