|
|
@ -1,16 +1,16 @@
|
|
|
|
Name: lcms2
|
|
|
|
Name: lcms2
|
|
|
|
Version: 2.12
|
|
|
|
Version: 2.9
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Color Management Engine
|
|
|
|
Summary: Color Management Engine
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://www.littlecms.com/
|
|
|
|
URL: http://www.littlecms.com/
|
|
|
|
Source0: http://www.littlecms.com/lcms2-%{version}.tar.gz
|
|
|
|
Source0: http://www.littlecms.com/lcms2-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
## upstream patches
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
LittleCMS intends to be a small-footprint, speed optimized color management
|
|
|
|
LittleCMS intends to be a small-footprint, speed optimized color management
|
|
|
@ -33,37 +33,36 @@ Provides: littlecms-devel = %{version}-%{release}
|
|
|
|
Development files for LittleCMS.
|
|
|
|
Development files for LittleCMS.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%configure --disable-static --program-suffix=2
|
|
|
|
--disable-static \
|
|
|
|
|
|
|
|
--program-suffix=2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# remove rpath from libtool
|
|
|
|
# remove rpath from libtool
|
|
|
|
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 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
|
|
|
|
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
|
|
|
|
|
|
|
|
|
|
|
|
rm -fv %{buildroot}%{_libdir}/lib*.la
|
|
|
|
rm -fv ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
|
|
|
|
|
|
|
|
|
|
|
|
# rename docs (for use with %%doc below)
|
|
|
|
# rename docs (for use with %%doc below)
|
|
|
|
cp -alf doc/LittleCMS2.??\ API.pdf api.pdf
|
|
|
|
cp -alf doc/LittleCMS2.?\ API.pdf api.pdf
|
|
|
|
cp -alf doc/LittleCMS2.??\ Plugin\ API.pdf plugin-api.pdf
|
|
|
|
cp -alf doc/LittleCMS2.?\ Plugin\ API.pdf plugin-api.pdf
|
|
|
|
cp -alf doc/LittleCMS2.??\ tutorial.pdf tutorial.pdf
|
|
|
|
cp -alf doc/LittleCMS2.?\ tutorial.pdf tutorial.pdf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%make_build check -k ||:
|
|
|
|
make check -k ||:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc AUTHORS
|
|
|
|
%doc AUTHORS
|
|
|
@ -80,46 +79,7 @@ cp -alf doc/LittleCMS2.??\ tutorial.pdf tutorial.pdf
|
|
|
|
%{_libdir}/liblcms2.so
|
|
|
|
%{_libdir}/liblcms2.so
|
|
|
|
%{_libdir}/pkgconfig/lcms2.pc
|
|
|
|
%{_libdir}/pkgconfig/lcms2.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.12-3
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.12-2
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 08 2021 Richard Hughes <richard@hughsie.com> - 2.12-1
|
|
|
|
|
|
|
|
- Update to new upstream version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2020 Richard Hughes <richard@hughsie.com> - 2.11-1
|
|
|
|
|
|
|
|
- Update to new upstream version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 03 2020 Richard Hughes <richard@hughsie.com> - 2.10-1
|
|
|
|
|
|
|
|
- Update to new upstream version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 18 2018 Rex Dieter <rdieter@fedoraproject.org> - 2.9-4
|
|
|
|
|
|
|
|
- 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 <releng@fedoraproject.org> - 2.9-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-2
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|