Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:mnhauke:mingw:win64:sdr
mingw64-zstd
mingw64-zstd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-zstd.spec of Package mingw64-zstd
# # spec file for package mingw64-zstd # # Copyright (c) 2024, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define realname zstd %define libname mingw64-lib%{realname} Name: mingw64-%{realname} Version: 1.5.6 Release: 0 Summary: Zstandard compression tools License: BSD-3-Clause AND GPL-2.0-only Group: Productivity/Archiving/Compression URL: https://github.com/facebook/zstd Source0: https://github.com/facebook/zstd/releases/download/v%{version}/%{realname}-%{version}.tar.gz BuildRequires: mingw64-cross-cmake BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-filesystem %_mingw64_package_header_debug BuildArch: noarch %description Zstd, short for Zstandard, is a lossless compression algorithm. Speed vs. compression trade-off is configurable in small increments. Decompression speed is preserved and remains roughly the same at all settings, a property shared by most LZ compression algorithms, such as zlib or lzma. At roughly the same ratio, zstd (v1.4.0) achieves ~870%% faster compression than gzip. For roughly the same time, zstd achives a ~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster compression for same ratio, or ~1–4%% size reduction for same time. %package -n %{libname} Summary: Zstd compression library %description -n %{libname} Zstd, short for Zstandard, is a lossless compression algorithm, targeting faster compression than zlib at comparable ratios. This subpackage contains the implementation as a shared library. %package -n mingw64-%{realname}-devel Summary: Development files for the Zstd compression library Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} %description -n mingw64-%{realname}-devel Zstd, short for Zstandard, is a lossless compression algorithm, targeting faster compression than zlib at comparable ratios. Needed for compiling programs that link with the library. %_mingw64_debug_package %prep %setup -q -n %{realname}-%{version} %build cd build/cmake %{_mingw64_cmake} \ -DZSTD_BUILD_PROGRAMS=OFF \ -DZSTD_BUILD_STATIC=OFF %{_mingw64_cmake_build} %check %install cd build/cmake %{_mingw64_cmake_install} %files -n %{libname} %{_mingw64_bindir}/libzstd.dll %files -n mingw64-%{realname}-devel %license COPYING %{_mingw64_includedir}/z*.h %{_mingw64_libdir}/libzstd.dll.a %{_mingw64_libdir}/cmake/zstd/ %{_mingw64_libdir}/pkgconfig/libzstd.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor