OBS User unknown 2007-04-02 00:05:33 +00:00 committed by Git OBS Bridge
parent b4ca4878c4
commit 66a92e3bff
2 changed files with 17 additions and 18 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 2 01:56:33 CEST 2007 - ro@suse.de
- updated gconf scriptlets
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 13 12:53:38 MST 2007 - ccoffing@novell.com Tue Feb 13 12:53:38 MST 2007 - ccoffing@novell.com

View File

@ -11,6 +11,7 @@
# norootforbuild # norootforbuild
Name: virt-manager Name: virt-manager
URL: http://virt-manager.et.redhat.com
BuildRequires: autoconf automake gconf2 gettext gtk2-devel python-devel python-gtk update-desktop-files BuildRequires: autoconf automake gconf2 gettext gtk2-devel python-devel python-gtk update-desktop-files
%if %suse_version > 1010 %if %suse_version > 1010
BuildRequires: python-gobject2-devel python-gtk-devel BuildRequires: python-gobject2-devel python-gtk-devel
@ -24,7 +25,7 @@ License: GNU General Public License (GPL)
Group: System/Monitoring Group: System/Monitoring
Autoreqprov: yes Autoreqprov: yes
Version: 0.3.0 Version: 0.3.0
Release: 5 Release: 8
Summary: Virtual Machine Manager Summary: Virtual Machine Manager
Source0: virt-manager-0.3.0.tar.bz2 Source0: virt-manager-0.3.0.tar.bz2
Source1: rhpl-exception.py Source1: rhpl-exception.py
@ -51,6 +52,8 @@ Patch8: virtman-limit-popup.diff
Patch9: virtman-error.diff Patch9: virtman-error.diff
Requires: gconf2 Requires: gconf2
%gconf_schemas_prereq
%description %description
Virt Manager provides a graphical tool for administering virtual Virt Manager provides a graphical tool for administering virtual
machines. machines.
@ -93,31 +96,20 @@ mkdir -p $RPM_BUILD_ROOT%{_sbindir}
rm -rf $RPM_BUILD_ROOT/usr/share/locale/as rm -rf $RPM_BUILD_ROOT/usr/share/locale/as
rm -rf $RPM_BUILD_ROOT/usr/share/locale/or rm -rf $RPM_BUILD_ROOT/usr/share/locale/or
%find_lang virt-manager %find_lang virt-manager
%find_gconf_schemas
cat %{name}.schemas_list %{name}.lang >%{name}.lst
%suse_update_desktop_file virt-manager %suse_update_desktop_file virt-manager
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%pre %pre -f %{name}.schemas_pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`%{gconftool} --get-default-source`
%{gconftool} --makefile-uninstall-rule \
%{gsysconfdir}/gconf/schemas/virt-manager.schemas > /dev/null || :
fi
%post %preun -f %{name}.schemas_preun
export GCONF_CONFIG_SOURCE=`%{gconftool} --get-default-source`
%{gconftool} --makefile-install-rule \
%{gsysconfdir}/gconf/schemas/virt-manager.schemas > /dev/null || :
%preun %posttrans -f %{name}.schemas_posttrans
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`%{gconftool} --get-default-source`
%{gconftool} --makefile-uninstall-rule \
%{gsysconfdir}/gconf/schemas/virt-manager.schemas > /dev/null || :
fi
%files -f virt-manager.lang %files -f virt-manager.lst
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING AUTHORS ChangeLog %doc COPYING AUTHORS ChangeLog
%{gsysconfdir}/gconf/schemas/virt-manager.schemas %{gsysconfdir}/gconf/schemas/virt-manager.schemas
@ -142,6 +134,8 @@ fi
%dir %{_datadir}/applications/YaST2 %dir %{_datadir}/applications/YaST2
%changelog %changelog
* Mon Apr 02 2007 - ro@suse.de
- updated gconf scriptlets
* Tue Feb 13 2007 - ccoffing@novell.com * Tue Feb 13 2007 - ccoffing@novell.com
- Update to latest hg; grabs mouse for better mouse tracking. - Update to latest hg; grabs mouse for better mouse tracking.
(#240387) (#240387)