7 Commits

View File

@ -2,14 +2,14 @@
%define messagebus_gid 25
Name: dbus
Version: 1.13.8
Release: 4mamba
Version: 1.15.8
Release: 1mamba
Summary: A message bus, used for sending messages between applications
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.freedesktop.org/Software/dbus
URL: https://www.freedesktop.org/wiki/Software/dbus/
Source: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.xz
Source1: dbus-initscript
Source2: %{name}-session-profile.sh
@ -54,13 +54,12 @@ Requires(pre): filesystem >= 2.2-19mamba
Requires(pre): shadow
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: dbus-tools
Obsoletes: dbus-tools
Obsoletes: dbus-tools < 1.14.0
## *AUTOSPEC-OFF*
Obsoletes: dbus-viewer
Obsoletes: dbus1-viewer
Obsoletes: dbus1
Obsoletes: dbus-viewer < 1.14.0
Obsoletes: dbus1-viewer < 1.14.0
Obsoletes: dbus1 < 1.14.0
## *AUTOSPEC-ON*
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
D-BUS is a message bus, used for sending messages between applications.
@ -70,7 +69,7 @@ Conceptually, it fits somewhere in between raw sockets and CORBA in terms of com
Summary: Tools for D-BUS
Group: System/Tools
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: dbus1-tools
Obsoletes: dbus1-tools < 1.14.0
%description tools
dbus-launch: utility to start a message bus from a shell script
@ -87,10 +86,10 @@ D-Bus shared library.
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: dbus-devel
Obsoletes: dbus-devel < 1.14.0
Provides: dbus-devel = %{?epoch:%epoch:}%{version}-%{release}
## *AUTOSPEC-OFF*
Obsoletes: dbus1-devel
Obsoletes: dbus1-devel < 1.14.0
Provides: dbus1-devel = %{?epoch:%epoch:}%{version}-%{release}
## *AUTOSPEC-ON*
@ -112,41 +111,26 @@ This package includes the %{name} API documentation.
%prep
%setup -q
%patch0 -p1 -b .cve_2006_6107
%patch 0 -p1 -b .cve_2006_6107
#%patch2 -p1
%build
%configure \
--enable-dnotify \
--enable-selinux \
--enable-systemd \
--enable-user-session \
--disable-checks \
--disable-asserts \
--runstatedir=/run \
--with-system-pid-file=/run/messagebus.pid \
--with-system-socket=/run/dbus/system_bus_socket \
--with-session-socket-dir=/tmp \
%if "%{stage1}" == "1"
--without-x
%endif
%meson \
-Druntime_dir=/run \
-Dsystem_pid_file=/run/messagebus.pid \
-Dsystem_socket=/run/dbus/system_bus_socket \
-Dsession_socket_dir=/tmp
%make
#make check
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%meson_install
install -d 0755 %{buildroot}%{_datadir}/dbus-1/services
install -d %{buildroot}%{_sysconfdir}/dbus-1/system.d/
install -d %{buildroot}%{_sysconfdir}/dbus-1/session.d/
install -d %{buildroot}%{_var}/lib/dbus
#[ -e %{buildroot}%{_var}/run/dbus ] && rmdir %{buildroot}%{_var}/run/dbus
#ln -s /run/dbus %{buildroot}%{_var}/run/dbus
#install -m 0755 %{S:1} %{buildroot}%{_initrddir}/messagebus
#install -D -m 0755 %{S:2} %{buildroot}%{_sysconfdir}/profile.d/dbus-session.sh
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -205,7 +189,6 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%config %{_sysconfdir}/dbus-1/system.conf
%dir %{_sysconfdir}/dbus-1/system.d/
%dir %{_sysconfdir}/dbus-1/session.d/
#%{_sysconfdir}/profile.d/dbus-session.sh
%{_bindir}/dbus-cleanup-sockets
%{_bindir}/dbus-daemon
%{_bindir}/dbus-launch
@ -220,7 +203,6 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{_prefix}/lib/tmpfiles.d/dbus.conf
%{_unitdir}/dbus.service
%{_unitdir}/dbus.socket
#%{_unitdir}/dbus.target.wants/dbus.socket
%{_unitdir}/multi-user.target.wants/dbus.service
%{_unitdir}/sockets.target.wants/dbus.socket
%{_userunitdir}/dbus.service
@ -230,8 +212,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%dir %{_datadir}/dbus-1/services
%{_datadir}/dbus-1/session.conf
%{_datadir}/dbus-1/system.conf
%{_datadir}/xml/dbus-1/busconfig.dtd
%{_datadir}/xml/dbus-1/introspect.dtd
%dir %{_datadir}/xml/dbus-1
%{_datadir}/xml/dbus-1/*.dtd
%{_datadir}/xml/dbus-1/catalog.xml
#%dir %{_var}/run/dbus
%dir %{_var}/lib/dbus
%{_mandir}/man1/dbus-cleanup-sockets.*
@ -252,8 +235,6 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_libdir}/libdbus-1.so
%{_libdir}/libdbus-1.a
%{_libdir}/libdbus-1.la
%{_libdir}/pkgconfig/*.pc
%dir %{_libdir}/dbus-1.0/include/dbus
%{_libdir}/dbus-1.0/include/dbus/dbus-arch-deps.h
@ -269,6 +250,27 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{_docdir}/dbus/*
%changelog
* Tue Feb 20 2024 Automatic Build System <autodist@openmamba.org> 1.15.8-1mamba
- automatic update by autodist
* Sat Sep 02 2023 Automatic Build System <autodist@mambasoft.it> 1.14.10-1mamba
- automatic version update by autodist
* Wed Jun 07 2023 Automatic Build System <autodist@mambasoft.it> 1.14.8-1mamba
- automatic version update by autodist
* Thu Feb 09 2023 Automatic Build System <autodist@mambasoft.it> 1.14.6-1mamba
- automatic version update by autodist
* Thu Oct 06 2022 Automatic Build System <autodist@mambasoft.it> 1.14.4-1mamba
- automatic version update by autodist
* Wed Sep 28 2022 Automatic Build System <autodist@mambasoft.it> 1.14.2-1mamba
- automatic version update by autodist
* Fri Mar 04 2022 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
- automatic version update by autodist
* Sun Oct 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.8-4mamba
- add Requires(pre): shadow to fix dbus-daemon-launch-helper permissions on live media