Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-lz4
mingw32-lz4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-lz4.spec of Package mingw32-lz4
# # spec file for package mingw32-lz4 # # 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 lz4 %define libname mingw32-lib%{realname} Name: mingw32-%{realname} Version: 1.9.4 Release: 0 Summary: Hash-based Predictive Lempel–Ziv compressor License: BSD-2-Clause AND GPL-2.0-or-later Group: Productivity/Archiving/Compression URL: https://lz4.github.io/lz4/ #Git-Clone: https://github.com/lz4/lz4.git Source: https://github.com/lz4/lz4/archive/v%{version}.tar.gz Patch0: lz-export.diff BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-filesystem %_mingw32_package_header_debug BuildArch: noarch %description LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed. It belongs to the LZ77 (Lempel–Ziv) family of byte-oriented compression schemes. It is a LZP2 fork and provides better compression ratio for text files. This subpackage provides a GPL command-line utility to make use of the LZ4 algorithm. %package -n %{libname} Summary: Hash-based predictive Lempel-Ziv compressor License: BSD-2-Clause Group: System/Libraries %description -n %{libname} LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed. It belongs to the LZ77 (Lempel–Ziv) family of byte-oriented compression schemes. It is a This subpackage contains the (de)compressor code as a shared library. %package -n mingw32-%{realname}-devel Summary: Development files for the LZ4 compressor License: BSD-2-Clause Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} %description -n mingw32-%{realname}-devel LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed. It belongs to the LZ77 (Lempel–Ziv) family of byte-oriented compression schemes. It is a This subpackage contains libraries and header files for developing applications that want to make use of liblz4. %_mingw32_debug_package %prep %setup -q -n %{realname}-%{version} %autopatch -p1 %build cd build/cmake %{_mingw32_cmake} %install cd build/cmake %{_mingw32_cmake_install} %files %{_mingw32_bindir}/lz4.exe %{_mingw32_bindir}/lz4c.exe %{_mingw32_mandir}/man1/lz4.1%{?ext_man} %files -n %{libname} %{_mingw32_bindir}/liblz4.dll %files -n mingw32-%{realname}-devel %{_mingw32_includedir}/lz4*.h %{_mingw32_libdir}/liblz4.dll.a %{_mingw32_libdir}/cmake/lz4 %{_mingw32_libdir}/pkgconfig/liblz4.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