libimagequant/libimagequant.spec
2021-03-03 16:27:19 +08:00

54 lines
1.1 KiB
RPMSpec

Name: libimagequant
Version: 2.13.1
Release: 1
Summary: Palette quantization library
License: GPLv3+ and MIT
URL: https://github.com/ImageOptim/libimagequant
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0000: libimagequant_solibperm.patch
%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
%configure --with-openmp
%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
* Wed Mar 03 2021 hanhui<hanhui15@huawei.com> - 2.13.1-1
- update to 2.13.1
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 2.12.5-2
- Package init