28 SUNW_BaseDir: %{_basedir} |
28 SUNW_BaseDir: %{_basedir} |
29 SUNW_Copyright: %{name}.copyright |
29 SUNW_Copyright: %{name}.copyright |
30 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
30 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
31 Source1: dbus.xml |
31 Source1: dbus.xml |
32 Source2: svc-dbus |
32 Source2: svc-dbus |
|
33 Source3: 0005.dbus |
33 %include default-depend.inc |
34 %include default-depend.inc |
34 Requires: SUNWdbus-libs |
35 Requires: SUNWdbus-libs |
35 Requires: SUNWdbus-root |
36 Requires: SUNWdbus-root |
36 Requires: SUNWgnome-base-libs |
37 Requires: SUNWgnome-base-libs |
37 Requires: SUNWlxml |
38 Requires: SUNWlxml |
108 chmod -R 755 $RPM_BUILD_ROOT/var/svc |
109 chmod -R 755 $RPM_BUILD_ROOT/var/svc |
109 cp %SOURCE1 $RPM_BUILD_ROOT/var/svc/manifest/system/ |
110 cp %SOURCE1 $RPM_BUILD_ROOT/var/svc/manifest/system/ |
110 mkdir -p $RPM_BUILD_ROOT/lib/svc/method |
111 mkdir -p $RPM_BUILD_ROOT/lib/svc/method |
111 chmod -R 755 $RPM_BUILD_ROOT/lib |
112 chmod -R 755 $RPM_BUILD_ROOT/lib |
112 cp %SOURCE2 $RPM_BUILD_ROOT/lib/svc/method/ |
113 cp %SOURCE2 $RPM_BUILD_ROOT/lib/svc/method/ |
|
114 |
|
115 # Add in dbus session launching for gdm |
|
116 install --mode=0755 -d $RPM_BUILD_ROOT/%{_sysconfdir} |
|
117 install --mode=0755 -d $RPM_BUILD_ROOT/%{_sysconfdir}/X11 |
|
118 install --mode=0755 -d $RPM_BUILD_ROOT/%{_sysconfdir}/X11/xinit |
|
119 install --mode=0755 -d $RPM_BUILD_ROOT/%{_sysconfdir}/X11/xinit/xinitrc.d |
|
120 install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT/%{_sysconfdir}/X11/xinit/xinitrc.d/0005.dbus |
113 |
121 |
114 mkdir -p $RPM_BUILD_ROOT/etc/security |
122 mkdir -p $RPM_BUILD_ROOT/etc/security |
115 echo 'solaris.smf.manage.dbus:::Manage D-BUS Service States::help=SmfDBUSStates.html' > $RPM_BUILD_ROOT/etc/security/auth_attr |
123 echo 'solaris.smf.manage.dbus:::Manage D-BUS Service States::help=SmfDBUSStates.html' > $RPM_BUILD_ROOT/etc/security/auth_attr |
116 echo 'D-BUS Management:::Manage D-BUS:auths=solaris.smf.manage.dbus;help=RtDBUSMngmnt.html' > $RPM_BUILD_ROOT/etc/security/prof_attr |
124 echo 'D-BUS Management:::Manage D-BUS:auths=solaris.smf.manage.dbus;help=RtDBUSMngmnt.html' > $RPM_BUILD_ROOT/etc/security/prof_attr |
117 |
125 |
204 |
212 |
205 %files root |
213 %files root |
206 %defattr (-, root, bin) |
214 %defattr (-, root, bin) |
207 %dir %attr (0755, root, sys) %{_sysconfdir} |
215 %dir %attr (0755, root, sys) %{_sysconfdir} |
208 %config %{_sysconfdir}/dbus-1 |
216 %config %{_sysconfdir}/dbus-1 |
|
217 %{_sysconfdir}/X11/xinit/xinitrc.d/0005.dbus |
209 %dir %attr (0755, root, sys) %{_localstatedir} |
218 %dir %attr (0755, root, sys) %{_localstatedir} |
210 %dir %attr (0755, root, other) %{_localstatedir}/lib |
219 %dir %attr (0755, root, other) %{_localstatedir}/lib |
211 %attr (0755, root, root) %{_localstatedir}/lib/dbus |
220 %attr (0755, root, root) %{_localstatedir}/lib/dbus |
212 %dir %attr (0755, root, sys) %{_localstatedir}/run |
221 %dir %attr (0755, root, sys) %{_localstatedir}/run |
213 %attr (0755, root, root) %{_localstatedir}/run/dbus |
222 %attr (0755, root, root) %{_localstatedir}/run/dbus |
235 %{_libdir}/%{_arch64}/pkgconfig/*.pc |
244 %{_libdir}/%{_arch64}/pkgconfig/*.pc |
236 %{_libdir}/%{_arch64}/dbus-1.0/* |
245 %{_libdir}/%{_arch64}/dbus-1.0/* |
237 %endif |
246 %endif |
238 |
247 |
239 %changelog |
248 %changelog |
|
249 * Thu Oct 02 2008 - [email protected] |
|
250 - Add /etc/X11/xinit/xinitrc.d/0005.dbus to fix 6755007 so that gdm can launch |
|
251 dbus session for the user. This can be used for both gdm on nevada and OpenSolaris. |
240 * Sun Sep 14 2008 - [email protected] |
252 * Sun Sep 14 2008 - [email protected] |
241 - Add new copyright files. |
253 - Add new copyright files. |
242 * Tue Sep 02 2008 - [email protected] |
254 * Tue Sep 02 2008 - [email protected] |
243 - Place the library in a separate package, so that people who just |
255 - Place the library in a separate package, so that people who just |
244 want to write their own D-Bus services don't need to depend on the |
256 want to write their own D-Bus services don't need to depend on the |