packages: dbus/dbus.spec - package systemd files
wiget
wiget at pld-linux.org
Sun Nov 27 11:25:48 CET 2011
Author: wiget Date: Sun Nov 27 10:25:48 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- package systemd files
---- Files affected:
packages/dbus:
dbus.spec (1.221 -> 1.222)
---- Diffs:
================================================================
Index: packages/dbus/dbus.spec
diff -u packages/dbus/dbus.spec:1.221 packages/dbus/dbus.spec:1.222
--- packages/dbus/dbus.spec:1.221 Sun Sep 25 12:40:54 2011
+++ packages/dbus/dbus.spec Sun Nov 27 11:25:43 2011
@@ -9,7 +9,7 @@
Summary(pl.UTF-8): Magistrala przesyłania komunikatów D-BUS
Name: dbus
Version: 1.4.16
-Release: 1
+Release: 2
License: AFL v2.1 or GPL v2
Group: Libraries
Source0: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz
@@ -68,6 +68,14 @@
używany zarówno jako ogólnosystemowa usługa magistrali komunikatów jak
i możliwość przesyłania komunikatów w ramach jednej sesji użytkownika.
+%package systemd
+Summary: systemd units for system message bus
+Group: Daemons
+Requires: %{name} = %{version}-%{release}
+
+%description systemd
+systemd units for system message bus.
+
%package upstart
Summary: Upstart job description for system message bus
Summary(pl.UTF-8): Opis zadania Upstart dla magistrali systemowej DBus
@@ -166,6 +174,7 @@
--with-session-socket-dir=/tmp \
--with-system-pid-file=%{_localstatedir}/run/dbus.pid \
--with-xml=expat \
+ --with-systemdsystemunitdir=/lib/systemd/system \
%{!?with_X11:--without-x}
%{__make}
@@ -190,6 +199,8 @@
ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libdbus-1.so.*.*.*) \
$RPM_BUILD_ROOT%{_libdir}/libdbus-1.so
+ln -s dbus.service $RPM_BUILD_ROOT/lib/systemd/system/messagebus.service
+
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dbus/api
%clean
@@ -264,6 +275,15 @@
%{_mandir}/man1/dbus-monitor.1*
%{_mandir}/man1/dbus-send.1*
+%files systemd
+%defattr(644,root,root,755)
+/lib/systemd/system/dbus.service
+/lib/systemd/system/dbus.socket
+/lib/systemd/system/dbus.target.wants/dbus.socket
+/lib/systemd/system/messagebus.service
+/lib/systemd/system/multi-user.target.wants/dbus.service
+/lib/systemd/system/sockets.target.wants/dbus.socket
+
%if "%{pld_release}" != "ti"
%files upstart
%defattr(644,root,root,755)
@@ -308,6 +328,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.222 2011/11/27 10:25:43 wiget
+- package systemd files
+
Revision 1.221 2011/09/25 10:40:54 glen
- update upstart deps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dbus/dbus.spec?r1=1.221&r2=1.222&f=u
More information about the pld-cvs-commit
mailing list