diff --git a/lcms2-2.15.tar.gz b/lcms2-2.16.tar.gz similarity index 50% rename from lcms2-2.15.tar.gz rename to lcms2-2.16.tar.gz index fd36c9302638537600f27b58b14524a8d51138a8..ff39db02b1192c062452319d238f319e61f7e36e 100644 Binary files a/lcms2-2.15.tar.gz and b/lcms2-2.16.tar.gz differ diff --git a/lcms2.spec b/lcms2.spec index f0a15c8c8055d9f6ba5f43b409fa13de8f5ab7fa..4f2a99ac3f666016fdf5ec1397686f98d7770c5a 100644 --- a/lcms2.spec +++ b/lcms2.spec @@ -1,14 +1,15 @@ -%define anolis_release 3 +%define anolis_release 1 Name: lcms2 -Version: 2.15 +Version: 2.16 Release: %{anolis_release}%{?dist} Summary: Color Management Engine -License: MIT +License: MIT AND GPL-3.0-or-later URL: http://www.littlecms.com/ Source0: https://github.com/mm2/Little-CMS/releases/download/lcms%{version}/%{name}-%{version}.tar.gz -BuildRequires: gcc make autoconf automake +BuildRequires: gcc BuildRequires: libjpeg-devel libtiff-devel zlib-devel +BuildRequires: meson %description Little CMS intends to be a small-footprint color management engine, with @@ -44,35 +45,26 @@ The %{name}-doc package contains documentation files for %{name}. %build -%configure \ - --disable-static \ - --program-suffix=2 - -%make_build - +%meson -Dutils=true +%meson_build %install -%make_install +%meson_install -# rename docs (for use with %%doc below) -cp -alf doc/LittleCMS2.??\ API.pdf api.pdf -cp -alf doc/LittleCMS2.??\ Plugin\ API.pdf plugin-api.pdf -cp -alf doc/LittleCMS2.??\ tutorial.pdf tutorial.pdf %generate_compatibility_deps %check -%make_build check -k +%meson_test %files %dir %{abidir} -%license COPYING +%license LICENSE %{_libdir}/liblcms2.so.2* %{abidir}/liblcms2.dump %files devel -%doc api.pdf plugin-api.pdf tutorial.pdf %{_includedir}/lcms2*.h %{_libdir}/liblcms2.so %{_libdir}/pkgconfig/lcms2.pc @@ -86,6 +78,11 @@ cp -alf doc/LittleCMS2.??\ tutorial.pdf tutorial.pdf %doc AUTHORS ChangeLog README* %changelog +* Mon Feb 24 2025 Xiaoping Liu - 2.16-1 +- update to 2.16 from 2.15 +- switch to build using meson +- Migrated to SPDX license + * Wed May 22 2024 mgb01105731 - 2.15-3 - fix source link