2024-01-05 19:06:15 +01:00
|
|
|
Name: virt-manager
|
2024-01-05 19:06:17 +01:00
|
|
|
Version: 4.1.0
|
2024-01-05 19:06:19 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 19:06:15 +01:00
|
|
|
Summary: Virtual Machine Manager
|
|
|
|
Group: Applications/Emulators
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 19:06:17 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 19:06:17 +01:00
|
|
|
URL: https://virt-manager.org/
|
2024-01-05 19:06:16 +01:00
|
|
|
Source: http://virt-manager.org/download/sources/virt-manager/virt-manager-%{version}.tar.gz
|
2024-01-05 19:06:15 +01:00
|
|
|
Patch0: virt-manager-1.0.1-fix-changing-graphics-type.patch
|
2024-01-05 19:06:16 +01:00
|
|
|
Patch1: virt-manager-1.3.1-disable-packagekit.patch
|
2024-01-05 19:06:16 +01:00
|
|
|
Patch2: virt-manager-1.4.0-fix-italian-translation.patch
|
2024-01-05 19:06:15 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 19:06:16 +01:00
|
|
|
BuildRequires: libvirt-glib-devel >= 1.0.0-1mamba
|
2024-01-05 19:06:17 +01:00
|
|
|
BuildRequires: python-docutils-py3
|
2024-01-05 19:06:15 +01:00
|
|
|
Conflicts: python-virtinst
|
2024-01-05 19:06:17 +01:00
|
|
|
Requires: libvirt
|
2024-01-05 19:06:19 +01:00
|
|
|
Requires: libvirt-glib
|
2024-01-05 19:06:17 +01:00
|
|
|
Requires: python-libvirt-py3
|
|
|
|
Requires: python-libxml2-py3
|
|
|
|
Requires: python-urllib3-py3
|
|
|
|
Requires: python-chardet-py3
|
|
|
|
Requires: python-certifi-py3
|
|
|
|
Requires: python-idna-py3
|
|
|
|
Requires: python-requests-py3
|
|
|
|
Requires: pygobject-py3
|
2024-01-05 19:06:17 +01:00
|
|
|
#Requires: python-urlgrabber
|
2024-01-05 19:06:15 +01:00
|
|
|
Requires: bridge-utils
|
|
|
|
Requires: python-gnome
|
2024-01-05 19:06:16 +01:00
|
|
|
#Requires: python-libvirt-glib
|
2024-01-05 19:06:17 +01:00
|
|
|
#Requires: python-ipaddr
|
2024-01-05 19:06:16 +01:00
|
|
|
Requires: adwaita-icon-theme
|
2024-01-05 19:06:15 +01:00
|
|
|
Requires: libspice-gtk
|
2024-01-05 19:06:16 +01:00
|
|
|
Requires: spice-gtk
|
2024-01-05 19:06:15 +01:00
|
|
|
Requires: libvte
|
|
|
|
Requires: gtk-vnc
|
2024-01-05 19:06:15 +01:00
|
|
|
Requires: qemu
|
|
|
|
Requires: libosinfo
|
2024-01-05 19:06:16 +01:00
|
|
|
Requires: openssh-askpass
|
2024-01-05 19:06:17 +01:00
|
|
|
Requires: libgtksourceview3
|
2024-01-05 19:06:15 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The "Virtual Machine Manager" application is a desktop user interface for managing virtual machines.
|
|
|
|
It presents a summary view of running domains, their live performance & resource utilization statistics.
|
|
|
|
The detailed view graphs performance & utilization over time.
|
|
|
|
Wizards enable the creation of new domains, and configuration & adjustment of a domain's resource allocation & virtual hardware.
|
|
|
|
An embedded VNC client viewer presents a full graphical console to the guest domain.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 19:06:15 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 19:06:16 +01:00
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
2024-01-05 19:06:15 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 19:06:17 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
2024-01-05 19:06:15 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 19:06:17 +01:00
|
|
|
%{__python3} setup.py \
|
2024-01-05 19:06:16 +01:00
|
|
|
--no-update-icon-cache --no-compile-schemas install \
|
2024-01-05 19:06:15 +01:00
|
|
|
--root="%{buildroot}" \
|
2024-01-05 19:06:17 +01:00
|
|
|
--install-headers=%{_includedir}/python%{python3_version} \
|
|
|
|
--install-lib=%{python3_sitearch}
|
2024-01-05 19:06:15 +01:00
|
|
|
|
2024-01-05 19:06:17 +01:00
|
|
|
# Replace '#!/usr/bin/env python3' with '#!/usr/bin/python3'
|
|
|
|
# The format is ideal for upstream, but not a distro. See:
|
|
|
|
# https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython
|
|
|
|
for f in $(find %{buildroot} -type f -executable -print); do
|
2024-01-05 19:06:17 +01:00
|
|
|
sed -i "1 s|^#\!/usr/bin/env python3|#\!%{__python3}|" $f || :
|
2024-01-05 19:06:17 +01:00
|
|
|
done
|
|
|
|
|
2024-01-05 19:06:15 +01:00
|
|
|
%find_lang %{name}
|
2024-01-05 19:06:15 +01:00
|
|
|
|
2024-01-05 19:06:15 +01:00
|
|
|
#rm -fr %{buildroot}/var/scrollkeeper
|
2024-01-05 19:06:15 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
update-desktop-database -q %{_datadir}/applications
|
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
update-desktop-database -q %{_datadir}/applications
|
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
|
2024-01-05 19:06:15 +01:00
|
|
|
%files -f %{name}.lang
|
2024-01-05 19:06:15 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/virt-clone
|
2024-01-05 19:06:17 +01:00
|
|
|
#%{_bindir}/virt-convert
|
2024-01-05 19:06:15 +01:00
|
|
|
%{_bindir}/virt-install
|
|
|
|
%{_bindir}/virt-manager
|
|
|
|
%{_bindir}/virt-xml
|
2024-01-05 19:06:17 +01:00
|
|
|
%{_datadir}/applications/virt-manager.desktop
|
|
|
|
%{_datadir}/metainfo/virt-manager.appdata.xml
|
2024-01-05 19:06:17 +01:00
|
|
|
%{_datadir}/bash-completion/completions/virt-*
|
2024-01-05 19:06:15 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml
|
|
|
|
%dir %{_datadir}/virt-manager
|
|
|
|
%dir %{_datadir}/virt-manager/ui
|
|
|
|
%{_datadir}/virt-manager/ui/*.ui
|
2024-01-05 19:06:17 +01:00
|
|
|
%dir %{_datadir}/virt-manager/virtManager
|
|
|
|
%{_datadir}/virt-manager/virtManager/*
|
2024-01-05 19:06:17 +01:00
|
|
|
#%dir %{_datadir}/virt-manager/virtconv
|
|
|
|
#%{_datadir}/virt-manager/virtconv/*.py
|
2024-01-05 19:06:15 +01:00
|
|
|
%dir %{_datadir}/virt-manager/virtinst
|
2024-01-05 19:06:17 +01:00
|
|
|
%{_datadir}/virt-manager/virtinst/*
|
2024-01-05 19:06:15 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/virt-manager.png
|
2024-01-05 19:06:16 +01:00
|
|
|
%dir %{_datadir}/virt-manager/icons
|
|
|
|
%dir %{_datadir}/virt-manager/icons/hicolor
|
2024-01-05 19:06:15 +01:00
|
|
|
%{_datadir}/virt-manager/icons/hicolor/*
|
2024-01-05 19:06:15 +01:00
|
|
|
%{_mandir}/man1/virt-clone.1*
|
2024-01-05 19:06:17 +01:00
|
|
|
#%{_mandir}/man1/virt-convert.1*
|
2024-01-05 19:06:15 +01:00
|
|
|
%{_mandir}/man1/virt-install.1*
|
|
|
|
%{_mandir}/man1/virt-manager.1*
|
|
|
|
%{_mandir}/man1/virt-xml.1*
|
|
|
|
%doc COPYING
|
|
|
|
# ChangeLog NEWS README TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 19:06:19 +01:00
|
|
|
* Mon Feb 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-3mamba
|
|
|
|
- require libvirt-glib
|
|
|
|
|
2024-01-05 19:06:17 +01:00
|
|
|
* Thu Dec 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-2mamba
|
|
|
|
- require libgtksourceview3
|
|
|
|
|
|
|
|
* Fri Aug 05 2022 Automatic Build System <autodist@mambasoft.it> 4.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:17 +01:00
|
|
|
* Sat Mar 05 2022 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:17 +01:00
|
|
|
* Mon Jan 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-2mamba
|
|
|
|
- require libgtksourceview to add GtkSource gir
|
|
|
|
|
2024-01-05 19:06:17 +01:00
|
|
|
* Wed Dec 02 2020 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:17 +01:00
|
|
|
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-2mamba
|
|
|
|
- rebuilt with python3
|
|
|
|
|
|
|
|
* Tue Oct 20 2020 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:17 +01:00
|
|
|
* Thu Dec 12 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-2mamba
|
|
|
|
- fix for python36 shebang replacements
|
|
|
|
|
2024-01-05 19:06:17 +01:00
|
|
|
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:17 +01:00
|
|
|
* Sat Mar 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-3mamba
|
|
|
|
- fixed requirement typo
|
|
|
|
|
|
|
|
* Fri Mar 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
|
|
|
|
- fix requirements and shebang for python 3.6
|
|
|
|
|
|
|
|
* Fri Mar 08 2019 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Mon Jul 30 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.1-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python-libvirt-glib-devel>=1.0.0-1mamba
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Sat Apr 21 2018 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Sun Dec 03 2017 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Sun Aug 27 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-2mamba
|
|
|
|
- added requirements python-chardet and python-idna
|
|
|
|
|
|
|
|
* Fri Aug 11 2017 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Sat Jul 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2mamba
|
|
|
|
- fix italian translation error causing editing vms to fail
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Thu Jun 23 2016 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Tue Jan 05 2016 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Sun Dec 27 2015 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Sun Dec 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
|
|
|
|
- require python-requests and adwaita-icon-theme (instead of gnome-icon-theme)
|
|
|
|
|
|
|
|
* Tue Dec 08 2015 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Mon Jun 08 2015 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Tue May 19 2015 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Thu Dec 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-3mamba
|
|
|
|
- require openssh-askpass
|
|
|
|
|
2024-01-05 19:06:16 +01:00
|
|
|
* Mon Oct 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
|
|
|
|
- require spice-gtk to support usb redirection
|
|
|
|
|
2024-01-05 19:06:15 +01:00
|
|
|
* Fri Sep 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- update to 1.1.0
|
|
|
|
- require pygobject and qemu
|
|
|
|
|
2024-01-05 19:06:15 +01:00
|
|
|
* Tue May 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-6mamba
|
|
|
|
- upstream patch to fix configuration errors after changing graphics type
|
|
|
|
- disable packagekit check
|
|
|
|
|
|
|
|
* Tue May 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-5mamba
|
|
|
|
- require gtk-vnc and libvte instead of python-* packages to switch to gtk3 via introspection
|
|
|
|
|
2024-01-05 19:06:15 +01:00
|
|
|
* Mon May 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-4mamba
|
|
|
|
- added requirement for libspice-gtk
|
|
|
|
- install translations and desktop file
|
|
|
|
|
2024-01-05 19:06:15 +01:00
|
|
|
* Sun May 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-3mamba
|
|
|
|
- add conflict with python-virtinst
|
|
|
|
|
|
|
|
* Sat May 03 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
|
|
|
|
- add some needed requirements and fix glib-compile-schemas in %post script
|
|
|
|
|
|
|
|
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 20 2014 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 04 2013 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 04 2013 Automatic Build System <autodist@mambasoft.it> 0.9.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 17 2012 Automatic Build System <autodist@mambasoft.it> 0.9.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 13 2012 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun May 01 2011 Automatic Build System <autodist@mambasoft.it> 0.8.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Automatic Build System <autodist@mambasoft.it> 0.8.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 27 2010 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.4-2mamba
|
|
|
|
- added requirement for python-gnome and python-vte
|
|
|
|
|
|
|
|
* Thu Mar 25 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.8.4-1mamba
|
|
|
|
- update to 0.8.4
|
|
|
|
|
|
|
|
* Sun Mar 21 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.8.3-1mamba
|
|
|
|
- package created by autospec
|