]> git.pld-linux.org Git - packages/elinks.git/blobdiff - elinks.spec
- disable brotli (useless)
[packages/elinks.git] / elinks.spec
index 1a85daf7fc3beebb875b21426a19d7fe0c57ac1c..105be9a93589acaeb483b9253695ee4b0c2b065f 100644 (file)
@@ -1,5 +1,4 @@
-# TODO: consider lua51
-
+#
 # Conditional build:
 # - protocols
 %bcond_without bittorrent      # BitTorrent protocol support
@@ -11,6 +10,7 @@
 %bcond_without openssl         # OpenSSL-based SSL support
 # - content
 %bcond_without cgi             # Local CGI support
+%bcond_with    brotli          # Brotli compression support
 %bcond_without js              # experimental (yet quite usable) JavaScript support (using SpiderMonkey)
 %bcond_with    lzma            # LZMA support (old API, incompatible with xz-libs)
 # - scripting
@@ -38,15 +38,16 @@ Summary(pl.UTF-8):  Eksperymentalny Links (tekstowa przeglądarka WWW)
 Summary(pt_BR.UTF-8):  O links é um browser para modo texto, similar ao lynx
 Name:          elinks
 Version:       0.13
-%define        snap    20120604
-Release:       4.%{snap}.2
+%define        snap    20151228
+%define        rel     3
+Release:       4.%{snap}.%{rel}
 Epoch:         1
 License:       GPL v2
 Group:         Applications/Networking
 # github gives different archive on each download
 # http://www.elinks.cz/download/%{name}-current-%{version}.tar.bz2
-Source0:       %{name}-current-%{version}.tar.bz2
-# Source0-md5: efc9918d90cb03a4d1c4d36ef1c36101
+Source0:       http://elinks.cz/download/elinks-current-%{version}.tar.bz2
+# Source0-md5: c8e0588124c127f5d025cb1cafe5d9d3
 Source1:       %{name}.desktop
 Source2:       links.png
 Patch0:                %{name}-home_etc.patch
@@ -61,15 +62,16 @@ BuildRequires:      automake
 BuildRequires: bzip2-devel
 BuildRequires: expat-devel
 %{?with_fsp:BuildRequires:     fsplib-devel}
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
 %{?with_gnutls:BuildRequires:  gnutls-devel >= 1.2.5}
 BuildRequires: gpm-devel
 %{?with_guile:BuildRequires: guile-devel}
 #BuildRequires:        heimdal-devel
-%{?with_js:BuildRequires:      js185-devel}
+%{?with_js:BuildRequires:      js187-devel}
+%{?with_brotli:BuildRequires:  libbrotli-devel}
 %{?with_idn:BuildRequires:     libidn-devel}
 %{?with_smb:BuildRequires:     libsmbclient-devel}
-%{?with_lua:BuildRequires:     lua50-devel}
+%{?with_lua:BuildRequires:     lua51-devel >= 5.1}
 %{?with_lzma:BuildRequires:    lzma-devel}
 BuildRequires: ncurses-devel >= 5.1
 %{?with_openssl:BuildRequires: openssl-devel >= 0.9.7d}
@@ -142,6 +144,7 @@ keepalive.
        --enable-nntp \
        --disable-no-root \
        %{?with_smb:--enable-smb} \
+       %{?with_brotli:--with-brotli} \
        --without-gc \
        %{?with_gnutls:--with-gnutls} \
        %{?with_guile:--with-guile} \
This page took 0.097115 seconds and 4 git commands to generate.