Accepting request 107308 from GNOME:Factory

Pushing G:F

OBS-URL: https://build.opensuse.org/request/show/107308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/colord?expand=0&rev=17
This commit is contained in:
Stephan Kulow 2012-03-01 06:24:56 +00:00 committed by Git OBS Bridge
commit f358671f46
4 changed files with 46 additions and 7 deletions

View File

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

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

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

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Mon Feb 27 13:24:10 UTC 2012 - vuntz@opensuse.org
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
colord.service.
-------------------------------------------------------------------
Thu Feb 23 07:51:54 UTC 2012 - vuntz@opensuse.org
- Update to version 0.1.17:
+ New Features:
- Add an LED sample type
- Add a metadata key to store the calibration brightness
- Show the profile title when using colormgr get-profiles
+ Bugfixes:
- Add PrivateNetwork and PrivateTmp to the systemd service file
- Don't leak a GVariantIter when setting the device metadata
- Fix a critical warning if a client tries to get the profile
metadata
- Fix InstallSystemWide() when running as the colord user
- Increase the colorhug sample timeout to 5 seconds
- Make underscores into spaces for the profile title
- Return from cd_profile_has_access() with TRUE for virtual
profiles
- Remove xz BuildRequires now that it comes for free in the build
system.
-------------------------------------------------------------------
Wed Jan 18 10:47:23 UTC 2012 - vuntz@opensuse.org

View File

@ -17,7 +17,7 @@
Name: colord
Version: 0.1.16
Version: 0.1.17
Release: 0
Summary: System Daemon for Managing Color Devices
License: GPL-2.0+
@ -29,8 +29,6 @@ BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: sane-backends-devel
BuildRequires: vala
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
@ -47,6 +45,7 @@ Requires(pre): pwdutils
Requires: shared-color-profiles
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
%description
colord is a system activated daemon that maps devices to color profiles.
@ -112,12 +111,23 @@ popd
%find_lang %{name}
%pre
%service_add_pre colord.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
# Fix ownership of /var/lib/colord from first packages (in 12.1)
test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord
exit 0
%post
%service_add_post colord.service
%preun
%service_del_preun colord.service
%postun
%service_del_postun colord.service
%post -n libcolord1 -p /sbin/ldconfig
%postun -n libcolord1 -p /sbin/ldconfig
@ -125,7 +135,7 @@ exit 0
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
/lib/systemd/system/colord.service
%{_unitdir}/colord.service
/lib/udev/rules.d/*.rules
%attr(755,colord,colord) %dir %{_localstatedir}/lib/colord
%config(noreplace) %{_sysconfdir}/%{name}.conf