Projects
Eulaceura:Factory
zstd
_service:obs_scm:zstd.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:zstd.spec of Package zstd
%bcond_without pzstd Name: zstd Version: 1.5.6 Release: 2 Summary: A fast lossless compression algorithm License: BSD-3-Clause AND GPL-2.0-only URL: https://github.com/facebook/zstd Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc gcc-c++ BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(zlib) %if %{with pzstd} BuildRequires: pkgconfig(gtest) %endif Provides: libzstd = %{version}-%{release} Obsoletes: libzstd < %{version}-%{release} %description Zstd is a fast lossless compression algorithm. It's backed by a very fast entropy stage, provided by Huff0 and FSE library. It's a real-time compression scenario for zlib levels and has a better compression ratio. %package devel Summary: Header files for zstd library Requires: %{name} = %{version}-%{release} Provides: libzstd-devel = %{version}-%{release} Obsoletes: libzstd-devel < %{version}-%{release} Provides: libzstd-static = %{version}-%{release} Obsoletes: libzstd-static < %{version}-%{release} %description devel This package contains the header files for zstd library. %package_help %prep %autosetup -p1 %build export CFLAGS="$RPM_OPT_FLAGS" export LDFLAGS="$RPM_LD_FLAGS" for dir in lib programs; do %make_build -C "$dir" done %if %{with pzstd} %make_build -C contrib/pzstd CXXFLAGS="$RPM_OPT_FLAGS -std=c++11" %endif %check %make_build -C tests test-zstd %if %{with pzstd} %make_build -C contrib/pzstd test CXXFLAGS="$RPM_OPT_FLAGS -std=c++11" %endif %install %make_install PREFIX=%{_prefix} LIBDIR=%{_libdir} %if %{with pzstd} install -D -m755 contrib/pzstd/pzstd %{buildroot}%{_bindir}/pzstd install -D -m644 programs/zstd.1 %{buildroot}%{_mandir}/man1/pzstd.1 %endif %files %doc CHANGELOG README.md %license LICENSE COPYING %{_bindir}/* %{_libdir}/libzstd.so.* %files devel %{_includedir}/*.h %{_libdir}/pkgconfig/libzstd.pc %{_libdir}/libzstd.so %{_libdir}/libzstd.a %files help %{_mandir}/man1/*.1* %changelog * Sat Aug 03 2024 Funda Wang <fundawang@yeah.net> - 1.5.6-2 - Do ship binaries and static lib archive as other distros * Wed May 22 2024 zhangxingrong <zhangxingrong@uniontech.com> - 1.5.6-1 - Update to version 1.5.6 * Thu Jul 13 2023 dillon chen <dillon.chen@gmail.com> - 1.5.5-1 * zstd update to 1.5.5 * Mon Apr 3 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 1.5.2.2 * fix CVE-2022-4899 * Tue Jan 31 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 1.5.2.1 * zstd update to 1.5.2 * Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 1.5.0.18 * rebuild for next release * Wed Dec 15 2021 liushiyuan <liushiyuan2@huawei.com> - 1.5.0.17 * fix test-pool result print * Tue Dec 14 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0.16 * fix Add missing bounds checks during compression * Tue Dec 14 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0.15 * Z_PREFIX zError function * Tue Dec 14 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0.14 * Fix progress flag to properly control progress display and default * Mon Dec 13 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0.13 * fix entropy repeat mode bug * Mon Dec 13 2021 liushiyuan <liushiyuan2@huawei.com> - 1.5.0.12 * add test c result print * Mon Dec 06 2021 helei <helei28@huawei.com> - 1.5.0.11 * fix extra newline gets printes out when compressing multiple files * Fri Dec 03 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0.10 * add test case * Mon Nov 22 2021 wangshenglong <wangshenglong7@hauwei.com> - 1.5.0.9 * fix a determinism bug with the DUBT * Thu Nov 18 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0.8 * add test case survive a list of files which long file name length * Tue Nov 16 2021 zhangying <zhangying103@huawei.com> - 1.5.0.7 * run the complete test case on ci * Tue Nov 16 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0.6 * Limit train smaples * Mon Nov 15 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0.5 * make the test in all archtectures * Mon Nov 08 2021 zhangying <zhangying103@huawei.com> - 1.5.0-4 * remove invalid test * Wed Nov 03 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0-3 * add tests - solve the modification time is set to the compression time * Mon Oct 25 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0-2 * solve the modification time is set to the compression time * Wed Aug 04 2021 shixuantong <shixuantong@huawei.com> - 1.5.0-1 - upgrade version to 1.5.0 * Tue Mar 16 2021 shixuantong <shixuantong@huawei.com> - 1.4.8-2 - fix CVE-2021-24032 * Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 1.4.8-1 - upgrade version to 1.4.8 * Sat Jun 20 2020 maqiang<maqiang42@huawei.com> -1.4.5 - Type:Update - ID: - SUG:NA - DESC:Update to version 1.4.5 * Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.6-3 - Delete useless files. * Sun Sep 15 2019 dongjian <dongjian13@huawei.com> - 1.3.6-2 - Modification summary
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2