]> git.pld-linux.org Git - packages/zstd.git/blobdiff - zstd.spec
- up to 1.4.5
[packages/zstd.git] / zstd.spec
index 9f76a297bfaacdd8dc114485008572e747cda320..6aefdaf97d0a7f5000b772fdf7abd93104ca7a72 100644 (file)
--- a/zstd.spec
+++ b/zstd.spec
@@ -1,17 +1,14 @@
 Summary:       Zstandard - fast lossless compression algorithm
 Summary(pl.UTF-8):     Zstandard - szybki, bezstratny algorytm kompresji
 Name:          zstd
-Version:       1.0.0
+Version:       1.4.5
 Release:       1
 License:       BSD
 Group:         Libraries
-#Source0Download: https://github.com/Cyan4973/zstd/releases
-Source0:       https://github.com/Cyan4973/zstd/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: ca9a01cd81265ac235acdf611a25122e
-Patch0:                %{name}-noquiet.patch
-Patch1:                %{name}-no32.patch
-Patch2:                %{name}-noclean.patch
-URL:           https://github.com/Cyan4973/zstd
+#Source0Download: https://github.com/facebook/zstd/releases
+Source0:       https://github.com/facebook/zstd/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 0083d997dc845d9e1fc4249f450b7ce3
+URL:           https://github.com/facebook/zstd
 BuildRequires: gcc >= 5:3.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -51,20 +48,19 @@ Statyczna biblioteka Zstd.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
 CC="%{__cc}" \
 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
 LDFLAGS="%{rpmldflags}" \
-%{__make} all
+%{__make} -j1 all \
+       V=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
+       V=1 \
        DESTDIR=$RPM_BUILD_ROOT \
        PREFIX=%{_prefix} \
        LIBDIR=%{_libdir}
@@ -77,22 +73,29 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc NEWS README.md images
+%doc LICENSE CHANGELOG README.md
 %attr(755,root,root) %{_bindir}/unzstd
 %attr(755,root,root) %{_bindir}/zstd
 %attr(755,root,root) %{_bindir}/zstdcat
+%attr(755,root,root) %{_bindir}/zstdgrep
+%attr(755,root,root) %{_bindir}/zstdless
+%attr(755,root,root) %{_bindir}/zstdmt
 %attr(755,root,root) %{_libdir}/libzstd.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libzstd.so.1
 %{_mandir}/man1/unzstd.1*
 %{_mandir}/man1/zstd.1*
 %{_mandir}/man1/zstdcat.1*
+%{_mandir}/man1/zstdgrep.1*
+%{_mandir}/man1/zstdless.1*
 
 %files devel
 %defattr(644,root,root,755)
+%doc doc/{zstd_compression_format.md,zstd_manual.html,images}
 %attr(755,root,root) %{_libdir}/libzstd.so
 %{_includedir}/zbuff.h
 %{_includedir}/zdict.h
 %{_includedir}/zstd.h
+%{_includedir}/zstd_errors.h
 %{_pkgconfigdir}/libzstd.pc
 
 %files static
This page took 0.032024 seconds and 4 git commands to generate.