2018-03-26 12:57:36 +00:00
|
|
|
# -*- rpm-spec -*-
|
|
|
|
|
2020-06-05 08:27:16 +00:00
|
|
|
%global meson_version 0.49.0
|
2018-03-26 12:57:36 +00:00
|
|
|
%global glib2_version 2.44.0
|
2023-10-30 14:49:27 +00:00
|
|
|
%global libvirt_version 3.1.0
|
2018-03-26 12:57:36 +00:00
|
|
|
%global libvirt_glib_version 0.0.7
|
|
|
|
%global system_user libvirtdbus
|
|
|
|
|
|
|
|
Name: libvirt-dbus
|
2023-10-30 04:18:31 +00:00
|
|
|
Version: 1.4.1
|
2024-10-29 15:45:10 +00:00
|
|
|
Release: 6%{?dist}
|
2018-03-26 12:57:36 +00:00
|
|
|
Summary: libvirt D-Bus API binding
|
2023-04-27 11:24:12 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2018-03-26 12:57:36 +00:00
|
|
|
URL: https://libvirt.org/
|
2018-08-29 10:38:07 +00:00
|
|
|
Source0: https://libvirt.org/sources/dbus/%{name}-%{version}.tar.xz
|
2018-03-26 12:57:36 +00:00
|
|
|
|
|
|
|
BuildRequires: gcc
|
2020-06-05 08:27:16 +00:00
|
|
|
BuildRequires: meson >= %{meson_version}
|
2018-03-26 12:57:36 +00:00
|
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
|
BuildRequires: libvirt-devel >= %{libvirt_version}
|
|
|
|
BuildRequires: libvirt-glib-devel >= %{libvirt_glib_version}
|
2020-06-05 08:27:16 +00:00
|
|
|
BuildRequires: python3-docutils
|
2023-10-30 10:10:41 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2023-10-30 10:19:48 +00:00
|
|
|
BuildRequires: systemd
|
2018-03-26 12:57:36 +00:00
|
|
|
|
|
|
|
Requires: dbus
|
|
|
|
Requires: glib2 >= %{glib2_version}
|
|
|
|
Requires: libvirt-libs >= %{libvirt_version}
|
2018-08-29 10:38:07 +00:00
|
|
|
Requires: libvirt-glib >= %{libvirt_glib_version}
|
2018-03-26 12:57:36 +00:00
|
|
|
Requires: polkit
|
|
|
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides D-Bus API for libvirt
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
%build
|
2023-10-30 14:49:27 +00:00
|
|
|
%meson \
|
|
|
|
-Dinit_script=systemd
|
2020-06-05 08:27:16 +00:00
|
|
|
%meson_build
|
2018-03-26 12:57:36 +00:00
|
|
|
|
|
|
|
%install
|
2020-06-05 08:27:16 +00:00
|
|
|
%meson_install
|
2018-03-26 12:57:36 +00:00
|
|
|
|
|
|
|
%pre
|
|
|
|
getent group %{system_user} >/dev/null || groupadd -r %{system_user}
|
|
|
|
getent passwd %{system_user} >/dev/null || \
|
|
|
|
useradd -r -g %{system_user} -d / -s /sbin/nologin \
|
|
|
|
-c "Libvirt D-Bus bridge" %{system_user}
|
|
|
|
exit 0
|
|
|
|
|
2023-10-30 10:10:41 +00:00
|
|
|
%post
|
|
|
|
%systemd_post %{name}.service
|
2023-10-30 14:49:27 +00:00
|
|
|
%systemd_user_post %{name}.service
|
2023-10-30 10:10:41 +00:00
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun %{name}.service
|
2023-10-30 14:49:27 +00:00
|
|
|
%systemd_user_preun %{name}.service
|
2023-10-30 10:10:41 +00:00
|
|
|
|
|
|
|
%postun
|
2023-10-30 14:49:27 +00:00
|
|
|
%systemd_postun_with_restart %{name}.service
|
|
|
|
%systemd_user_postun_with_restart %{name}.service
|
2023-10-30 10:10:41 +00:00
|
|
|
|
2018-03-26 12:57:36 +00:00
|
|
|
%files
|
2020-06-05 08:27:16 +00:00
|
|
|
%doc AUTHORS.rst NEWS.rst
|
2018-03-26 12:57:36 +00:00
|
|
|
%license COPYING
|
2019-01-21 12:57:08 +00:00
|
|
|
%{_sbindir}/libvirt-dbus
|
2023-10-30 14:49:27 +00:00
|
|
|
%{_unitdir}/libvirt-dbus.service
|
|
|
|
%{_userunitdir}/libvirt-dbus.service
|
2018-03-26 12:57:36 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.libvirt.service
|
|
|
|
%{_datadir}/dbus-1/system-services/org.libvirt.service
|
|
|
|
%{_datadir}/dbus-1/system.d/org.libvirt.conf
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.libvirt.*.xml
|
2018-08-29 10:38:07 +00:00
|
|
|
%{_datadir}/polkit-1/rules.d/libvirt-dbus.rules
|
2018-05-17 10:15:30 +00:00
|
|
|
%{_mandir}/man8/libvirt-dbus.8*
|
2018-03-26 12:57:36 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-10-29 15:45:10 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.4.1-6
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-06-24 15:59:15 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4.1-5
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-25 03:55:42 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 05:41:28 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-10-30 14:49:27 +00:00
|
|
|
* Tue Nov 14 2023 Pavel Hrdina <phrdina@redhat.com> - 1.4.1-2
|
|
|
|
- Synchronize spec file with upstream
|
|
|
|
|
|
|
|
* Mon Oct 30 2023 Ladar Levison <ladar@lavabit.com> - 1.4.1-1
|
2023-10-30 04:18:31 +00:00
|
|
|
- Update to 1.4.1 release
|
|
|
|
|
2023-07-20 12:28:38 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 17:46:20 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 19:21:07 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 17:34:44 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 12:41:41 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 18:16:49 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 05:51:57 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-05 08:27:16 +00:00
|
|
|
* Fri Jun 05 2020 Pavel Hrdina <phrdina@redhat.com> - 1.4.0-1
|
|
|
|
- Update to 1.4.0 release
|
|
|
|
|
2020-01-29 10:43:44 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 14:40:56 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 08:30:22 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-21 12:57:08 +00:00
|
|
|
* Mon Jan 21 2019 Pavel Hrdina <phrdina@redhat.com> - 1.3.0-1
|
|
|
|
- Update to 1.3.0 release
|
|
|
|
|
2018-08-29 10:38:07 +00:00
|
|
|
* Wed Aug 29 2018 Pavel Hrdina <phrdina@redhat.com> - 1.2.0-1
|
|
|
|
- Update to 1.2.0 release
|
|
|
|
|
2018-07-13 09:01:28 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-28 11:59:13 +00:00
|
|
|
* Thu Jun 28 2018 Pavel Hrdina <phrdina@redhat.com> - 1.1.0-1
|
|
|
|
- Update to 1.1.0 release
|
|
|
|
|
2018-05-17 10:15:30 +00:00
|
|
|
* Thu May 17 2018 Pavel Hrdina <phrdina@redhat.com> - 1.0.0-1
|
|
|
|
- Update to 1.0.0 release
|
|
|
|
|
2018-03-26 12:57:36 +00:00
|
|
|
* Tue Mar 27 2018 Pavel Hrdina <phrdina@redhat.com> - 0.0.1-1
|
|
|
|
- Initial RPM build
|