1 Star 0 Fork 15

yaokai13/pngquant

forked from src-openEuler/pngquant 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
pngquant.spec 1.29 KB
Copy Edit Raw Blame History
bingo2008 authored 2019-12-13 15:27 . add package
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yaokai13/pngquant.git
git@gitee.com:yaokai13/pngquant.git
yaokai13
pngquant
pngquant
master

Search

D67c1975 1850385 1daf7b77 1850385