SUNWdbus.spec
changeset 13398 04c87c57de80
parent 13189 836ff5d12ba2
child 13578 d19af398db35
--- a/SUNWdbus.spec	Thu Sep 04 02:13:09 2008 +0000
+++ b/SUNWdbus.spec	Thu Sep 04 02:28:12 2008 +0000
@@ -31,6 +31,7 @@
 Source1:        dbus.xml
 Source2:        svc-dbus
 %include default-depend.inc
+Requires:	SUNWdbus-libs
 Requires:	SUNWdbus-root
 Requires:	SUNWgnome-base-libs
 Requires:	SUNWlxml
@@ -47,6 +48,11 @@
 %include default-depend.inc
 Requires:       SUNWgnome-base-libs
 
+%package libs
+Summary:                 %{summary} - client libraries
+SUNW_BaseDir:            %{_basedir}
+%include default-depend.inc
+
 %package root
 Summary:                 %{summary} - / filesystem
 SUNW_BaseDir:            /
@@ -174,7 +180,6 @@
 %dir %attr (0755, root, bin) %{_bindir}
 %{_bindir}/*
 %dir %attr (0755, root, bin) %{_libdir}
-%{_libdir}/libdbus*
 %{_libexecdir}/dbus-1
 %{_libexecdir}/dbus-daemon
 %dir %attr (0755, root, sys) %{_datadir}
@@ -187,6 +192,11 @@
 %{_libdir}/%{_arch64}/libdbus*
 %endif
 
+%files libs
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/libdbus*
+
 %files root
 %defattr (-, root, bin)
 %dir %attr (0755, root, sys) %{_sysconfdir}
@@ -222,6 +232,10 @@
 %endif
 
 %changelog
+* Tue Sep 02 2008 - [email protected]
+- Place the library in a separate package, so that people who just
+  want to write their own D-Bus services don't need to depend on the
+  daemon.
 * Wed Aug 20 2008 - [email protected]
 - Move dbus-daemon.3 manpage to dbus-daemon.1 manpage.
 * Thu Mar 27 2008 - [email protected]