elinks/elinks.spec

123 lines
3.5 KiB
RPMSpec
Raw Normal View History

Name: elinks
Version: 0.14.0
Release: 2mamba
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: https://github.com/rkd77/elinks.git/v%{version}/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: libbzip2-devel
BuildRequires: libexpat-devel
BuildRequires: libgpm-devel
BuildRequires: libidn-devel
BuildRequires: libopenssl-devel
BuildRequires: libtre-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: bison
BuildRequires: gettext-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
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config/config.sub
sed -i 's/Terminal=1/Terminal=true/' "contrib/debian/elinks.desktop"
%build
#export LUA_LIBS=`pkg-config --libs lua5.1`
%configure \
--with-xterm \
--with-x \
--with-zlib \
--enable-cgi \
--enable-finger \
--enable-gopher \
--enable-nntp \
--enable-256-colors \
--enable-exmode \
--enable-leds \
--enable-html-highlight \
--enable-no-root \
--enable-fastmem \
--without-spidermonkey
%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
* 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
* 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