181 строка
5.6 KiB
Plaintext
181 строка
5.6 KiB
Plaintext
%{!?_versioneddocdir: %global _versioneddocdir %{_docdir}/%{name}-%{version}}
|
|
Summary: DBus for systemd
|
|
Name: dbus
|
|
Version: 1.15.8
|
|
Release: 3%{?dist}
|
|
License: GPLv2+ OR AFL
|
|
Vendor: Microsoft Corporation
|
|
Distribution: Azure Linux
|
|
Group: Applications/File
|
|
URL: https://www.freedesktop.org/wiki/Software/dbus
|
|
Source0: https://%{name}.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.xz
|
|
BuildRequires: autoconf-archive
|
|
BuildRequires: autoconf
|
|
BuildRequires: audit-devel
|
|
BuildRequires: expat-devel
|
|
BuildRequires: libselinux-devel
|
|
BuildRequires: systemd-bootstrap-devel
|
|
BuildRequires: xz-devel
|
|
BuildRequires: filesystem
|
|
Requires: filesystem
|
|
Requires: expat
|
|
Requires: xz
|
|
# Using the weak dependency 'Recommends' to break a circular dependency during
|
|
# from-scratch builds, where systemd's functionality is not required for 'dbus'.
|
|
# In real-life situations systemd will always be present and thus installed.
|
|
Recommends: systemd
|
|
Provides: dbus-libs = %{version}-%{release}
|
|
# NOTE: We currently do not build with X11 support.
|
|
# build with X11 support in the future.
|
|
Provides: %{name}-x11
|
|
|
|
%description
|
|
The dbus package contains dbus.
|
|
|
|
%package devel
|
|
Summary: Header and development files
|
|
Requires: %{name} = %{version}
|
|
Requires: expat-devel
|
|
|
|
%description devel
|
|
It contains the libraries and header files to create applications
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
libtoolize && aclocal
|
|
autoupdate
|
|
autoreconf -i
|
|
%configure \
|
|
--docdir=%{_versioneddocdir} \
|
|
--enable-libaudit=yes \
|
|
--enable-selinux=yes \
|
|
--runstatedir=/run \
|
|
--with-console-auth-dir=/run/console
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
install -vdm755 %{buildroot}%{_libdir}
|
|
#ln -sfv ../../lib/$(readlink %{buildroot}%{_libdir}/libdbus-1.so) %{buildroot}%{_libdir}/libdbus-1.so
|
|
#rm -f %{buildroot}%{_sharedstatedir}/dbus/machine-id
|
|
#ln -sv %{buildroot}%{_sysconfdir}/machine-id %{buildroot}%{_sharedstatedir}/dbus
|
|
|
|
%check
|
|
make %{?_smp_mflags} check
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%attr(4750,root,messagebus) %{_libexecdir}/dbus-daemon-launch-helper
|
|
%license COPYING
|
|
%{_bindir}/*
|
|
%{_datadir}/dbus-1
|
|
%{_docdir}/*
|
|
%{_libdir}/libdbus-1.so.*
|
|
%{_libdir}/tmpfiles.d/dbus.conf
|
|
%{_sysconfdir}/dbus-1
|
|
%{_unitdir}/*
|
|
%exclude %{_libdir}/sysusers.d
|
|
|
|
#%%{_sharedstatedir}/*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_datadir}/xml/dbus-1
|
|
%{_includedir}/*
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.so
|
|
%{_libdir}/cmake/DBus1
|
|
%{_libdir}/dbus-1.0/include/
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%dir %{_libdir}/dbus-1.0
|
|
|
|
%changelog
|
|
* Tue Mar 20 2024 Sam Meluch <sammeluch@microsfot.com> - 1.15.8-3
|
|
- fix attributes on dbus-daemon-launch-helper
|
|
- sort files list
|
|
|
|
* Wed Mar 20 2024 Dan Streetman <ddstreet@microsoft.com> - 1.15.8-2
|
|
- specify runstatedir to avoid "Line references path below legacy
|
|
directory /var/run/" warnings
|
|
|
|
* Thu Jan 04 2024 Brian Fjeldstad <bfjelds@microsoft.com> - 1.15.8-1
|
|
- Upgrade to 1.15.8
|
|
|
|
* Wed Sep 20 2023 Jon Slobodzian <joslobo@microsoft.com> - 1.15.2-4
|
|
- Recompile with stack-protection fixed gcc version (CVE-2023-4039)
|
|
|
|
* Tue Jun 27 2023 Chris Gunn <chrisgun@microsoft.com> - 1.15.2-3
|
|
- Enable audit integration
|
|
|
|
* Fri Oct 14 2022 Muhammad Falak <mwani@microsoft.com> - 1.15.2-2
|
|
- Add an explicit provides `dbus-x11`
|
|
|
|
* Wed Oct 12 2022 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.15.2-1
|
|
- Upgrade to 1.15.2
|
|
|
|
* Tue Mar 08 2022 Andrew Phelps <anphel@microsoft.com> - 1.14.0-1
|
|
- Upgrade to version 1.14.0
|
|
- License verified
|
|
|
|
* Thu Sep 30 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.13.6-9
|
|
- Breaking circular dependency on 'systemd' by using 'Recommends' instead of 'Requires'.
|
|
|
|
* Fri Sep 10 2021 Thomas Crain <thcrain@microsoft.com> - 1.13.6-8
|
|
- Remove libtool archive files from final packaging
|
|
|
|
* Fri Apr 02 2021 Thomas Crain <thcrain@microsoft.com> - 1.13.6-7
|
|
- Merge the following releases from 1.0 to dev branch
|
|
- thcrain@microsoft.com, 1.13.6-4: Patch CVE-2019-12749
|
|
|
|
* Fri Feb 05 2021 Joe Schmitt <joschmit@microsoft.com> - 1.13.6-6
|
|
- Replace incorrect %%{_lib} usage with %%{_libdir}
|
|
|
|
* Tue Nov 03 2020 Ruying Chen <v-ruyche@microsoft.com> - 1.13.6-5
|
|
- Systemd supports merged /usr. Update with corresponding file locations and macros.
|
|
|
|
* Mon Nov 02 2020 Joe Schmitt <joschmit@microsoft.com> - 1.13.6-4 (from dev branch)
|
|
- Provide dbus-libs.
|
|
|
|
* Thu Oct 22 2020 Thomas Crain <thcrain@microsoft.com> - 1.13.6-4 (from 1.0 branch)
|
|
- Patch CVE-2019-12749
|
|
|
|
* Sat May 09 00:21:00 PST 2020 Nick Samson <nisamson@microsoft.com> - 1.13.6-3
|
|
- Added %%license line automatically
|
|
|
|
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 1.13.6-2
|
|
- Initial CBL-Mariner import from Photon (license: Apache2).
|
|
|
|
* Mon Sep 10 2018 Ajay Kaher <akaher@vmware.com> - 1.13.6-1
|
|
- Update to 1.13.6
|
|
|
|
* Fri Apr 21 2017 Bo Gan <ganb@vmware.com> - 1.11.12-1
|
|
- Update to 1.11.12
|
|
|
|
* Tue Dec 20 2016 Xiaolin Li <xiaolinl@vmware.com> - 1.8.8-8
|
|
- Move all header files to devel subpackage.
|
|
|
|
* Fri Nov 18 2016 Anish Swaminathan <anishs@vmware.com> 1.8.8-7
|
|
- Change systemd dependency
|
|
|
|
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> - 1.8.8-6
|
|
- Modified %check
|
|
|
|
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 1.8.8-5
|
|
- GA - Bump release of all rpms
|
|
|
|
* Tue Sep 22 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> - 1.8.8-4
|
|
- Created devel sub-package
|
|
|
|
* Thu Jun 25 2015 Sharath George <sharathg@vmware.com> - 1.8.8-3
|
|
- Remove debug files.
|
|
|
|
* Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> - 1.8.8-2
|
|
- Update according to UsrMove.
|
|
|
|
* Sun Apr 06 2014 Sharath George <sharathg@vmware.com> - 1.8.8
|
|
- Initial build. First version
|