Accepting request 100714 from GNOME:Factory
Pushing small bits of G:F OBS-URL: https://build.opensuse.org/request/show/100714 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/colord?expand=0&rev=16
This commit is contained in:
commit
13f265aa04
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dff56476e02527899f4a2c39eeb092af369ab5dac1e21cbb6a5b0955b5c6e746
|
|
||||||
size 456776
|
|
3
colord-0.1.16.tar.xz
Normal file
3
colord-0.1.16.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9489e29e7f5f529f759f7b913ccb8147e702bcdad641dfc1f94a1fc74dd942b1
|
||||||
|
size 491252
|
@ -1,354 +0,0 @@
|
|||||||
commit 9f088d598187b1bddd0ce4fb97a56d61564d8381
|
|
||||||
Author: Vincent Untz <vuntz@gnome.org>
|
|
||||||
Date: Tue Dec 6 10:40:21 2011 +0100
|
|
||||||
|
|
||||||
Add org.freedesktop.policykit.owner annotations to .policy file
|
|
||||||
|
|
||||||
We only add those annotations when the daemon is configured to run as
|
|
||||||
non-root.
|
|
||||||
|
|
||||||
diff --git a/policy/Makefile.am b/policy/Makefile.am
|
|
||||||
index 85e3ecc..272675b 100644
|
|
||||||
--- a/policy/Makefile.am
|
|
||||||
+++ b/policy/Makefile.am
|
|
||||||
@@ -1,9 +1,16 @@
|
|
||||||
+org.freedesktop.color.policy.in: org.freedesktop.color.policy.in.in Makefile.am
|
|
||||||
+ $(AM_V_GEN)if test "x$(daemon_user)" != "xroot"; then \
|
|
||||||
+ sed -e "s|<@ANNOTATE_OWNER@/>|<annotate key=\"org.freedesktop.policykit.owner\">unix-user:$(daemon_user)</annotate>|g" $< > $@ ; \
|
|
||||||
+ else \
|
|
||||||
+ sed -e "/^\s*<@ANNOTATE_OWNER@\/>\s*$$/d;s|<@ANNOTATE_OWNER@/>||g" $< > $@ ; \
|
|
||||||
+ fi
|
|
||||||
+
|
|
||||||
@INTLTOOL_POLICY_RULE@
|
|
||||||
polkit_policydir = $(datadir)/polkit-1/actions
|
|
||||||
-dist_polkit_policy_DATA = \
|
|
||||||
+polkit_policy_DATA = \
|
|
||||||
org.freedesktop.color.policy
|
|
||||||
|
|
||||||
-EXTRA_DIST = org.freedesktop.color.policy.in
|
|
||||||
-DISTCLEANFILES = org.freedesktop.color.policy
|
|
||||||
+EXTRA_DIST = org.freedesktop.color.policy.in.in
|
|
||||||
+DISTCLEANFILES = org.freedesktop.color.policy org.freedesktop.color.policy.in
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
|
||||||
diff --git a/policy/org.freedesktop.color.policy.in b/policy/org.freedesktop.color.policy.in
|
|
||||||
deleted file mode 100644
|
|
||||||
index a5bcfaf..0000000
|
|
||||||
--- a/policy/org.freedesktop.color.policy.in
|
|
||||||
+++ /dev/null
|
|
||||||
@@ -1,150 +0,0 @@
|
|
||||||
-<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
-<!DOCTYPE policyconfig PUBLIC
|
|
||||||
- "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
|
||||||
- "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
|
|
||||||
-<policyconfig>
|
|
||||||
-
|
|
||||||
- <!--
|
|
||||||
- Policy definitions for System Color Manager actions.
|
|
||||||
- Copyright (c) 2010 Richard Hughes <richard@hughsie.com>
|
|
||||||
- -->
|
|
||||||
-
|
|
||||||
- <vendor>System Color Manager</vendor>
|
|
||||||
- <vendor_url>http://www.freedesktop.org/projects/system-color-manager/</vendor_url>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
-
|
|
||||||
- <action id="org.freedesktop.color-manager.create-device">
|
|
||||||
- <!-- SECURITY:
|
|
||||||
- - Normal users should not have to authenticate to add devices
|
|
||||||
- -->
|
|
||||||
- <_description>Create a color managed device</_description>
|
|
||||||
- <_message>Authentication is required to create a color managed device</_message>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
- <defaults>
|
|
||||||
- <allow_any>no</allow_any>
|
|
||||||
- <allow_inactive>no</allow_inactive>
|
|
||||||
- <allow_active>yes</allow_active>
|
|
||||||
- </defaults>
|
|
||||||
- </action>
|
|
||||||
-
|
|
||||||
- <action id="org.freedesktop.color-manager.create-profile">
|
|
||||||
- <!-- SECURITY:
|
|
||||||
- - Normal users should not have to authenticate to add profiles
|
|
||||||
- -->
|
|
||||||
- <_description>Create a color profile</_description>
|
|
||||||
- <_message>Authentication is required to create a color profile</_message>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
- <defaults>
|
|
||||||
- <allow_any>no</allow_any>
|
|
||||||
- <allow_inactive>no</allow_inactive>
|
|
||||||
- <allow_active>yes</allow_active>
|
|
||||||
- </defaults>
|
|
||||||
- </action>
|
|
||||||
-
|
|
||||||
- <action id="org.freedesktop.color-manager.delete-device">
|
|
||||||
- <!-- SECURITY:
|
|
||||||
- - Normal users should not have to authenticate to delete devices
|
|
||||||
- -->
|
|
||||||
- <_description>Remove a color managed device</_description>
|
|
||||||
- <_message>Authentication is required to remove a color managed device</_message>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
- <defaults>
|
|
||||||
- <allow_any>no</allow_any>
|
|
||||||
- <allow_inactive>no</allow_inactive>
|
|
||||||
- <allow_active>yes</allow_active>
|
|
||||||
- </defaults>
|
|
||||||
- </action>
|
|
||||||
-
|
|
||||||
- <action id="org.freedesktop.color-manager.delete-profile">
|
|
||||||
- <!-- SECURITY:
|
|
||||||
- - Normal users should not have to authenticate to delete profiles
|
|
||||||
- -->
|
|
||||||
- <_description>Remove a color profile</_description>
|
|
||||||
- <_message>Authentication is required to remove a color profile</_message>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
- <defaults>
|
|
||||||
- <allow_any>no</allow_any>
|
|
||||||
- <allow_inactive>no</allow_inactive>
|
|
||||||
- <allow_active>yes</allow_active>
|
|
||||||
- </defaults>
|
|
||||||
- </action>
|
|
||||||
-
|
|
||||||
- <action id="org.freedesktop.color-manager.modify-device">
|
|
||||||
- <!-- SECURITY:
|
|
||||||
- - Normal users should not have to authenticate to modify devices
|
|
||||||
- -->
|
|
||||||
- <_description>Modify color settings for a device</_description>
|
|
||||||
- <_message>Authentication is required to modify the color settings for a device</_message>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
- <defaults>
|
|
||||||
- <allow_any>no</allow_any>
|
|
||||||
- <allow_inactive>no</allow_inactive>
|
|
||||||
- <allow_active>yes</allow_active>
|
|
||||||
- </defaults>
|
|
||||||
- </action>
|
|
||||||
-
|
|
||||||
- <action id="org.freedesktop.color-manager.modify-profile">
|
|
||||||
- <!-- SECURITY:
|
|
||||||
- - Normal users should not have to authenticate to modify profiles
|
|
||||||
- -->
|
|
||||||
- <_description>Modify a color profile</_description>
|
|
||||||
- <_message>Authentication is required to modify a color profile</_message>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
- <defaults>
|
|
||||||
- <allow_any>no</allow_any>
|
|
||||||
- <allow_inactive>no</allow_inactive>
|
|
||||||
- <allow_active>yes</allow_active>
|
|
||||||
- </defaults>
|
|
||||||
- </action>
|
|
||||||
-
|
|
||||||
- <action id="org.freedesktop.color-manager.install-system-wide">
|
|
||||||
- <!-- SECURITY:
|
|
||||||
- - Normal users require admin authentication to install files system
|
|
||||||
- wide to apply color profiles for sessions that have not explicitly
|
|
||||||
- chosen profiles to apply.
|
|
||||||
- - This should not be set to 'yes' as unprivileged users could then
|
|
||||||
- set a profile set to all-white or all-black and thus make the
|
|
||||||
- other sessions unusable.
|
|
||||||
- -->
|
|
||||||
- <_description>Install system color profiles</_description>
|
|
||||||
- <_message>Authentication is required to install the color profile for all users</_message>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
- <defaults>
|
|
||||||
- <allow_any>no</allow_any>
|
|
||||||
- <allow_inactive>no</allow_inactive>
|
|
||||||
- <allow_active>auth_admin_keep</allow_active>
|
|
||||||
- </defaults>
|
|
||||||
- </action>
|
|
||||||
-
|
|
||||||
- <action id="org.freedesktop.color-manager.device-inhibit">
|
|
||||||
- <!-- SECURITY:
|
|
||||||
- - Normal users should not have to authenticate to profile
|
|
||||||
- devices.
|
|
||||||
- -->
|
|
||||||
- <_description>Inhibit color profile selection</_description>
|
|
||||||
- <_message>Authentication is required to disable profile matching for a device</_message>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
- <defaults>
|
|
||||||
- <allow_any>no</allow_any>
|
|
||||||
- <allow_inactive>no</allow_inactive>
|
|
||||||
- <allow_active>yes</allow_active>
|
|
||||||
- </defaults>
|
|
||||||
- </action>
|
|
||||||
-
|
|
||||||
- <action id="org.freedesktop.color-manager.sensor-lock">
|
|
||||||
- <!-- SECURITY:
|
|
||||||
- - Normal users should not have to authenticate to use the
|
|
||||||
- colorimeter device.
|
|
||||||
- -->
|
|
||||||
- <_description>Use color sensor</_description>
|
|
||||||
- <_message>Authentication is required to use the color sensor</_message>
|
|
||||||
- <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
- <defaults>
|
|
||||||
- <allow_any>no</allow_any>
|
|
||||||
- <allow_inactive>no</allow_inactive>
|
|
||||||
- <allow_active>yes</allow_active>
|
|
||||||
- </defaults>
|
|
||||||
- </action>
|
|
||||||
-
|
|
||||||
-</policyconfig>
|
|
||||||
-
|
|
||||||
diff --git a/policy/org.freedesktop.color.policy.in.in b/policy/org.freedesktop.color.policy.in.in
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..4570f8f
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/policy/org.freedesktop.color.policy.in.in
|
|
||||||
@@ -0,0 +1,159 @@
|
|
||||||
+<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
+<!DOCTYPE policyconfig PUBLIC
|
|
||||||
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
|
||||||
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
|
|
||||||
+<policyconfig>
|
|
||||||
+
|
|
||||||
+ <!--
|
|
||||||
+ Policy definitions for System Color Manager actions.
|
|
||||||
+ Copyright (c) 2010 Richard Hughes <richard@hughsie.com>
|
|
||||||
+ -->
|
|
||||||
+
|
|
||||||
+ <vendor>System Color Manager</vendor>
|
|
||||||
+ <vendor_url>http://www.freedesktop.org/projects/system-color-manager/</vendor_url>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+
|
|
||||||
+ <action id="org.freedesktop.color-manager.create-device">
|
|
||||||
+ <!-- SECURITY:
|
|
||||||
+ - Normal users should not have to authenticate to add devices
|
|
||||||
+ -->
|
|
||||||
+ <_description>Create a color managed device</_description>
|
|
||||||
+ <_message>Authentication is required to create a color managed device</_message>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+ <defaults>
|
|
||||||
+ <allow_any>no</allow_any>
|
|
||||||
+ <allow_inactive>no</allow_inactive>
|
|
||||||
+ <allow_active>yes</allow_active>
|
|
||||||
+ </defaults>
|
|
||||||
+ <@ANNOTATE_OWNER@/>
|
|
||||||
+ </action>
|
|
||||||
+
|
|
||||||
+ <action id="org.freedesktop.color-manager.create-profile">
|
|
||||||
+ <!-- SECURITY:
|
|
||||||
+ - Normal users should not have to authenticate to add profiles
|
|
||||||
+ -->
|
|
||||||
+ <_description>Create a color profile</_description>
|
|
||||||
+ <_message>Authentication is required to create a color profile</_message>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+ <defaults>
|
|
||||||
+ <allow_any>no</allow_any>
|
|
||||||
+ <allow_inactive>no</allow_inactive>
|
|
||||||
+ <allow_active>yes</allow_active>
|
|
||||||
+ </defaults>
|
|
||||||
+ <@ANNOTATE_OWNER@/>
|
|
||||||
+ </action>
|
|
||||||
+
|
|
||||||
+ <action id="org.freedesktop.color-manager.delete-device">
|
|
||||||
+ <!-- SECURITY:
|
|
||||||
+ - Normal users should not have to authenticate to delete devices
|
|
||||||
+ -->
|
|
||||||
+ <_description>Remove a color managed device</_description>
|
|
||||||
+ <_message>Authentication is required to remove a color managed device</_message>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+ <defaults>
|
|
||||||
+ <allow_any>no</allow_any>
|
|
||||||
+ <allow_inactive>no</allow_inactive>
|
|
||||||
+ <allow_active>yes</allow_active>
|
|
||||||
+ </defaults>
|
|
||||||
+ <@ANNOTATE_OWNER@/>
|
|
||||||
+ </action>
|
|
||||||
+
|
|
||||||
+ <action id="org.freedesktop.color-manager.delete-profile">
|
|
||||||
+ <!-- SECURITY:
|
|
||||||
+ - Normal users should not have to authenticate to delete profiles
|
|
||||||
+ -->
|
|
||||||
+ <_description>Remove a color profile</_description>
|
|
||||||
+ <_message>Authentication is required to remove a color profile</_message>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+ <defaults>
|
|
||||||
+ <allow_any>no</allow_any>
|
|
||||||
+ <allow_inactive>no</allow_inactive>
|
|
||||||
+ <allow_active>yes</allow_active>
|
|
||||||
+ </defaults>
|
|
||||||
+ <@ANNOTATE_OWNER@/>
|
|
||||||
+ </action>
|
|
||||||
+
|
|
||||||
+ <action id="org.freedesktop.color-manager.modify-device">
|
|
||||||
+ <!-- SECURITY:
|
|
||||||
+ - Normal users should not have to authenticate to modify devices
|
|
||||||
+ -->
|
|
||||||
+ <_description>Modify color settings for a device</_description>
|
|
||||||
+ <_message>Authentication is required to modify the color settings for a device</_message>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+ <defaults>
|
|
||||||
+ <allow_any>no</allow_any>
|
|
||||||
+ <allow_inactive>no</allow_inactive>
|
|
||||||
+ <allow_active>yes</allow_active>
|
|
||||||
+ </defaults>
|
|
||||||
+ <@ANNOTATE_OWNER@/>
|
|
||||||
+ </action>
|
|
||||||
+
|
|
||||||
+ <action id="org.freedesktop.color-manager.modify-profile">
|
|
||||||
+ <!-- SECURITY:
|
|
||||||
+ - Normal users should not have to authenticate to modify profiles
|
|
||||||
+ -->
|
|
||||||
+ <_description>Modify a color profile</_description>
|
|
||||||
+ <_message>Authentication is required to modify a color profile</_message>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+ <defaults>
|
|
||||||
+ <allow_any>no</allow_any>
|
|
||||||
+ <allow_inactive>no</allow_inactive>
|
|
||||||
+ <allow_active>yes</allow_active>
|
|
||||||
+ </defaults>
|
|
||||||
+ <@ANNOTATE_OWNER@/>
|
|
||||||
+ </action>
|
|
||||||
+
|
|
||||||
+ <action id="org.freedesktop.color-manager.install-system-wide">
|
|
||||||
+ <!-- SECURITY:
|
|
||||||
+ - Normal users require admin authentication to install files system
|
|
||||||
+ wide to apply color profiles for sessions that have not explicitly
|
|
||||||
+ chosen profiles to apply.
|
|
||||||
+ - This should not be set to 'yes' as unprivileged users could then
|
|
||||||
+ set a profile set to all-white or all-black and thus make the
|
|
||||||
+ other sessions unusable.
|
|
||||||
+ -->
|
|
||||||
+ <_description>Install system color profiles</_description>
|
|
||||||
+ <_message>Authentication is required to install the color profile for all users</_message>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+ <defaults>
|
|
||||||
+ <allow_any>no</allow_any>
|
|
||||||
+ <allow_inactive>no</allow_inactive>
|
|
||||||
+ <allow_active>auth_admin_keep</allow_active>
|
|
||||||
+ </defaults>
|
|
||||||
+ <@ANNOTATE_OWNER@/>
|
|
||||||
+ </action>
|
|
||||||
+
|
|
||||||
+ <action id="org.freedesktop.color-manager.device-inhibit">
|
|
||||||
+ <!-- SECURITY:
|
|
||||||
+ - Normal users should not have to authenticate to profile
|
|
||||||
+ devices.
|
|
||||||
+ -->
|
|
||||||
+ <_description>Inhibit color profile selection</_description>
|
|
||||||
+ <_message>Authentication is required to disable profile matching for a device</_message>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+ <defaults>
|
|
||||||
+ <allow_any>no</allow_any>
|
|
||||||
+ <allow_inactive>no</allow_inactive>
|
|
||||||
+ <allow_active>yes</allow_active>
|
|
||||||
+ </defaults>
|
|
||||||
+ <@ANNOTATE_OWNER@/>
|
|
||||||
+ </action>
|
|
||||||
+
|
|
||||||
+ <action id="org.freedesktop.color-manager.sensor-lock">
|
|
||||||
+ <!-- SECURITY:
|
|
||||||
+ - Normal users should not have to authenticate to use the
|
|
||||||
+ colorimeter device.
|
|
||||||
+ -->
|
|
||||||
+ <_description>Use color sensor</_description>
|
|
||||||
+ <_message>Authentication is required to use the color sensor</_message>
|
|
||||||
+ <icon_name>application-vnd.iccprofile</icon_name>
|
|
||||||
+ <defaults>
|
|
||||||
+ <allow_any>no</allow_any>
|
|
||||||
+ <allow_inactive>no</allow_inactive>
|
|
||||||
+ <allow_active>yes</allow_active>
|
|
||||||
+ </defaults>
|
|
||||||
+ <@ANNOTATE_OWNER@/>
|
|
||||||
+ </action>
|
|
||||||
+
|
|
||||||
+</policyconfig>
|
|
||||||
+
|
|
@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 18 10:47:23 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Add pkgconfig(gusb) BuildRequires to build with libgusb support,
|
||||||
|
which matters even more now than libusb support is gone.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 17 18:02:05 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.1.16:
|
||||||
|
+ New Features:
|
||||||
|
- Add a device-inhibit command to the colormgr client
|
||||||
|
- Add org.freedesktop.policykit.owner annotations to .policy
|
||||||
|
file
|
||||||
|
- Add profile metadata MAPPING_device_id for automatic profile
|
||||||
|
mapping
|
||||||
|
- Add some profile metadata keys
|
||||||
|
- Install a systemd service file if systemd is used
|
||||||
|
- Support 2nd generation Huey hardware
|
||||||
|
- Use GUsb for the Huey sensor
|
||||||
|
+ Bugfixes:
|
||||||
|
- Fix a Wformat error when printing a gsize
|
||||||
|
- If /usr/share/color appears at runtime, don't rescan the
|
||||||
|
parent dir
|
||||||
|
- Set the colorimeter sensor group so the dameon can access the
|
||||||
|
sensor
|
||||||
|
- Split the spyder hardware into different types
|
||||||
|
- Add pkgconfig(systemd) BuildRequires, following upstream change,
|
||||||
|
to know where to install the .service file.
|
||||||
|
- Remove pkgconfig(libusb-1.0) BuildRequires: the dependency is
|
||||||
|
gone now.
|
||||||
|
- Drop colord-polkit-annotate-owner.patch: fixed upstream.
|
||||||
|
- Remove libtool BuildRequires and call to autoreconf and
|
||||||
|
intltoolize, that were only needed for above patch.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 8 20:25:09 UTC 2011 - dimstar@opensuse.org
|
Thu Dec 8 20:25:09 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
19
colord.spec
19
colord.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package colord
|
# spec file for package colord
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,8 +15,9 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: colord
|
Name: colord
|
||||||
Version: 0.1.15
|
Version: 0.1.16
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: System Daemon for Managing Color Devices
|
Summary: System Daemon for Managing Color Devices
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@ -24,12 +25,8 @@ Group: System/Daemons
|
|||||||
Url: http://colord.hughsie.com/
|
Url: http://colord.hughsie.com/
|
||||||
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
|
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
# PATCH-FIX-UPSTREAM colord-polkit-annotate-owner.patch vuntz@opensuse.org -- Add org.freedesktop.policykit.owner annotations to policy file; will enter git very soon
|
|
||||||
Patch1: colord-polkit-annotate-owner.patch
|
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
# needed for patch1
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: sane-backends-devel
|
BuildRequires: sane-backends-devel
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
|
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
|
||||||
@ -41,10 +38,11 @@ BuildRequires: pkgconfig(glib-2.0)
|
|||||||
BuildRequires: pkgconfig(gmodule-2.0)
|
BuildRequires: pkgconfig(gmodule-2.0)
|
||||||
BuildRequires: pkgconfig(gobject-2.0)
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
BuildRequires: pkgconfig(gudev-1.0)
|
BuildRequires: pkgconfig(gudev-1.0)
|
||||||
|
BuildRequires: pkgconfig(gusb) >= 0.1.1
|
||||||
BuildRequires: pkgconfig(lcms2)
|
BuildRequires: pkgconfig(lcms2)
|
||||||
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.0
|
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103
|
||||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
|
||||||
BuildRequires: pkgconfig(sqlite3)
|
BuildRequires: pkgconfig(sqlite3)
|
||||||
|
BuildRequires: pkgconfig(systemd)
|
||||||
Requires(pre): pwdutils
|
Requires(pre): pwdutils
|
||||||
Requires: shared-color-profiles
|
Requires: shared-color-profiles
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
@ -91,12 +89,8 @@ there are no users logged in.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# needed for patch1
|
|
||||||
autoreconf -fi
|
|
||||||
intltoolize --force
|
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-polkit \
|
--enable-polkit \
|
||||||
@ -131,6 +125,7 @@ exit 0
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||||
|
/lib/systemd/system/colord.service
|
||||||
/lib/udev/rules.d/*.rules
|
/lib/udev/rules.d/*.rules
|
||||||
%attr(755,colord,colord) %dir %{_localstatedir}/lib/colord
|
%attr(755,colord,colord) %dir %{_localstatedir}/lib/colord
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user