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:
commit
f358671f46
@ -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
3
colord-0.1.17.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bbd9e2865c7ef7f62e65ba055ca4447d062cc76548328e101d7fd0ed8c22b25d
|
||||||
|
size 452900
|
@ -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
|
Wed Jan 18 10:47:23 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
18
colord.spec
18
colord.spec
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: colord
|
Name: colord
|
||||||
Version: 0.1.16
|
Version: 0.1.17
|
||||||
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+
|
||||||
@ -29,8 +29,6 @@ BuildRequires: gobject-introspection-devel
|
|||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
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
|
|
||||||
BuildRequires: xz
|
|
||||||
BuildRequires: pkgconfig(dbus-1)
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
@ -47,6 +45,7 @@ Requires(pre): pwdutils
|
|||||||
Requires: shared-color-profiles
|
Requires: shared-color-profiles
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
colord is a system activated daemon that maps devices to color profiles.
|
colord is a system activated daemon that maps devices to color profiles.
|
||||||
@ -112,12 +111,23 @@ popd
|
|||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
%service_add_pre colord.service
|
||||||
|
# Create colord user
|
||||||
getent group colord >/dev/null || groupadd -r colord
|
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
|
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)
|
# Fix ownership of /var/lib/colord from first packages (in 12.1)
|
||||||
test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord
|
test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord
|
||||||
exit 0
|
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
|
%post -n libcolord1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libcolord1 -p /sbin/ldconfig
|
%postun -n libcolord1 -p /sbin/ldconfig
|
||||||
@ -125,7 +135,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
|
%{_unitdir}/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