diff --git a/.gitignore b/.gitignore index 1de81c1..abb5195 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -SOURCES/lcms2-2.9.tar.gz -/lcms2-2.9.tar.gz +lcms2-2.16.tar.gz diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index ea86f9d..0000000 --- a/gating.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- !Policy -product_versions: - - rhel-8 -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional} diff --git a/lcms2.spec b/lcms2.spec index eef6cd0..8360c62 100644 --- a/lcms2.spec +++ b/lcms2.spec @@ -1,16 +1,29 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 6; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + Name: lcms2 -Version: 2.9 -Release: 2%{?dist} +Version: 2.16 +Release: %autorelease Summary: Color Management Engine -License: MIT +# part of src/cmssm.c is softsurf (no SPDX yet) see https://gitlab.com/fedora/legal/fedora-license-data/-/issues/469 +# utils/samples/mkcmy.c is libtiff - but it is not used +# plugins/threaded/src/ is GPL-3.0-or-later +License: MIT AND GPL-3.0-or-later URL: http://www.littlecms.com/ Source0: http://www.littlecms.com/lcms2-%{version}.tar.gz -## upstream patches - +BuildRequires: gcc BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: zlib-devel +BuildRequires: meson %description LittleCMS intends to be a small-footprint, speed optimized color management @@ -33,40 +46,23 @@ Provides: littlecms-devel = %{version}-%{release} Development files for LittleCMS. %prep -%setup -q - +%autosetup -p1 %build -%configure --disable-static --program-suffix=2 - -# remove rpath from libtool -sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool -sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool - -make %{?_smp_mflags} +%meson -Dutils=true +%meson_build %install -make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p" - -rm -fv ${RPM_BUILD_ROOT}%{_libdir}/lib*.la - -# 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 - +%meson_install %check -make check -k ||: - - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%meson_test %files %doc AUTHORS -%license COPYING +%doc ChangeLog +%doc README* +%license LICENSE %{_libdir}/liblcms2.so.2* %files utils @@ -74,20 +70,114 @@ make check -k ||: %{_mandir}/man1/* %files devel -%doc api.pdf plugin-api.pdf tutorial.pdf %{_includedir}/lcms2*.h %{_libdir}/liblcms2.so %{_libdir}/pkgconfig/lcms2.pc %changelog -* Wed Feb 07 2018 Fedora Release Engineering - 2.9-2 +## START: Generated by rpmautospec +* Tue Oct 29 2024 Troy Dawson - 2.16-6 +- Bump release for October 2024 mass rebuild: + +* Mon Jun 24 2024 Troy Dawson - 2.16-5 +- Bump release for June 2024 mass rebuild + +* Fri Apr 19 2024 Tomas Pelka - 2.16-4 +- gating enabled + +* Thu Jan 25 2024 Fedora Release Engineering - 2.16-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Richard Hughes - 2.16-2 +- Actually upload new sources + +* Mon Jan 22 2024 Richard Hughes - 2.16-1 +- New upstream version + +* Mon Jan 22 2024 Miroslav Suchý - 2.15-3 +- Migrate to SPDX license + +* Thu Jul 20 2023 Fedora Release Engineering - 2.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Mar 02 2023 Richard Hughes - 2.15-1 +- Update to 2.15 and switch buildsystem to meson + +* Thu Jan 19 2023 Fedora Release Engineering - 2.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 02 2022 Fedora Release Monitoring - 2.14-1 +- Update to 2.14 (#2139162) + +* Thu Jul 21 2022 Fedora Release Engineering - 2.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Feb 16 2022 Rex Dieter - 2.13.1-1 +- 2.13.1 (#2050365) + +* Wed Feb 16 2022 Rex Dieter - 2.13-2 +- %%doc ChangeLog (#2055122) + +* Wed Feb 02 2022 Rex Dieter - 2.13-1 +- 2.13 (#2038570) + +* Thu Jan 20 2022 Fedora Release Engineering - 2.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 2.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Feb 08 2021 Richard Hughes - 2.12-1 +- Update to new upstream version + +* Tue Jan 26 2021 Fedora Release Engineering - 2.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 05 2021 Tom Stellard - 2.11-3 +- Add BuildRequires: make + +* Tue Jul 28 2020 Fedora Release Engineering - 2.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jun 17 2020 Richard Hughes - 2.11-1 +- Update to new upstream version + +* Wed Jun 03 2020 Richard Hughes - 2.10-1 +- Update to new upstream version + +* Wed Jan 29 2020 Fedora Release Engineering - 2.9-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 2.9-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 2.9-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Sep 18 2018 Rex Dieter - 2.9-6 +- CVE-2018-16435 lcms2: heap-based buffer overflow in SetData function in + cmsIT8LoadFromFile (#1628969) .spec cosmetics, use %%make_build + %%make_install %%ldconfig_scriptlets + +* Fri Jul 13 2018 Fedora Release Engineering - 2.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Feb 19 2018 Richard Shaw - 2.9-4 +- Update build requirements for gcc/gcc-c++ per https://fedoraproject.org/w + iki/Packaging:C_and_C%%2B%%2B#BuildRequires_and_Requires + +* Wed Feb 07 2018 Fedora Release Engineering - 2.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild -* Fri Nov 17 2017 Rex Dieter - 2.9-1 +* Mon Nov 20 2017 Rex Dieter - 2.9-2 +- make check non-fatal (for now) + +* Fri Nov 17 2017 Rex Dieter - 2.9-1 - lcms2-2.9 (#1512518), .spec cosmetics/modernization * Thu Aug 03 2017 Fedora Release Engineering - 2.8-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild +- Rebuilt for + https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild @@ -95,13 +185,14 @@ make check -k ||: * Fri Feb 10 2017 Fedora Release Engineering - 2.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -* Wed Aug 17 2016 Rex Dieter - 2.8-2 +* Wed Aug 17 2016 Rex Dieter - 2.8-2 - lcms2: Out-of-bounds read in Type_MLU_Read() (#1367357) * Mon Jul 25 2016 Richard Hughes - 2.8-1 -- Update to new upstream version. +- Update to new upstream version -* Wed Mar 09 2016 Rex Dieter - 2.7-4 +* Wed Mar 09 2016 Rex Dieter - 2.7-7 +- 2.7-4 - %%files: less globs, use %%license - tighten subpkg deps - -devel: use %%doc @@ -109,92 +200,77 @@ make check -k ||: - simplify %%setup - %%check: make check -* Thu Feb 04 2016 Fedora Release Engineering - 2.7-3 +* Wed Mar 09 2016 Rex Dieter - 2.7-6 +- minor el5 compat fixes + +* Thu Feb 04 2016 Dennis Gilmore - 2.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild -* Wed Jun 17 2015 Fedora Release Engineering - 2.7-2 +* Wed Jun 17 2015 Dennis Gilmore - 2.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -* Sun Mar 22 2015 Richard Hughes - 2.7-1 -- Update to new upstream version. +* Sun Mar 22 2015 Richard Hughes - 2.7-3 +- Update to new upstream version -* Tue Mar 17 2015 Richard Hughes - 2.7-0.1rc3 -- Update to new upstream RC version. +* Tue Mar 17 2015 Richard Hughes - 2.7-2 +- Update to new upstream RC version -* Thu Feb 05 2015 Richard Hughes - 2.7-0.1rc1 -- Update to new upstream version. -- Added a flag to clip negative values in unbounded transforms -- Added a global optimization that merges consecutive matrices in pipelines. +* Thu Feb 05 2015 Richard Hughes - 2.7-1 +- Update to new upstream version -* Sun Aug 17 2014 Fedora Release Engineering - 2.6-4 +* Sun Aug 17 2014 Peter Robinson - 2.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild -* Sat Jun 07 2014 Fedora Release Engineering - 2.6-3 +* Sat Jun 07 2014 Dennis Gilmore - 2.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild -* Wed May 21 2014 Brent Baude - 2.6-2 +* Wed May 21 2014 Brent Baude - 2.6-4 - Correct assumption about ppc64 endianess -* Mon Mar 17 2014 Richard Hughes 2.6-1 -- Update to new upstream version. -- Added a way to retrieve matrix shaper always, no matter LUT is present -- Added pthread dependency -- Big revamp on Contexts, from Artifex -- Fixed a bug in PCS/Colorspace order when reading V2 Lab devicelinks -- Fixed some indexing out of bounds in floating point interpolation -- Fix for delete tag memory corruption -- New locking plug-in, from Artifex +* Mon Mar 17 2014 Richard Hughes - 2.6-3 +- Update to new upstream version -* Wed Feb 19 2014 Richard Hughes 2.6-0.1.rc3 -- Update to new prerelease upstream version. +* Wed Feb 19 2014 Richard Hughes - 2.6-2 +- Update to new prerelease upstream version -* Fri Feb 14 2014 Richard Hughes 2.6-0.1.rc1 -- Update to new prerelease upstream version. +* Fri Feb 14 2014 Richard Hughes - 2.6-1 +- Update to new prerelease upstream version -* Sat Aug 03 2013 Fedora Release Engineering - 2.5-2 +* Sat Aug 03 2013 Dennis Gilmore - 2.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild -* Mon Jul 01 2013 Richard Hughes 2.5-1 -- Update to new upstream version. -- Added a reference for Mac MLU tag -- Added a way to read the profile creator from header -- Added error descriptions on cmsSmoothToneCurve -- Added identity curves support for write V2 LUT -- Added new cmsPlugInTHR() and fixed some race conditions -- Added TIFF Lab16 handling on tifficc -- Fixed a bug on big endian platforms not supporting uint64 or long long. -- Fixed a multithead bug on optimization -- Fixed devicelink generation for 8 bits -- Fixed some 64 bit warnings on size_t to uint32 conversions -- Rendering intent used when creating the transform is now propagated to profile -- RGB profiles store only one copy of the curve to save space -- Transform2Devicelink now keeps white point when guessing deviceclass is enabled -- Update black point detection algorithm to reflect ICC changes -- User defined parametric curves can now be saved in ICC profiles +* Mon Jul 01 2013 Richard Hughes - 2.5-4 +- trivial: Use correct tarball... -* Thu Jun 27 2013 Richard Hughes 2.5-0.2 +* Mon Jul 01 2013 Richard Hughes - 2.5-3 +- Update to new upstream version + +* Thu Jun 27 2013 Richard Hughes - 2.5-2 +- Update to new release candidate version + +* Thu May 30 2013 Richard Hughes - 2.5-1 - Update to new release candidate version. -* Thu May 30 2013 Richard Hughes 2.5-0.1 -- Update to new release candidate version. +* Fri May 03 2013 Richard Hughes - 2.4-7 +- Make the -utils subpackage depend on the main package * Thu Apr 25 2013 Tim Waugh - 2.4-6 - Applied upstream fixes for threading (bug #951984). -* Thu Mar 7 2013 Tim Waugh - 2.4-5 -- Added upstream fix for threading issue with plugin registration - (bug #912307). +* Thu Mar 07 2013 Tim Waugh - 2.4-5 +- Added upstream fix for threading issue with plugin registration (bug + #912307). -* Thu Feb 14 2013 Fedora Release Engineering - 2.4-4 +* Thu Feb 14 2013 Dennis Gilmore - 2.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild -* Fri Jan 18 2013 Adam Tkac - 2.4-3 -- rebuild due to "jpeg8-ABI" feature drop +* Fri Jan 18 2013 Adam Tkac - 2.4-3 +- Rebuild due to "jpeg8-ABI" feature drop -* Fri Dec 21 2012 Adam Tkac - 2.4-2 +* Fri Dec 21 2012 Adam Tkac - 2.4-2 - rebuild against new libjpeg -* Sat Sep 15 2012 Richard Hughes 2.4-1 +* Sun Sep 16 2012 Richard Hughes - 2.4-1 - Update to new upstream version. - Black point detection from the algorithm disclosed by Adobe - Added support for transforms on planar data with different stride @@ -202,36 +278,31 @@ make check -k ||: - Linear (gamma 1.0) profiles can now operate in unbounded mode - Added "half" float support -* Thu Jul 19 2012 Fedora Release Engineering - 2.3-3 +* Thu Jul 19 2012 Dennis Gilmore - 2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild -* Fri Jan 13 2012 Fedora Release Engineering - 2.3-2 +* Fri Jan 13 2012 Dennis Gilmore - 2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild -* Fri Jun 10 2011 Richard Hughes 2.3-1 +* Fri Dec 16 2011 Richard Hughes - 2.3-1 - Update to new upstream version which incorporates many bugfixes. -* Fri Jun 10 2011 Richard Hughes 2.2-2 +* Fri Jun 10 2011 Richard Hughes - 2.2-2 - Actually update the sources... -* Fri Jun 10 2011 Richard Hughes 2.2-1 -- Update to new upstream version -- Stability and efficienty fixes -- Adds support for dictionary metatag +* Fri Jun 10 2011 Richard Hughes - 2.2-1 +- Update to new upstream version Stability and efficienty fixes Adds + support for dictionary metatag -* Mon Feb 07 2011 Fedora Release Engineering - 2.1-2 +* Tue Feb 08 2011 Dennis Gilmore - 2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -* Wed Dec 01 2010 Richard Hughes 2.1-1 +* Wed Dec 01 2010 Richard Hughes - 2.1-1 - Update to new upstream version. -* Fri Jun 18 2010 Richard Hughes 2.0a-3 -- Address some more review comments. -- Resolves #590387 +* Wed Jul 28 2010 Fedora Release Engineering - 2.0a-2 +- dist-git conversion -* Fri Jun 18 2010 Richard Hughes 2.0a-2 -- Address some review comments. -- Resolves #590387 - -* Fri Jun 18 2010 Richard Hughes 2.0a-1 -- Initial package for Fedora review +* Mon Jun 21 2010 Richard Hughes - 2.0a-1 +- *** empty log message *** +## END: Generated by rpmautospec diff --git a/sources b/sources index 60ff3b5..2a156c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lcms2-2.9.tar.gz) = e30ad5a9a1ab9e7aaace9431434caa19a5ff6143db46644aba971a5ee37a265b26bf738e886d766405a7eb45a9d620d67c7ab3684ace86a107cf5a76642c04a5 +SHA512 (lcms2-2.16.tar.gz) = 638dd6ad6787456c8145510d18b2d0727bd0a446a13ac2934aabc9531d1156eca2a2c0fd780a453823fbd35a1895f9d8de5dc4b3cab505459dd3f0535b4e837d