ea16c65
Name:           lcms2
Richard Hughes 3379855
Version:        2.8
Richard Hughes 3379855
Release:        1%{?dist}
ea16c65
Summary:        Color Management Engine
Rex Dieter 4f52c5c
Group:          System Environment/Libraries
ea16c65
License:        MIT
ea16c65
URL:            http://www.littlecms.com/
Rex Dieter 4bb897c
Source0:        http://www.littlecms.com/lcms2-%{version}.tar.gz
Rex Dieter 4f52c5c
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
ea16c65
ea16c65
BuildRequires:  libjpeg-devel
ea16c65
BuildRequires:  libtiff-devel
ea16c65
BuildRequires:  zlib-devel
ea16c65
ea16c65
%description
ea16c65
LittleCMS intends to be a small-footprint, speed optimized color management
ea16c65
engine in open source form. LCMS2 is the current version of LCMS, and can be
ea16c65
parallel installed with the original (deprecated) lcms.
ea16c65
ea16c65
%package        utils
ea16c65
Summary:        Utility applications for %{name}
ea16c65
Group:          Applications/Productivity
Rex Dieter 4bb897c
Requires:       %{name}%{?_isa} = %{version}-%{release}
ea16c65
ea16c65
%description    utils
ea16c65
The %{name}-utils package contains utility applications for %{name}.
ea16c65
ea16c65
%package        devel
ea16c65
Summary:        Development files for LittleCMS
ea16c65
Group:          Development/Libraries
Rex Dieter 4bb897c
Requires:       %{name}%{?_isa} = %{version}-%{release}
ea16c65
Provides:       littlecms-devel = %{version}-%{release}
ea16c65
ea16c65
%description    devel
ea16c65
Development files for LittleCMS.
ea16c65
ea16c65
%prep
Rex Dieter 4bb897c
%setup -q
Rex Dieter 4bb897c
ea16c65
%build
ea16c65
%configure --disable-static --program-suffix=2
ea16c65
ea16c65
# remove rpath from libtool
ea16c65
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
ea16c65
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
ea16c65
ea16c65
make %{?_smp_mflags}
ea16c65
ea16c65
%install
ea16c65
rm -rf ${RPM_BUILD_ROOT}
ea16c65
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
ea16c65
Rex Dieter 4bb897c
rm -fv ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
Rex Dieter 4bb897c
Rex Dieter 4bb897c
# rename docs (for use with %%doc below)
Rex Dieter 4bb897c
cp -alf doc/LittleCMS2.?\ API.pdf api.pdf
Rex Dieter 4bb897c
cp -alf doc/LittleCMS2.?\ Plugin\ API.pdf plugin-api.pdf
Rex Dieter 4bb897c
cp -alf doc/LittleCMS2.?\ tutorial.pdf tutorial.pdf
Rex Dieter 4bb897c
Rex Dieter 4bb897c
Rex Dieter 4bb897c
%check
Rex Dieter 4bb897c
make check
ea16c65
ea16c65
%clean
ea16c65
rm -rf ${RPM_BUILD_ROOT}
ea16c65
ea16c65
%post -p /sbin/ldconfig
ea16c65
ea16c65
%postun -p /sbin/ldconfig
ea16c65
ea16c65
%files
ea16c65
%defattr(-,root,root,-)
Rex Dieter 4bb897c
%doc AUTHORS
Rex Dieter 4bb897c
%{!?_licensedir:%global license %%doc}
Rex Dieter 4bb897c
%license COPYING
Rex Dieter 4bb897c
%{_libdir}/liblcms2.so.2*
ea16c65
ea16c65
%files utils
ea16c65
%defattr(-,root,root,-)
ea16c65
%{_bindir}/*
ea16c65
%{_mandir}/man1/*
ea16c65
ea16c65
%files devel
ea16c65
%defattr(-,root,root,-)
Rex Dieter 4bb897c
%doc api.pdf plugin-api.pdf tutorial.pdf
Rex Dieter 4bb897c
%{_includedir}/lcms2*.h
Rex Dieter 4bb897c
%{_libdir}/liblcms2.so
Rex Dieter 4bb897c
%{_libdir}/pkgconfig/lcms2.pc
ea16c65
ea16c65
%changelog
Richard Hughes 3379855
* Mon Jul 25 2016 Richard Hughes <richard@hughsie.com> - 2.8-1
Richard Hughes 3379855
- Update to new upstream version.
Richard Hughes 3379855
Rex Dieter 4bb897c
* Wed Mar 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 2.7-4
Rex Dieter 4bb897c
- %%files: less globs, use %%license
Rex Dieter 4bb897c
- tighten subpkg deps
Rex Dieter 4bb897c
- -devel: use %%doc
Rex Dieter 4bb897c
- use %%version in Source URL
Rex Dieter 4bb897c
- simplify %%setup
Rex Dieter 4bb897c
- %%check: make check
Rex Dieter 4bb897c
23e3531
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
23e3531
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
23e3531
83456f4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
83456f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
83456f4
Richard Hughes 1832894
* Sun Mar 22 2015 Richard Hughes <richard@hughsie.com> - 2.7-1
Richard Hughes 1832894
- Update to new upstream version.
Richard Hughes 1832894
Richard Hughes 0d5203c
* Tue Mar 17 2015 Richard Hughes <richard@hughsie.com> - 2.7-0.1rc3
Richard Hughes 0d5203c
- Update to new upstream RC version.
Richard Hughes 0d5203c
Richard Hughes 7ce28aa
* Thu Feb 05 2015 Richard Hughes <richard@hughsie.com> - 2.7-0.1rc1
Richard Hughes 7ce28aa
- Update to new upstream version.
Richard Hughes 7ce28aa
- Added a flag  to clip negative values in unbounded transforms
Richard Hughes 7ce28aa
- Added a global optimization that merges consecutive matrices in pipelines.
Richard Hughes 7ce28aa
21aae3c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-4
21aae3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
21aae3c
af30624
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-3
af30624
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
af30624
Brent Baude b199f04
* Wed May 21 2014 Brent Baude <baude@us.ibm.com> - 2.6-2
Brent Baude b199f04
- Correct assumption about ppc64 endianess
Brent Baude b199f04
Richard Hughes c242ac1
* Mon Mar 17 2014 Richard Hughes <richard@hughsie.com> 2.6-1
Richard Hughes c242ac1
- Update to new upstream version.
Richard Hughes c242ac1
- Added a way to retrieve matrix shaper always, no matter LUT is present
Richard Hughes c242ac1
- Added pthread dependency
Richard Hughes c242ac1
- Big revamp on Contexts, from Artifex
Richard Hughes c242ac1
- Fixed a bug in PCS/Colorspace order when reading V2 Lab devicelinks
Richard Hughes c242ac1
- Fixed some indexing out of bounds in floating point interpolation
Richard Hughes c242ac1
- Fix for delete tag memory corruption
Richard Hughes c242ac1
- New locking plug-in, from Artifex
Richard Hughes c242ac1
Richard Hughes 059243d
* Wed Feb 19 2014 Richard Hughes <richard@hughsie.com> 2.6-0.1.rc3
Richard Hughes 059243d
- Update to new prerelease upstream version.
Richard Hughes 059243d
Richard Hughes 00c143b
* Fri Feb 14 2014 Richard Hughes <richard@hughsie.com> 2.6-0.1.rc1
Richard Hughes 00c143b
- Update to new prerelease upstream version.
Richard Hughes 00c143b
436ed95
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-2
436ed95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
436ed95
Richard Hughes c987ba8
* Mon Jul 01 2013 Richard Hughes <richard@hughsie.com> 2.5-1
Richard Hughes c987ba8
- Update to new upstream version.
Richard Hughes c987ba8
- Added a reference for Mac MLU tag
Richard Hughes c987ba8
- Added a way to read the profile creator from header
Richard Hughes c987ba8
- Added error descriptions on cmsSmoothToneCurve
Richard Hughes c987ba8
- Added identity curves support for write V2 LUT
Richard Hughes c987ba8
- Added new cmsPlugInTHR() and fixed some race conditions
Richard Hughes c987ba8
- Added TIFF Lab16 handling on tifficc
Richard Hughes c987ba8
- Fixed a bug on big endian platforms not supporting uint64 or long long.
Richard Hughes c987ba8
- Fixed a multithead bug on optimization
Richard Hughes c987ba8
- Fixed devicelink generation for 8 bits
Richard Hughes c987ba8
- Fixed some 64 bit warnings on size_t to uint32 conversions
Richard Hughes c987ba8
- Rendering intent used when creating the transform is now propagated to profile
Richard Hughes c987ba8
- RGB profiles store only one copy of the curve to save space
Richard Hughes c987ba8
- Transform2Devicelink now keeps white point when guessing deviceclass is enabled
Richard Hughes c987ba8
- Update black point detection algorithm to reflect ICC changes
Richard Hughes c987ba8
- User defined parametric curves can now be saved in ICC profiles
Richard Hughes c987ba8
Richard Hughes 5f48404
* Thu Jun 27 2013 Richard Hughes <richard@hughsie.com> 2.5-0.2
Richard Hughes 5f48404
- Update to new release candidate version.
Richard Hughes 5f48404
Richard Hughes 8c4037a
* Thu May 30 2013 Richard Hughes <richard@hughsie.com> 2.5-0.1
Richard Hughes 8c4037a
- Update to new release candidate version.
Richard Hughes 8c4037a
15379d4
* Thu Apr 25 2013 Tim Waugh <twaugh@redhat.com> - 2.4-6
15379d4
- Applied upstream fixes for threading (bug #951984).
15379d4
c2b6be2
* Thu Mar  7 2013 Tim Waugh <twaugh@redhat.com> - 2.4-5
c2b6be2
- Added upstream fix for threading issue with plugin registration
c2b6be2
  (bug #912307).
c2b6be2
c1f496c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-4
c1f496c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c1f496c
Adam Tkac 16c6e1c
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 2.4-3
Adam Tkac 16c6e1c
- rebuild due to "jpeg8-ABI" feature drop
Adam Tkac 16c6e1c
09615b0
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 2.4-2
09615b0
- rebuild against new libjpeg
09615b0
Richard Hughes 1468d3d
* Sat Sep 15 2012 Richard Hughes <richard@hughsie.com> 2.4-1
Richard Hughes 1468d3d
- Update to new upstream version.
Richard Hughes 1468d3d
- Black point detection from the algorithm disclosed by Adobe
Richard Hughes 1468d3d
- Added support for transforms on planar data with different stride
Richard Hughes 1468d3d
- Added a new plug-in type for optimizing full transforms
Richard Hughes 1468d3d
- Linear (gamma 1.0) profiles can now operate in unbounded mode
Richard Hughes 1468d3d
- Added "half" float support
Richard Hughes 1468d3d
872110a
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-3
872110a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
872110a
594828c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
594828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
594828c
Richard Hughes 600d308
* Fri Jun 10 2011 Richard Hughes <richard@hughsie.com> 2.3-1
Richard Hughes 600d308
- Update to new upstream version which incorporates many bugfixes.
Richard Hughes 600d308
Richard Hughes f1a01cf
* Fri Jun 10 2011 Richard Hughes <richard@hughsie.com> 2.2-2
Richard Hughes f1a01cf
- Actually update the sources...
Richard Hughes f1a01cf
Richard Hughes f048c37
* Fri Jun 10 2011 Richard Hughes <richard@hughsie.com> 2.2-1
Richard Hughes f048c37
- Update to new upstream version
Richard Hughes f048c37
- Stability and efficienty fixes
Richard Hughes f048c37
- Adds support for dictionary metatag
Richard Hughes f048c37
1cf754d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
1cf754d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1cf754d
Richard Hughes 580ff08
* Wed Dec 01 2010 Richard Hughes <richard@hughsie.com> 2.1-1
Richard Hughes 580ff08
- Update to new upstream version.
Richard Hughes 580ff08
ea16c65
* Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-3
ea16c65
- Address some more review comments.
ea16c65
- Resolves #590387
ea16c65
ea16c65
* Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-2
ea16c65
- Address some review comments.
ea16c65
- Resolves #590387
ea16c65
ea16c65
* Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-1
ea16c65
- Initial package for Fedora review