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
This commit is contained in:
Kalev Lember 2013-01-10 20:48:02 +01:00
parent 7c90d82385
commit 30fa2dfe29

View File

@ -6,7 +6,7 @@
Summary: Color daemon Summary: Color daemon
Name: colord Name: colord
Version: 0.1.27 Version: 0.1.27
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://www.freedesktop.org/software/colord/ URL: http://www.freedesktop.org/software/colord/
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz 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 colord is a low level system activated daemon that maps color devices
to color profiles in the system context. 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 %package devel
Summary: Development package for %{name} Summary: Development package for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
%description devel %description devel
Files for development with %{name}. Files for development with %{name}.
@ -113,9 +121,9 @@ getent passwd colord >/dev/null || \
-c "User for colord" colord -c "User for colord" colord
exit 0 exit 0
%post -p /sbin/ldconfig %post libs -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%files -f %{name}.lang %files -f %{name}.lang
%doc README AUTHORS NEWS COPYING %doc README AUTHORS NEWS COPYING
@ -129,12 +137,10 @@ exit 0
%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service %{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
%{_datadir}/man/man1/*.1.gz %{_datadir}/man/man1/*.1.gz
%{_datadir}/colord %{_datadir}/colord
%{_libdir}/libcolord.so.*
%config %{_sysconfdir}/colord.conf %config %{_sysconfdir}/colord.conf
/usr/lib/udev/rules.d/*.rules /usr/lib/udev/rules.d/*.rules
%{_libdir}/colord-sensors %{_libdir}/colord-sensors
%{_libdir}/colord-plugins %{_libdir}/colord-plugins
%{_libdir}/girepository-1.0/*.typelib
%ghost %{_localstatedir}/lib/colord/*.db %ghost %{_localstatedir}/lib/colord/*.db
/usr/lib/systemd/system/colord.service /usr/lib/systemd/system/colord.service
%{_sysconfdir}/bash_completion.d/*-completion.bash %{_sysconfdir}/bash_completion.d/*-completion.bash
@ -169,6 +175,10 @@ exit 0
# named color profiles # named color profiles
%{_icccolordir}/colord/x11-colors.icc %{_icccolordir}/colord/x11-colors.icc
%files libs
%doc COPYING
%{_libdir}/libcolord.so.*
%{_libdir}/girepository-1.0/*.typelib
%files extra-profiles %files extra-profiles
%if 0%{?build_print_profiles} %if 0%{?build_print_profiles}
@ -207,6 +217,10 @@ exit 0
%{_datadir}/gtk-doc/html/colord/* %{_datadir}/gtk-doc/html/colord/*
%changelog %changelog
* Thu Jan 10 2013 Kalev Lember <kalevlember@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@hughsie.com> 0.1.27-1 * Tue Jan 08 2013 Richard Hughes <richard@hughsie.com> 0.1.27-1
- New upstream version - New upstream version
- Add some more calibration attach images - Add some more calibration attach images