4 Star 0 Fork 4

src-openEuler/libdeflate

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libdeflate.spec 1.70 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2024-11-09 21:46 . adopt to new cmake macro
%global debug_package %{nil}
Name: libdeflate
Version: 1.22
Release: 2
Summary: Fast implementation of DEFLATE, gzip, and zlib
License: MIT
URL: https://github.com/ebiggers/libdeflate
Source0: https://github.com/ebiggers/libdeflate/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: cmake >= 3.7
BuildRequires: ninja-build
BuildRequires: zlib-devel
%description
libdeflate is a library for fast, whole-buffer DEFLATE-based compression and
decompression, supporting DEFLATE, gzip, and zlib.
%package devel
Summary: Development files for libdeflate
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for libdeflate.
%package utils
Summary: Binaries from libdeflate
Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils
Binaries from libdeflate.
%prep
%autosetup
%build
%cmake -G Ninja \
-DLIBDEFLATE_BUILD_STATIC_LIB=OFF \
-DLIBDEFLATE_BUILD_TESTS=ON
%cmake_build
%install
%cmake_install
%check
%ctest
%files
%doc NEWS.md README.md
%license COPYING
%{_libdir}/libdeflate.so.*
%files devel
%{_includedir}/libdeflate.h
%{_libdir}/libdeflate.so
%{_libdir}/cmake/libdeflate
%{_libdir}/pkgconfig/*
%files utils
%{_bindir}/libdeflate-gzip
%{_bindir}/libdeflate-gunzip
%changelog
* Sat Nov 09 2024 Funda Wang <fundawang@yeah.net> - 1.22-2
- adopt to new cmake macro
- cleanup spec
* Tue Oct 22 2024 binshuo zu <binshuo.oerv@isrc.iscas.ac.cn> - 1.22-1
- upgrade to 1.22
* Sat Jun 3 2023 guoyizhang <kuoi@bioarchlinux.org> - 1.18-1
- update to 1.18
* Fri Jan 28 2022 herengui <herengui@uniontech.com> - 1.9-1
- Initial package
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/libdeflate.git
git@gitee.com:src-openeuler/libdeflate.git
src-openeuler
libdeflate
libdeflate
master

搜索帮助