]> git.pld-linux.org Git - packages/zstd.git/blobdiff - zstd.spec
up to 1.5.6
[packages/zstd.git] / zstd.spec
index c5f9359cd7dbb1356fddd11221dcf3671e9ba365..e3dc6de14c0928a2195393a2a753936110f9e7d3 100644 (file)
--- a/zstd.spec
+++ b/zstd.spec
@@ -1,15 +1,20 @@
+#
+# Conditional build:
+%bcond_without asm             # disable assembler
+
 Summary:       Zstandard - fast lossless compression algorithm
 Summary(pl.UTF-8):     Zstandard - szybki, bezstratny algorytm kompresji
 Name:          zstd
-Version:       1.5.1
+Version:       1.5.6
 Release:       1
 License:       BSD
 Group:         Libraries
 #Source0Download: https://github.com/facebook/zstd/releases
 Source0:       https://github.com/facebook/zstd/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 120d77140ad538e8bd3a7dae6a38c4c9
+# Source0-md5: 2543d7cb3beda9ec48f965e5059dbd42
 URL:           https://github.com/facebook/zstd
 BuildRequires: gcc >= 5:3.2
+BuildRequires: libstdc++-devel
 BuildRequires: lz4-devel
 BuildRequires: xz-devel
 BuildRequires: zlib-devel
@@ -63,7 +68,10 @@ CFLAGS="%{rpmcflags} %{rpmcppflags} %{?archcflags}" \
 CXXFLAGS="%{rpmcxxflags} %{rpmcppflags}" \
 LDFLAGS="%{rpmldflags}" \
 %{__make} allmost manual \
-       V=1
+       V=1 \
+       PREFIX=%{_prefix} \
+       LIBDIR=%{_libdir} \
+       %{!?with_asm:ZSTD_NO_ASM=1}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.081191 seconds and 4 git commands to generate.