[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/virt-manager/devel .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 virt-manager.spec, 1.4, 1.5



Author: berrange

Update of /cvs/dist/rpms/virt-manager/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14320

Modified Files:
	.cvsignore sources virt-manager.spec 
Log Message:
Updated to 0.2.1 tar.gz from upstream. Added gconf schema install scriptlets


Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/virt-manager/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	24 Aug 2006 19:36:34 -0000	1.3
+++ .cvsignore	4 Sep 2006 19:52:14 -0000	1.4
@@ -1 +1,2 @@
 virt-manager-0.2.0.tar.gz
+virt-manager-0.2.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/virt-manager/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	24 Aug 2006 19:36:34 -0000	1.3
+++ sources	4 Sep 2006 19:52:14 -0000	1.4
@@ -1 +1 @@
-65dfe9e99d4d6c869840bf776977e1ee  virt-manager-0.2.0.tar.gz
+5686925b9533c1b7e55f2226ebacdeff  virt-manager-0.2.1.tar.gz


Index: virt-manager.spec
===================================================================
RCS file: /cvs/dist/rpms/virt-manager/devel/virt-manager.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- virt-manager.spec	24 Aug 2006 19:55:45 -0000	1.4
+++ virt-manager.spec	4 Sep 2006 19:52:14 -0000	1.5
@@ -7,14 +7,14 @@
 %define _extra_release %{?extra_release:%{extra_release}}
 
 Name: virt-manager
-Version: 0.2.0
-Release: 3%{_extra_release}
+Version: 0.2.1
+Release: 1%{_extra_release}
 Summary: Virtual Machine Manager
 
 Group: Applications/Emulators
 License: GPL
 URL: http://virt-manager.et.redhat.com/
-Source0: http://virt-manager.et.redhat.com/%{name}-%{version}.tar.gz
+Source0: http://virt-manager.et.redhat.com/download/sources/%{name}/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # These two are just the oldest version tested
@@ -47,6 +47,10 @@
 BuildRequires: python-devel
 BuildRequires: gettext
 
+Requires(pre): GConf2
+Requires(post): GConf2
+Requires(preun): GConf2
+
 %description
 Virtual Machine Manager provides a graphical tool for administering
 virtual machines such as Xen. It uses libvirt as the backend management
@@ -70,9 +74,34 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%pre
+if [ "$1" -gt 1 ]; then
+    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+    gconftool-2 --makefile-uninstall-rule \
+      %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+fi
+
+%post
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule \
+  %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+
+update-desktop-database %{_datadir}/applications
+
+%postun
+update-desktop-database %{_datadir}/applications
+
+%preun
+if [ "$1" -eq 0 ]; then
+    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+    gconftool-2 --makefile-uninstall-rule \
+      %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+fi
+
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc README COPYING AUTHORS ChangeLog NEWS
+%{_sysconfdir}/gconf/schemas/%{name}.schemas
 %{_bindir}/%{name}
 %{_libexecdir}/%{name}-launch
 %{_libdir}/%{name}/*
@@ -98,6 +127,12 @@
 %{_datadir}/dbus-1/services/%{name}.service
 
 %changelog
+* Mon Sep  4 2006 Daniel Berrange <berrange redhat com> - 0.2.1-1
+- Updated to 0.2.1 tar.gz
+- Added rules to install/uninstall gconf schemas in preun,post,pre
+  scriptlets
+- Updated URL for source to reflect new upstream download URL
+
 * Thu Aug 24 2006 Jeremy Katz <katzj redhat com> - 0.2.0-3
 - BR gettext
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]