diff --git a/libvirt-sandbox.spec b/libvirt-sandbox.spec index 18e423a..1bed03a 100644 --- a/libvirt-sandbox.spec +++ b/libvirt-sandbox.spec @@ -10,15 +10,16 @@ %define libvirt_version 1.0.2 + Name: libvirt-sandbox -Version: 0.8.0 -Release: 21%{?dist} +Version: 0.6.0 +Release: 1%{?dist}%{?extra_release} Summary: libvirt application sandbox framework -# Automatically converted from old format: LGPLv2+ - review is highly recommended. -License: LicenseRef-Callaway-LGPLv2+ +Group: Development/Tools +License: LGPLv2+ URL: http://libvirt.org/ Source0: ftp://libvirt.org/libvirt/sandbox/%{name}-%{version}.tar.gz -BuildRequires: make +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libvirt-gobject-devel >= 0.2.1 BuildRequires: gobject-introspection-devel BuildRequires: glibc-static @@ -28,13 +29,16 @@ BuildRequires: libselinux-devel BuildRequires: glib2-devel >= 2.32.0 BuildRequires: xz-devel >= 5.0.0, xz-static BuildRequires: zlib-devel >= 1.2.0, zlib-static -%if 0%{fedora} > 27 -BuildRequires: libtirpc-devel -BuildRequires: rpcgen -%endif +Requires: rpm-python +# For virsh lxc-enter-namespace command +Requires: libvirt-client >= %{libvirt_version} +Requires: systemd >= 198 +Requires: pygobject3-base +Requires: libselinux-python Requires: %{name}-libs = %{version}-%{release} %package libs +Group: Development/Libraries Summary: libvirt application sandbox framework libraries # So we get the full libvirtd daemon, not just client libs %if %{with_qemu} @@ -47,6 +51,7 @@ Requires: libvirt-daemon-qemu >= %{libvirt_version} Requires: libvirt-daemon-lxc >= %{libvirt_version} %package devel +Group: Development/Libraries Summary: libvirt application sandbox framework development files Requires: %{name}-libs = %{version}-%{release} @@ -80,13 +85,26 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-sandbox-1.0.la %find_lang %{name} -%ldconfig_scriptlets libs +%clean +rm -rf $RPM_BUILD_ROOT + +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %files +%defattr(-,root,root,-) +%{_datadir}/bash-completion/completions/virt-sandbox-service +%config(noreplace) %{_sysconfdir}/cron.daily/virt-sandbox-service.logrotate +%dir %{_sysconfdir}/libvirt-sandbox/services %{_bindir}/virt-sandbox +%{_bindir}/virt-sandbox-service +%{_libexecdir}/virt-sandbox-service-util %{_mandir}/man1/virt-sandbox.1* +%{_mandir}/man1/virt-sandbox-service.1* +%{_mandir}/man1/virt-sandbox-service-*.1* %files libs -f %{name}.lang +%defattr(-,root,root,-) %doc README COPYING AUTHORS ChangeLog NEWS %dir %{_sysconfdir}/libvirt-sandbox %dir %{_sysconfdir}/libvirt-sandbox/scratch @@ -98,6 +116,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-sandbox-1.0.la %{_libdir}/girepository-1.0/LibvirtSandbox-1.0.typelib %files devel +%defattr(-,root,root,-) %doc examples/virt-sandbox.pl %doc examples/virt-sandbox.py %doc examples/virt-sandbox.js @@ -112,88 +131,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-sandbox-1.0.la %{_datadir}/gtk-doc/html/Libvirt-sandbox %changelog -* Thu Jul 16 2026 Fedora Release Engineering - 0.8.0-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Fri Jan 16 2026 Fedora Release Engineering - 0.8.0-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Thu Jul 24 2025 Fedora Release Engineering - 0.8.0-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Fri Jan 17 2025 Fedora Release Engineering - 0.8.0-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Mon Sep 02 2024 Miroslav Suchý - 0.8.0-17 -- convert license to SPDX - -* Thu Jul 18 2024 Fedora Release Engineering - 0.8.0-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Mar 30 2024 Jonathan Wright - 0.8.0-15 -- Rebuild to ensure backdoored XZ libs arn't present - -* Thu Jan 25 2024 Fedora Release Engineering - 0.8.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 0.8.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Jul 20 2023 Fedora Release Engineering - 0.8.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jan 19 2023 Fedora Release Engineering - 0.8.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Jul 21 2022 Fedora Release Engineering - 0.8.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 0.8.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 0.8.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 0.8.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 0.8.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering - 0.8.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 0.8.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 0.8.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 0.8.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Jun 8 2018 Daniel P. Berrangé - 0.8.0-1 -- Update to 0.8.0 release - -* Mon Mar 26 2018 Iryna Shcherbina - 0.6.0-7 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Wed Feb 07 2018 Fedora Release Engineering - 0.6.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.6.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.6.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0.6.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 0.6.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - * Wed Jul 1 2015 Daniel P. Berrange - 0.6.0-1 - Update to 0.6.0 release diff --git a/sources b/sources index ecadc58..b05625d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libvirt-sandbox-0.8.0.tar.gz) = 633368b6b41c520ae678b850e4c6c96cc3220adcfda9a9a36ad67d50f10b1d18e40a2d92e76a8d99a63e7e24a1f9cf3153eca0acf4745bd48c381289974476d2 +546eb0caaa79d50a723adf58f32da87f libvirt-sandbox-0.6.0.tar.gz