1 Star 0 Fork 15

qiaoyujie/pngquant

forked from src-openEuler/pngquant 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pngquant.spec 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
qiaoyujie 提交于 2022-10-09 11:37 . Upgrade version to 2.17.0
Name: pngquant
Version: 2.17.0
Release: 1
Summary: PNG quantitative tool for reducing the size of the image file
License: GPLv3+
URL: http://pngquant.org
Source0: https://github.com/pornel/pngquant/archive/%{version}/pngquant-%{version}.tar.gz
BuildRequires: libpng-devel >= 1.2.46-1 zlib-devel >= 1.2.3-1 lcms2-devel libimagequant-devel >= %{version} gcc
Requires: libpng >= 1.2.46-1 zlib >= 1.2.3-1 libimagequant >= %{version}
%description
Pngquant converts a 24/32-bit RGBA PNG image into an 8-bit palette that retains the alpha channel. Such images
are compatible with all modern web browsers and can use compatibility settings to help reduce transparency in
Internet Explorer 6.
%package help
Summary: Documentation for pngquant
%description help
This package provides documentation for pngquant.
%prep
%autosetup -n pngquant-%{version} -p1
%build
export CFLAGS="%{optflags} -fno-math-errno -funroll-loops -fomit-frame-pointer -fPIC"
%configure --with-openmp --with-libimagequant
%make_build
%install
%make_install
%check
%make_build test
%files
%doc README.md CHANGELOG COPYRIGHT
%{_bindir}/%{name}
%files help
%{_mandir}/man1/%{name}.1*
%changelog
* Sun Oct 9 2022 qiaoyujie <qiaoyujie@kylinos.cn> - 2.17.0-1
- Upgrade version to 2.17.0
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 2.12.5-3
- Completing build dependencies
* Fri Dec 13 2019 fengbing <fengbing7@huawei.com> - 2.12.5-2
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qiao-yujie/pngquant.git
git@gitee.com:qiao-yujie/pngquant.git
qiao-yujie
pngquant
pngquant
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385