Accepting request 249914 from multimedia:color_management

- Update to version 1.2.3:
  New Features:
  - colorhug: Add ch_device_check_firmware()
  - colorhug: Add ch_device_mode_from_firmware()
  - colorhug: Use a different PID for the ColorHug2 bootloader
  Bugfixes:
  - Fix the device path to allow uid or username to be omitted
  - There is no seat if running in a chroot
- add systemd %pre and %post macros for colord.service
- add rccolord symlink

OBS-URL: https://build.opensuse.org/request/show/249914
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=107
This commit is contained in:
Dominique Leuenberger 2014-09-17 10:23:39 +00:00 committed by Git OBS Bridge
parent 5eaa691817
commit 404884ec06
4 changed files with 33 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9059710321a231657932dd9f824a0cd5b71f90e2812c219f336ee1693066529
size 1176008

3
colord-1.2.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2091fcca19d049136644e9dc6d56849b0e29d441a81a955d8f0e8135163474fc
size 1177524

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Sep 15 06:47:53 UTC 2014 - kkaempf@suse.com
- Update to version 1.2.3:
New Features:
- colorhug: Add ch_device_check_firmware()
- colorhug: Add ch_device_mode_from_firmware()
- colorhug: Use a different PID for the ColorHug2 bootloader
Bugfixes:
- Fix the device path to allow uid or username to be omitted
- There is no seat if running in a chroot
- add systemd %pre and %post macros for colord.service
- add rccolord symlink
-------------------------------------------------------------------
Sat Aug 23 21:27:22 UTC 2014 - dimstar@opensuse.org

View File

@ -19,7 +19,7 @@
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
Name: colord
Version: 1.2.2
Version: 1.2.3
Release: 0
Summary: System Daemon for Managing Color Devices
License: GPL-2.0+
@ -128,6 +128,8 @@ make %{?_smp_mflags}
%install
%make_install
mkdir $RPM_BUILD_ROOT%{_sbindir}
ln -sf %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rc%{name}
find %{buildroot} -type f -name '*.la' -delete -print
mkdir %{buildroot}/etc/apparmor.d
@ -144,7 +146,11 @@ test ! -f *.[2-9]
popd
%find_lang %{name}
# follow http://en.opensuse.org/openSUSE:Systemd_packaging_guidelines
%pre
%service_add_pre %{name}.service
# Create colord user
getent group colord >/dev/null || groupadd -r colord
getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib/colord -s /sbin/nologin -c "user for colord" colord
@ -152,11 +158,16 @@ getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib
test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord
exit 0
%preun
%service_del_preun %{name}.service
%post
%glib2_gsettings_schema_post
%service_add_post %{name}.service
%postun
%glib2_gsettings_schema_postun
%service_del_postun %{name}.service
%post -n libcolord2 -p /sbin/ldconfig
@ -199,6 +210,7 @@ exit 0
%{_libdir}/colord-plugins/libcd_plugin_scanner.so
# These should not be here.. this is ugly (fdo#60733)
#{_libdir}/lib*private.*
%{_sbindir}/rc%{name}
%files -n libcolord2
%defattr(-, root, root)