libimagequant/libimagequant.spec

66 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

2019-12-13 17:31:18 +08:00
Name: libimagequant
2023-04-13 10:18:39 +08:00
Version: 2.18.0
2021-12-03 11:18:53 +08:00
Release: 1
2019-12-13 17:31:18 +08:00
Summary: Palette quantization library
License: GPLv3+ and MIT
URL: https://github.com/ImageOptim/libimagequant
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
2021-06-08 10:02:38 +08:00
BuildRequires: gcc
2019-12-13 17:31:18 +08:00
%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
2023-04-13 10:18:39 +08:00
* Wed Apr 12 2023 liyanan <thistleslyn@163.com> - 2.18.0-1
- Update to 2.18.0
2022-08-03 07:07:09 +08:00
* Fri Aug 05 2022 tianlijing <tianlijing@kylinos.cn> - 2.17.0-1
- update to 2.17.0
2021-12-03 11:18:53 +08:00
* Fri Dec 03 2021 xingxing <xingxing9@huawei.com> - 2.15.1-1
- update to 2.15.1
2021-06-08 10:02:38 +08:00
* Tue Jun 08 2021 liuyumeng <liuyumeng5@huawei.com> - 2.14.0-2
- Add a BuildRequires for gcc
2021-02-02 19:22:09 +08:00
* Tue Feb 02 2021 zhanzhimin <zhanzhimin@huawei.com> - 2.14.0-1
- update to 2.14.0
2019-12-13 17:31:18 +08:00
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 2.12.5-2
- Package init