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