New upstream version
- Add some more calibration attach images - Import shared-color-profiles into colord - Install a header with all the session helper defines
This commit is contained in:
parent
c671081aa6
commit
2410219900
95
colord.spec
95
colord.spec
@ -1,7 +1,12 @@
|
|||||||
|
|
||||||
|
# Building the extra print profiles requires colprof, +4Gb of RAM and
|
||||||
|
# quite a lot of time. Don't enable this for test builds.
|
||||||
|
%define build_print_profiles 1
|
||||||
|
|
||||||
Summary: Color daemon
|
Summary: Color daemon
|
||||||
Name: colord
|
Name: colord
|
||||||
Version: 0.1.26
|
Version: 0.1.27
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: http://www.freedesktop.org/software/colord/
|
URL: http://www.freedesktop.org/software/colord/
|
||||||
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
|
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
|
||||||
@ -19,12 +24,18 @@ BuildRequires: gobject-introspection-devel
|
|||||||
BuildRequires: vala-tools
|
BuildRequires: vala-tools
|
||||||
BuildRequires: libgusb-devel
|
BuildRequires: libgusb-devel
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
|
%if 0%{?build_print_profiles}
|
||||||
|
BuildRequires: argyllcms
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: shared-color-profiles
|
|
||||||
Requires: color-filesystem
|
Requires: color-filesystem
|
||||||
Requires: systemd-units
|
Requires: systemd-units
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
|
|
||||||
|
# obsolete separate profiles package
|
||||||
|
Obsoletes: shared-color-profiles <= 0.1.6-2
|
||||||
|
Provides: shared-color-profiles
|
||||||
|
|
||||||
%description
|
%description
|
||||||
colord is a low level system activated daemon that maps color devices
|
colord is a low level system activated daemon that maps color devices
|
||||||
to color profiles in the system context.
|
to color profiles in the system context.
|
||||||
@ -44,13 +55,18 @@ BuildArch: noarch
|
|||||||
%description devel-docs
|
%description devel-docs
|
||||||
Documentation for development with %{name}.
|
Documentation for development with %{name}.
|
||||||
|
|
||||||
%package gtk
|
%package extra-profiles
|
||||||
Summary: GTK helper library for %{name}
|
Summary: More color profiles for color management that are less commonly used
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description gtk
|
# obsolete separate profiles package
|
||||||
This package contains extra functionality for %{name} that can be used
|
Obsoletes: shared-color-profiles-extra <= 0.1.6-2
|
||||||
when running GTK applications.
|
Provides: shared-color-profiles-extra
|
||||||
|
|
||||||
|
%description extra-profiles
|
||||||
|
More color profiles for color management that are less commonly used.
|
||||||
|
This may be useful for CMYK soft-proofing or for extra device support.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -64,6 +80,11 @@ export LDFLAGS='-pie -Wl,-z,now -Wl,-z,relro'
|
|||||||
--with-daemon-user=colord \
|
--with-daemon-user=colord \
|
||||||
--enable-gtk-doc \
|
--enable-gtk-doc \
|
||||||
--enable-vala \
|
--enable-vala \
|
||||||
|
%if 0%{?build_print_profiles}
|
||||||
|
--enable-print-profiles \
|
||||||
|
%else
|
||||||
|
--disable-print-profiles \
|
||||||
|
%endif
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--disable-examples \
|
--disable-examples \
|
||||||
@ -123,6 +144,58 @@ exit 0
|
|||||||
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorHelper.xml
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorHelper.xml
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.ColorHelper.service
|
%{_datadir}/dbus-1/services/org.freedesktop.ColorHelper.service
|
||||||
|
|
||||||
|
# common colorspaces
|
||||||
|
%dir %{_icccolordir}/colord
|
||||||
|
%{_icccolordir}/colord/AdobeRGB1998.icc
|
||||||
|
%{_icccolordir}/colord/AppleRGB.icc
|
||||||
|
%{_icccolordir}/colord/CIE-RGB.icc
|
||||||
|
%{_icccolordir}/colord/ColorMatchRGB.icc
|
||||||
|
%{_icccolordir}/colord/NTSC-RGB.icc
|
||||||
|
%{_icccolordir}/colord/PAL-RGB.icc
|
||||||
|
%{_icccolordir}/colord/ProPhotoRGB.icc
|
||||||
|
%{_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
|
||||||
|
%{_icccolordir}/colord/SwappedRedAndGreen.icc
|
||||||
|
%{_icccolordir}/colord/gamma*.icc
|
||||||
|
|
||||||
|
# named color profiles
|
||||||
|
%{_icccolordir}/colord/x11-colors.icc
|
||||||
|
|
||||||
|
%files extra-profiles
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
|
||||||
|
%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/GRACoL*.icc
|
||||||
|
%{_icccolordir}/colord/ISOnewspaper26.icc
|
||||||
|
%{_icccolordir}/colord/SNAP*.icc
|
||||||
|
%{_icccolordir}/colord/SWOP*.icc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# other colorspaces not often used
|
||||||
|
%{_icccolordir}/colord/BestRGB.icc
|
||||||
|
%{_icccolordir}/colord/BetaRGB.icc
|
||||||
|
%{_icccolordir}/colord/BruceRGB.icc
|
||||||
|
%{_icccolordir}/colord/DonRGB4.icc
|
||||||
|
%{_icccolordir}/colord/ECI-RGBv2.icc
|
||||||
|
%{_icccolordir}/colord/EktaSpacePS5.icc
|
||||||
|
%{_icccolordir}/colord/WideGamutRGB.icc
|
||||||
|
|
||||||
|
# other named color profiles not generally useful
|
||||||
|
%{_icccolordir}/colord/crayons.icc
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/colord-1
|
%{_includedir}/colord-1
|
||||||
@ -137,6 +210,12 @@ exit 0
|
|||||||
%{_datadir}/gtk-doc/html/colord/*
|
%{_datadir}/gtk-doc/html/colord/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 08 2013 Richard Hughes <richard@hughsie.com> 0.1.27-1
|
||||||
|
- New upstream version
|
||||||
|
- Add some more calibration attach images
|
||||||
|
- Import shared-color-profiles into colord
|
||||||
|
- Install a header with all the session helper defines
|
||||||
|
|
||||||
* Mon Jan 7 2013 Matthias Clasen <mclasen@redhat.com> 0.1.26-2
|
* Mon Jan 7 2013 Matthias Clasen <mclasen@redhat.com> 0.1.26-2
|
||||||
- Enable hardened build
|
- Enable hardened build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user