Updated to 0.2.1 tar.gz from upstream. Added gconf schema install
scriptlets
This commit is contained in:
parent
628e68d9f8
commit
9671c3fff2
@ -1 +1,2 @@
|
|||||||
virt-manager-0.2.0.tar.gz
|
virt-manager-0.2.0.tar.gz
|
||||||
|
virt-manager-0.2.1.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
65dfe9e99d4d6c869840bf776977e1ee virt-manager-0.2.0.tar.gz
|
5686925b9533c1b7e55f2226ebacdeff virt-manager-0.2.1.tar.gz
|
||||||
|
@ -7,14 +7,14 @@
|
|||||||
%define _extra_release %{?extra_release:%{extra_release}}
|
%define _extra_release %{?extra_release:%{extra_release}}
|
||||||
|
|
||||||
Name: virt-manager
|
Name: virt-manager
|
||||||
Version: 0.2.0
|
Version: 0.2.1
|
||||||
Release: 3%{_extra_release}
|
Release: 1%{_extra_release}
|
||||||
Summary: Virtual Machine Manager
|
Summary: Virtual Machine Manager
|
||||||
|
|
||||||
Group: Applications/Emulators
|
Group: Applications/Emulators
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://virt-manager.et.redhat.com/
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
# These two are just the oldest version tested
|
# These two are just the oldest version tested
|
||||||
@ -47,6 +47,10 @@ BuildRequires: gtk2-devel
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
|
|
||||||
|
Requires(pre): GConf2
|
||||||
|
Requires(post): GConf2
|
||||||
|
Requires(preun): GConf2
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Virtual Machine Manager provides a graphical tool for administering
|
Virtual Machine Manager provides a graphical tool for administering
|
||||||
virtual machines such as Xen. It uses libvirt as the backend management
|
virtual machines such as Xen. It uses libvirt as the backend management
|
||||||
@ -70,9 +74,34 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.la
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING AUTHORS ChangeLog NEWS
|
%doc README COPYING AUTHORS ChangeLog NEWS
|
||||||
|
%{_sysconfdir}/gconf/schemas/%{name}.schemas
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_libexecdir}/%{name}-launch
|
%{_libexecdir}/%{name}-launch
|
||||||
%{_libdir}/%{name}/*
|
%{_libdir}/%{name}/*
|
||||||
@ -98,6 +127,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/dbus-1/services/%{name}.service
|
%{_datadir}/dbus-1/services/%{name}.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Aug 24 2006 Jeremy Katz <katzj@redhat.com> - 0.2.0-3
|
||||||
- BR gettext
|
- BR gettext
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user