[colord] Split out libcolord to colord-libs subpackage
Kalev Lember
kalev at fedoraproject.org
Thu Jan 10 23:31:41 UTC 2013
commit 30fa2dfe297822afb78f6e1252d96646e00d35a1
Author: Kalev Lember <kalevlember at gmail.com>
Date: Thu Jan 10 20:48:02 2013 +0100
Split out libcolord to colord-libs subpackage
... so that the daemon package doesn't get multilibbed.
http://lists.fedoraproject.org/pipermail/devel/2013-January/176163.html
colord.spec | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
---
diff --git a/colord.spec b/colord.spec
index 58384aa..de1d9f6 100644
--- a/colord.spec
+++ b/colord.spec
@@ -6,7 +6,7 @@
Summary: Color daemon
Name: colord
Version: 0.1.27
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.freedesktop.org/software/colord/
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
@@ -41,9 +41,17 @@ Provides: shared-color-profiles
colord is a low level system activated daemon that maps color devices
to color profiles in the system context.
+%package libs
+Summary: Color daemon library
+
+%description libs
+colord is a low level system activated daemon that maps color devices
+to color profiles in the system context.
+
%package devel
Summary: Development package for %{name}
Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
%description devel
Files for development with %{name}.
@@ -113,9 +121,9 @@ getent passwd colord >/dev/null || \
-c "User for colord" colord
exit 0
-%post -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%files -f %{name}.lang
%doc README AUTHORS NEWS COPYING
@@ -129,12 +137,10 @@ exit 0
%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
%{_datadir}/man/man1/*.1.gz
%{_datadir}/colord
-%{_libdir}/libcolord.so.*
%config %{_sysconfdir}/colord.conf
/usr/lib/udev/rules.d/*.rules
%{_libdir}/colord-sensors
%{_libdir}/colord-plugins
-%{_libdir}/girepository-1.0/*.typelib
%ghost %{_localstatedir}/lib/colord/*.db
/usr/lib/systemd/system/colord.service
%{_sysconfdir}/bash_completion.d/*-completion.bash
@@ -169,6 +175,10 @@ exit 0
# named color profiles
%{_icccolordir}/colord/x11-colors.icc
+%files libs
+%doc COPYING
+%{_libdir}/libcolord.so.*
+%{_libdir}/girepository-1.0/*.typelib
%files extra-profiles
%if 0%{?build_print_profiles}
@@ -207,6 +217,10 @@ exit 0
%{_datadir}/gtk-doc/html/colord/*
%changelog
+* Thu Jan 10 2013 Kalev Lember <kalevlember at gmail.com> 0.1.27-2
+- Split out libcolord to colord-libs subpackage, so that the daemon package
+ doesn't get multilibbed
+
* Tue Jan 08 2013 Richard Hughes <richard at hughsie.com> 0.1.27-1
- New upstream version
- Add some more calibration attach images
More information about the scm-commits
mailing list