added requirement for libspice-gtk

install translations and desktop file [release 1.0.1-4mamba;Mon May 12 2014]
This commit is contained in:
Silvan Calarco 2024-01-05 19:06:15 +01:00
parent 49e2915c55
commit e2a556530a

View File

@ -1,6 +1,6 @@
Name: virt-manager Name: virt-manager
Version: 1.0.1 Version: 1.0.1
Release: 3mamba Release: 4mamba
Summary: Virtual Machine Manager Summary: Virtual Machine Manager
Group: Applications/Emulators Group: Applications/Emulators
Vendor: openmamba Vendor: openmamba
@ -23,6 +23,7 @@ Requires: python-libvirt-glib
Requires: python-libxml2 Requires: python-libxml2
Requires: python-ipaddr Requires: python-ipaddr
Requires: gnome-icon-theme Requires: gnome-icon-theme
Requires: libspice-gtk
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -41,14 +42,13 @@ CFLAGS="%{optflags}" %{__python} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python%{python_version} \ --install-headers=%{_includedir}/python%{python_version} \
--install-lib=%{python_sitearch} --install-lib=%{python_sitearch}
#%find_lang %{name} %find_lang %{name}
rm -fr %{buildroot}/var/scrollkeeper #rm -fr %{buildroot}/var/scrollkeeper
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -67,8 +67,7 @@ if [ $1 -eq 0 ]; then
fi fi
exit 0 exit 0
%files %files -f %{name}.lang
#-f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/virt-clone %{_bindir}/virt-clone
%{_bindir}/virt-convert %{_bindir}/virt-convert
@ -96,6 +95,10 @@ exit 0
%{_datadir}/virt-manager/virtinst/*.py %{_datadir}/virt-manager/virtinst/*.py
%dir %{_datadir}/%{name}/virtManager %dir %{_datadir}/%{name}/virtManager
%{_datadir}/%{name}/virtManager/*.py %{_datadir}/%{name}/virtManager/*.py
%{_datadir}/appdata/virt-manager.appdata.xml
%{_datadir}/applications/virt-manager.desktop
%{_datadir}/icons/hicolor/*/apps/virt-manager.png
%{_datadir}/virt-manager/icons/hicolor/*
%{_mandir}/man1/virt-clone.1* %{_mandir}/man1/virt-clone.1*
%{_mandir}/man1/virt-convert.1* %{_mandir}/man1/virt-convert.1*
%{_mandir}/man1/virt-image.1* %{_mandir}/man1/virt-image.1*
@ -107,6 +110,10 @@ exit 0
# ChangeLog NEWS README TODO # ChangeLog NEWS README TODO
%changelog %changelog
* Mon May 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-4mamba
- added requirement for libspice-gtk
- install translations and desktop file
* Sun May 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-3mamba * Sun May 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-3mamba
- add conflict with python-virtinst - add conflict with python-virtinst