Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
1
.colord.metadata
Normal file
1
.colord.metadata
Normal file
@ -0,0 +1 @@
|
||||
57a5b60220a560b1a8de0a8491d714e8f9ec421a SOURCES/colord-1.4.5.tar.xz
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
SOURCES/colord-1.4.2.tar.xz
|
||||
/colord-1.4.2.tar.xz
|
||||
SOURCES/colord-1.4.5.tar.xz
|
||||
|
2
SOURCES/colord.sysusers
Normal file
2
SOURCES/colord.sysusers
Normal file
@ -0,0 +1,2 @@
|
||||
#Type Name ID GECOS Home directory Shell
|
||||
u colord - "User for colord" /var/lib/colord /sbin/nologin
|
@ -7,34 +7,27 @@
|
||||
# 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.2
|
||||
Release: 1%{?dist}
|
||||
Version: 1.4.5
|
||||
Release: 6%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: https://www.freedesktop.org/software/colord/
|
||||
Source0: https://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
|
||||
Source1: colord.sysusers
|
||||
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: docbook5-style-xsl
|
||||
BuildRequires: gettext
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: systemd-devel, systemd-rpm-macros
|
||||
BuildRequires: lcms2-devel >= 2.6
|
||||
BuildRequires: libgudev1-devel
|
||||
BuildRequires: polkit-devel >= 0.103
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: vala-tools
|
||||
BuildRequires: vala
|
||||
BuildRequires: libgusb-devel >= 0.2.2
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: color-filesystem
|
||||
@ -42,9 +35,6 @@ BuildRequires: meson
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: bash-completion
|
||||
%endif
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: argyllcms
|
||||
%endif
|
||||
|
||||
# for SANE support
|
||||
%if 0%{?enable_sane}
|
||||
@ -55,7 +45,7 @@ BuildRequires: dbus-devel
|
||||
Requires: color-filesystem
|
||||
BuildRequires: systemd
|
||||
%{?systemd_requires}
|
||||
Requires(pre): shadow-utils
|
||||
%{?sysusers_requires_compat}
|
||||
Requires: colord-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
# Self-obsoletes to fix the multilib upgrade path
|
||||
@ -106,6 +96,12 @@ 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
|
||||
|
||||
@ -116,28 +112,26 @@ This may be useful for CMYK soft-proofing or for extra device support.
|
||||
ulimit -Sv 2000000
|
||||
|
||||
%meson \
|
||||
-Denable-vala=true \
|
||||
%if 0%{?build_print_profiles}
|
||||
-Denable-print-profiles=true \
|
||||
%else
|
||||
-Denable-print-profiles=false \
|
||||
%endif
|
||||
-Dvapi=true \
|
||||
-Dinstalled_tests=true \
|
||||
-Dprint_profiles=false \
|
||||
%if 0%{?enable_sane}
|
||||
-Denable-sane=true \
|
||||
-Dsane=true \
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
-Denable-bash-completion=false \
|
||||
-Denable-argyllcms-sensor=false \
|
||||
-Dbash_completion=false \
|
||||
-Dargyllcms_sensor=false \
|
||||
%endif
|
||||
%if !0%{?rhel}
|
||||
-Denable-libcolordcompat=true \
|
||||
-Dlibcolordcompat=true \
|
||||
%endif
|
||||
-Dwith-daemon-user=colord
|
||||
-Ddaemon_user=colord
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/colord.conf
|
||||
|
||||
# databases
|
||||
touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/mapping.db
|
||||
@ -146,11 +140,7 @@ touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/storage.db
|
||||
%find_lang %{name}
|
||||
|
||||
%pre
|
||||
getent group colord >/dev/null || groupadd -r colord
|
||||
getent passwd colord >/dev/null || \
|
||||
useradd -r -g colord -d /var/lib/colord -s /sbin/nologin \
|
||||
-c "User for colord" colord
|
||||
exit 0
|
||||
%sysusers_create_compat %{SOURCE1}
|
||||
|
||||
%post
|
||||
%systemd_post colord.service
|
||||
@ -185,6 +175,7 @@ exit 0
|
||||
%{_libdir}/colord-plugins
|
||||
%ghost %attr(-,colord,colord) %{_localstatedir}/lib/colord/*.db
|
||||
%{_unitdir}/colord.service
|
||||
%{_sysusersdir}/colord.conf
|
||||
|
||||
# session helper
|
||||
%{_libexecdir}/colord-session
|
||||
@ -205,11 +196,6 @@ 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
|
||||
|
||||
@ -228,20 +214,6 @@ 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
|
||||
@ -276,7 +248,68 @@ 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 Mar 24 2025 Eduard Abdullin <eabdullin@almalinux.org> 1.4.5-6
|
||||
- Bump release to match upstream
|
||||
|
||||
* Tue Feb 25 2025 Richard Hughes <rhughes@redhat.com> 1.4.5-5
|
||||
- Provide a sysusers.d file
|
||||
|
||||
* 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
|
@ -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}
|
Loading…
Reference in New Issue
Block a user