5fef8f9
%global _lto_cflags %{nil}
5fef8f9
%global optflags %(echo %{optflags} -fcommon)
5fef8f9
1d9014a
Name:    argyllcms
1d9014a
Version: 1.9.2
ee4c858
Release: 12%{?dist}
1d9014a
Summary: ICC compatible color management system
5fef8f9
5fef8f9
# Main code - GPLv3+
5fef8f9
# numlib and plot components - AGPLv3+
5fef8f9
# icc - MIT
5fef8f9
License: GPLv3+ and AGPLv3+ and MIT
5fef8f9
URL:     https://www.argyllcms.com
1d9014a
Source0: http://people.freedesktop.org/~hughsient/releases/hargyllcms-%{version}.tar.xz
1d9014a
5fef8f9
BuildRequires: pkgconfig(libtiff-4)
5fef8f9
BuildRequires: pkgconfig(libjpeg)
5fef8f9
BuildRequires: pkgconfig(libpng)
5fef8f9
BuildRequires: pkgconfig(libusb-1.0)
5fef8f9
BuildRequires: pkgconfig(x11)
5fef8f9
BuildRequires: pkgconfig(xext)
5fef8f9
BuildRequires: pkgconfig(xxf86vm)
5fef8f9
BuildRequires: pkgconfig(xinerama)
5fef8f9
BuildRequires: pkgconfig(xrandr)
5fef8f9
BuildRequires: pkgconfig(zlib)
5fef8f9
1d9014a
BuildRequires: autoconf
1d9014a
BuildRequires: automake
5fef8f9
BuildRequires: gcc
1d9014a
BuildRequires: libtool
4b7bf00
BuildRequires: make
5fef8f9
5fef8f9
Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
1d9014a
1d9014a
%description
1d9014a
The Argyll color management system supports accurate ICC profile creation for
1d9014a
acquisition devices, CMYK printers, film recorders and calibration and profiling
1d9014a
of displays.
1d9014a
1d9014a
Spectral sample data is supported, allowing a selection of illuminants observer
1d9014a
types, and paper fluorescent whitener additive compensation. Profiles can also
1d9014a
incorporate source specific gamut mappings for perceptual and saturation
1d9014a
intents. Gamut mapping and profile linking uses the CIECAM02 appearance model,
1d9014a
a unique gamut mapping algorithm, and a wide selection of rendering intents. It
1d9014a
also includes code for the fastest portable 8 bit raster color conversion
1d9014a
engine available anywhere, as well as support for fast, fully accurate 16 bit
1d9014a
conversion. Device color gamuts can also be viewed and compared using a VRML
1d9014a
viewer.
1d9014a
1d9014a
%package doc
1d9014a
Summary: Argyll CMS documentation
5fef8f9
BuildArch: noarch
1d9014a
# Does not really make sense without Argyll CMS itself
5fef8f9
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
1d9014a
1d9014a
%description doc
1d9014a
The Argyll color management system supports accurate ICC profile creation for
1d9014a
acquisition devices, CMYK printers, film recorders and calibration and profiling
1d9014a
of displays.
1d9014a
1d9014a
This package contains the Argyll color management system documentation.
1d9014a
5fef8f9
%package data
5fef8f9
Summary: Argyll CMS assets
5fef8f9
BuildArch: noarch
5fef8f9
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
5fef8f9
Requires: color-filesystem
5fef8f9
5fef8f9
%description data
5fef8f9
The Argyll color management system supports accurate ICC profile creation for
5fef8f9
acquisition devices, CMYK printers, film recorders and calibration and profiling
5fef8f9
of displays.
5fef8f9
5fef8f9
This package contains the Argyll color management system assets.
5fef8f9
1d9014a
%prep
5fef8f9
%autosetup -n hargyllcms-%{version}
1d9014a
# we're not allowed to refer to acquisition devices as scanners
1d9014a
./legal.sh
1d9014a
autoreconf --force --install
5fef8f9
chmod -x {ChangeLog,README,Readme.txt,COPYING}
5fef8f9
find doc -type f -exec chmod -x '{}' \;
5fef8f9
find doc -type f -name '*.htm*' -exec sed -ie 's,\r,,' '{}' \;
1d9014a
1d9014a
%build
1d9014a
%configure --disable-static
5fef8f9
%make_build
1d9014a
1d9014a
%install
5fef8f9
%make_install
1d9014a
1d9014a
# We don't want other programs to use these
5fef8f9
rm -f %{buildroot}%{_libdir}/lib*.{la,so}
1d9014a
1d9014a
# rely on colord  to provide ENV{COLOR_MEASUREMENT_DEVICE}="1"
5fef8f9
rm -f %{buildroot}/lib/udev/rules.d/55-Argyll.rules
1d9014a
1d9014a
%files
5fef8f9
%license COPYING
5fef8f9
%doc ChangeLog README Readme.txt
5fef8f9
%{_bindir}/*
1d9014a
%{_libdir}/lib*.so.*
1d9014a
%exclude %{_datadir}/doc
1d9014a
1d9014a
%files doc
1d9014a
%doc doc/*.html doc/*.jpg doc/*.txt
1d9014a
5fef8f9
%files data
5fef8f9
%{_datadir}/color/argyll
5fef8f9
1d9014a
%changelog
ee4c858
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-12
ee4c858
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ee4c858
eaab8f0
* Wed Oct 21 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.9.2-11
eaab8f0
- Added data subpackage. Fixed minor issues with dependencies.
eaab8f0
5fef8f9
* Sat Oct 17 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.9.2-10
5fef8f9
- Resurrected package. Fixed build under Fedora 33+.
5fef8f9
1d9014a
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-9
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1d9014a
1d9014a
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-8
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1d9014a
1d9014a
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-7
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1d9014a
1d9014a
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-6
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1d9014a
1d9014a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-5
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1d9014a
1d9014a
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-4
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1d9014a
1d9014a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-3
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1d9014a
1d9014a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-2
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1d9014a
1d9014a
* Wed Oct 19 2016 Richard Hughes <rhughes@redhat.com> - 1.9.2-1
1d9014a
- Update to 1.9.2
1d9014a
1d9014a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-2
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1d9014a
1d9014a
* Tue Oct 27 2015 Richard Hughes <rhughes@redhat.com> - 1.8.3-1
1d9014a
- Update to 1.8.3
1d9014a
1d9014a
* Mon Sep 07 2015 Richard Hughes <rhughes@redhat.com> - 1.8.2-1
1d9014a
- Update to 1.8.2
1d9014a
1d9014a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1d9014a
1d9014a
* Fri May 01 2015 Richard Hughes <rhughes@redhat.com> - 1.7.0-1
1d9014a
- Update to 1.7.0
1d9014a
- Add better cross compatibility with non-Argyll ICC profiles
1d9014a
- Added a dispread & fakeread -Z option to set the number of bits to quantize
1d9014a
- Added a -P prune option to profcheck
1d9014a
- Added dispcal and collink -b black point hack
1d9014a
- Added histogram plot option -h to both profcheck and verify.
1d9014a
- Added IRIDAS .cube 3DLut format support to collink
1d9014a
- Added preset list of display techologies to select from in ccxxmake.
1d9014a
- Add support for DataColor Spyder 5.
1d9014a
- Add support for Klein K10-A colorimeter.
1d9014a
- Add X3D and X3DOM support as an alternative to VRML
1d9014a
- Fix various instrument communications problems for DTP20, DTP92 & DTP94
1d9014a
- Fix very major bug in illumread
1d9014a
- Ignore any patches that have zero values for creating Display profiles
1d9014a
- Improved gamut mapping to reduce unnecessary changes to less saturated colors
1d9014a
1d9014a
* Fri Oct 24 2014 Richard Hughes <rhughes@redhat.com> - 1.6.3-4
1d9014a
- Add experimental ColorHug2 driver, which has already been sent upstream.
1d9014a
1d9014a
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-3
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1d9014a
1d9014a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-2
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1d9014a
1d9014a
* Sun Feb 02 2014 Richard Hughes <rhughes@redhat.com> - 1.6.3-1
1d9014a
- Update to 1.6.3
1d9014a
- Added code to minimize ICC rounding error white point accuracy
1d9014a
- Changed colprof to deal with variable grid distribution in a more neuanced way
1d9014a
- Changed colprof to used a power_like function for the grid distribution shape
1d9014a
- Changed i1d3 driver to completely ignore any EEPROM checksum errors
1d9014a
- Fix bug in xicclu -py conversion.
1d9014a
- Fixed bug in dispcal to use the final measurement pass for the calibration
1d9014a
- Fixed bug in spotread, dispcal & dispread for CCSS capable instruments
1d9014a
- Renamed verify to colverify to avoid clash with MSWin program of the same name
1d9014a
- Switch dispread to use NoClamp readings
1d9014a
- Tweaked dispcal to try and improve accuracy of black point calibration
1d9014a
1d9014a
* Tue Nov 26 2013 Richard Hughes <rhughes@redhat.com> - 1.6.2-1
1d9014a
- Update to 1.6.2
1d9014a
- Added "dark region emphasis" -V parameter to targen and colprof
1d9014a
- Changed i1d3 driver to be more forgiving of EEProm checksum calculation
1d9014a
- Fixed "edges don't match" bug in printarg when -iCM -h -s/-S used.
1d9014a
- Fixed bug in -H flag in chartread, dispcal, dispread, illumread & spotread
1d9014a
- Fixed bug in dispcal black point optimization to err on the black side
1d9014a
- Fixed bug introduced into ColorMunki (spectro) reflective measurement
1d9014a
- Fixed major bug in illumread - result was being corrupted.
1d9014a
- Fixed problem with TV encoded output and dispread -E -k/-K
1d9014a
1d9014a
* Mon Aug 19 2013 Richard Hughes <rhughes@redhat.com> - 1.6.0-1
1d9014a
- Update to 1.6.0
1d9014a
1d9014a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1d9014a
1d9014a
* Tue May 28 2013 Richard Hughes <rhughes@redhat.com> - 1.5.1-1
1d9014a
- Update to 1.5.1
1d9014a
1d9014a
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-9
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1d9014a
1d9014a
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.4.0-8
1d9014a
- rebuild due to "jpeg8-ABI" feature drop
1d9014a
1d9014a
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.4.0-7
1d9014a
- rebuild against new libjpeg
1d9014a
1d9014a
* Wed Oct 24 2012 Richard Hughes <rhughes@redhat.com> - 1.4.0-6
1d9014a
- Drop 55-Argyll.rules, it's not required and we can rely on colord
1d9014a
  to provide the ENV{COLOR_MEASUREMENT_DEVICE}="1" without the
1d9014a
  plugdev group or invoking a usb-db instance for each USB device
1d9014a
  hotplug.
1d9014a
1d9014a
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1d9014a
1d9014a
* Tue Jun 05 2012 Jon Ciesla <limburgher@gmail.com> - 1.4.0-3
1d9014a
- Drop udev Requires.
1d9014a
1d9014a
* Mon May 07 2012 Jon Ciesla <limburgher@gmail.com> - 1.4.0-2
1d9014a
- Rebuild for new libtiff.
1d9014a
1d9014a
* Fri Apr 20 2012 Richard Hughes <rhughes@redhat.com> - 1.4.0-1
1d9014a
- Update to latest upstream release
1d9014a
- A colorimeter can now be used as a reference to make ccmx files
1d9014a
- Added dither/screening support for 8 bit output of render
1d9014a
- Added JPEG file support to cctiff, tiffgamut and extracticc
1d9014a
- Fixed double free in icc/icc.c for profiles that have duplicate tags
1d9014a
- Fix bugs in ColorMunki Transmissive measurement mode calibration.
1d9014a
1d9014a
* Mon Mar 19 2012 Richard Hughes <rhughes@redhat.com> - 1.3.7-1
1d9014a
- Update to 1.3.7
1d9014a
- Fix regression in Spyder support - ccmx files were not being handled
1d9014a
1d9014a
* Mon Mar 19 2012 Richard Hughes <rhughes@redhat.com> - 1.3.6-1
1d9014a
- Update to 1.3.6
1d9014a
- Add a -V option to spotread to allow tracking reading consistency.
1d9014a
- Add ColorHug support upstream (so distro patch removed).
1d9014a
- Add Spyder4 support.
1d9014a
- Add support for NEC SpectraSensor Pro version of the i1d3.
1d9014a
- Changed and expanded display selection to be instrument specific.
1d9014a
1d9014a
* Tue Feb 07 2012 Richard Hughes <rhughes@redhat.com> - 1.3.5-7
1d9014a
- Ship a shared library to reduce the installed package size from
1d9014a
  27.7Mb to 3.2Mb by removing 46 instances of static linking.
1d9014a
1d9014a
* Thu Jan 26 2012 Richard Hughes <rhughes@redhat.com> - 1.3.5-6
1d9014a
- Fix the ColorHug patch to not time out with firmware >= 1.1.1 and to
1d9014a
  correctly report negative numbers.
1d9014a
- Re-libtoolize to fix compile failure on rawhide.
1d9014a
1d9014a
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-5
1d9014a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild