1 Star 0 Fork 15

yoo/libimagequant

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libimagequant.spec 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
yoo 提交于 2023-10-30 16:57 . fix clang build error: openmp
Name: libimagequant
Version: 2.18.0
Release: 2
Summary: Palette quantization library
License: GPLv3+ and MIT
URL: https://github.com/ImageOptim/libimagequant
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
%description
The portable C library can convert RGBA images into
8-bit indexed color images with high quality.
%package devel
Summary: Development files for libimagequant
Requires: %{name} = %{version}-%{release}
%description devel
The libimagequant-deve package contains the libraries
and header files for the application.
%prep
%autosetup -p1
%build
%if "%toolchain" == "clang"
%configure
%else
%configure --with-openmp
%endif
%make_build
%install
%make_install
rm -f %{buildroot}%{_libdir}/%{name}.a
%ldconfig_scriptlets
%files
%license COPYRIGHT
%{_libdir}/%{name}.so.0
%doc README.md CHANGELOG
%files devel
%{_includedir}/%{name}.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/imagequant.pc
%changelog
* Mon Oct 30 2023 yoo <sunyuechi@iscas.ac.cn> - 2.18.0-2
- fix clang build error: openmp
* Wed Apr 12 2023 liyanan <thistleslyn@163.com> - 2.18.0-1
- Update to 2.18.0
* Fri Aug 05 2022 tianlijing <tianlijing@kylinos.cn> - 2.17.0-1
- update to 2.17.0
* Fri Dec 03 2021 xingxing <xingxing9@huawei.com> - 2.15.1-1
- update to 2.15.1
* Tue Jun 08 2021 liuyumeng <liuyumeng5@huawei.com> - 2.14.0-2
- Add a BuildRequires for gcc
* Tue Feb 02 2021 zhanzhimin <zhanzhimin@huawei.com> - 2.14.0-1
- update to 2.14.0
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 2.12.5-2
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mdLUbG/libimagequant.git
git@gitee.com:mdLUbG/libimagequant.git
mdLUbG
libimagequant
libimagequant
master

搜索帮助