|
|
|
@ -7,17 +7,25 @@
|
|
|
|
|
# popping up all over the place.
|
|
|
|
|
%define enable_sane 0
|
|
|
|
|
|
|
|
|
|
# Don't build the print profiles for secondary architectures on the
|
|
|
|
|
# logic that these are probably not doing press proofing or editing
|
|
|
|
|
# in different CMYK spaces
|
|
|
|
|
%ifarch %{ix86} x86_64 %{arm}
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
%define build_print_profiles %{?enable_print_profiles}
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Summary: Color daemon
|
|
|
|
|
Name: colord
|
|
|
|
|
Version: 1.4.5
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.4.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
|
URL: https://www.freedesktop.org/software/colord/
|
|
|
|
|
Source0: https://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: dbus-devel
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
|
BuildRequires: docbook5-style-xsl
|
|
|
|
|
BuildRequires: docbook-utils
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
@ -26,7 +34,7 @@ BuildRequires: libgudev1-devel
|
|
|
|
|
BuildRequires: polkit-devel >= 0.103
|
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
|
BuildRequires: vala
|
|
|
|
|
BuildRequires: vala-tools
|
|
|
|
|
BuildRequires: libgusb-devel >= 0.2.2
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
BuildRequires: color-filesystem
|
|
|
|
@ -34,6 +42,9 @@ BuildRequires: meson
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
|
%endif
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
BuildRequires: argyllcms
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# for SANE support
|
|
|
|
|
%if 0%{?enable_sane}
|
|
|
|
@ -95,12 +106,6 @@ Provides: shared-color-profiles-extra
|
|
|
|
|
More color profiles for color management that are less commonly used.
|
|
|
|
|
This may be useful for CMYK soft-proofing or for extra device support.
|
|
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
|
Summary: Data files for installed tests
|
|
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
|
Data files for installed tests.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
@ -111,20 +116,23 @@ Data files for installed tests.
|
|
|
|
|
ulimit -Sv 2000000
|
|
|
|
|
|
|
|
|
|
%meson \
|
|
|
|
|
-Dvapi=true \
|
|
|
|
|
-Dinstalled_tests=true \
|
|
|
|
|
-Dprint_profiles=false \
|
|
|
|
|
-Denable-vala=true \
|
|
|
|
|
%if 0%{?build_print_profiles}
|
|
|
|
|
-Denable-print-profiles=true \
|
|
|
|
|
%else
|
|
|
|
|
-Denable-print-profiles=false \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?enable_sane}
|
|
|
|
|
-Dsane=true \
|
|
|
|
|
-Denable-sane=true \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
-Dbash_completion=false \
|
|
|
|
|
-Dargyllcms_sensor=false \
|
|
|
|
|
-Denable-bash-completion=false \
|
|
|
|
|
-Denable-argyllcms-sensor=false \
|
|
|
|
|
%endif
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
-Dlibcolordcompat=true \
|
|
|
|
|
-Denable-libcolordcompat=true \
|
|
|
|
|
%endif
|
|
|
|
|
-Ddaemon_user=colord
|
|
|
|
|
-Dwith-daemon-user=colord
|
|
|
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
@ -197,6 +205,11 @@ exit 0
|
|
|
|
|
%{_icccolordir}/colord/SMPTE-C-RGB.icc
|
|
|
|
|
%{_icccolordir}/colord/sRGB.icc
|
|
|
|
|
|
|
|
|
|
# so we can display at least something in the default dropdown
|
|
|
|
|
%if 0%{?build_print_profiles}
|
|
|
|
|
%{_icccolordir}/colord/FOGRA39L_coated.icc
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# monitor test profiles
|
|
|
|
|
%{_icccolordir}/colord/Bluish.icc
|
|
|
|
|
|
|
|
|
@ -215,6 +228,20 @@ exit 0
|
|
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
|
|
|
|
|
|
%files extra-profiles
|
|
|
|
|
%if 0%{?build_print_profiles}
|
|
|
|
|
%{_icccolordir}/colord/FOGRA27L_coated.icc
|
|
|
|
|
%{_icccolordir}/colord/FOGRA28L_webcoated.icc
|
|
|
|
|
%{_icccolordir}/colord/FOGRA29L_uncoated.icc
|
|
|
|
|
%{_icccolordir}/colord/FOGRA30L_uncoated_yellowish.icc
|
|
|
|
|
%{_icccolordir}/colord/FOGRA40L_SC_paper.icc
|
|
|
|
|
%{_icccolordir}/colord/FOGRA45L_lwc.icc
|
|
|
|
|
%{_icccolordir}/colord/FOGRA47L_uncoated.icc
|
|
|
|
|
%{_icccolordir}/colord/GRACoL*.icc
|
|
|
|
|
%{_icccolordir}/colord/IFRA26S_2004_newsprint.icc
|
|
|
|
|
%{_icccolordir}/colord/SNAP*.icc
|
|
|
|
|
%{_icccolordir}/colord/SWOP*.icc
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# other colorspaces not often used
|
|
|
|
|
%{_icccolordir}/colord/AppleRGB.icc
|
|
|
|
|
%{_icccolordir}/colord/BestRGB.icc
|
|
|
|
@ -249,62 +276,7 @@ exit 0
|
|
|
|
|
%dir %{_datadir}/gtk-doc/html/colord
|
|
|
|
|
%{_datadir}/gtk-doc/html/colord/*
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
%dir %{_libexecdir}/installed-tests/colord
|
|
|
|
|
%{_libexecdir}/installed-tests/colord/*
|
|
|
|
|
%dir %{_datadir}/installed-tests/colord
|
|
|
|
|
%{_datadir}/installed-tests/colord/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.5-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.5-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Nov 02 2020 Richard Hughes <richard@hughsie.com> 1.4.5-1
|
|
|
|
|
- New upstream version
|
|
|
|
|
- Add new API for gnome-settings-daemon
|
|
|
|
|
- Check for errors from more sqlite calls
|
|
|
|
|
- Fix owner and permissions on existing state files
|
|
|
|
|
- Fix segfault due to dereferencing NULL pointer
|
|
|
|
|
- Make the build reproductible
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 23 2020 Richard Hughes <richard@hughsie.com> 1.4.4-3
|
|
|
|
|
- Remove the BR for argyllcms as it is now orphaned
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Mar 08 2019 Richard Hughes <richard@hughsie.com> 1.4.4-1
|
|
|
|
|
- New upstream version
|
|
|
|
|
- Actually install the installed tests
|
|
|
|
|
- Port manpages to xsltproc and DocBook 5
|
|
|
|
|
|
|
|
|
|
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 1.4.3-4
|
|
|
|
|
- Update BRs for vala packaging changes
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Apr 18 2018 Richard Hughes <richard@hughsie.com> 1.4.3-1
|
|
|
|
|
- New upstream version
|
|
|
|
|
- Make cd_color_get_blackbody_rgb_full() more accurate
|
|
|
|
|
- Update style of Meson build options
|
|
|
|
|
|
|
|
|
|
* Mon Mar 12 2018 Richard Hughes <richard@hughsie.com> 1.4.2-1
|
|
|
|
|
- New upstream version
|
|
|
|
|
- Avoid buffer overflow when reading profile_id
|
|
|
|
|