Fetch the repository succeeded.
This action will force synchronization from src-openEuler/pngquant, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
Name: pngquant
Version: 2.12.5
Release: 2
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}
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
* Fri Dec 13 2019 fengbing <fengbing7@huawei.com> - 2.12.5-2
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。