Changes of Revision 3
[-] | Added | convirt.spec |
x 1
2 +Summary: A graphical Xen management tool 3 +Name: convirt 4 +Version: 0.9.6 5 +License: GPLv2 6 +Group: Applications/System 7 +URL: http://www.convirt.net/ 8 +Source0: %{name}-%{version}.tar.bz2 9 +Patch1: convirt-yelp.diff 10 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot 11 + 12 +%if "%{_vendor}" == "suse" 13 +Release: 10.suse 14 +Requires: python >= 2.4, xen >= 3.0.4, python-gtk, vte, rpm-python, python-curses 15 +Requires: install-initrd 16 +Requires: xen-tools 17 +Requires: python-paramiko >= 1.6.4 18 +%define distext suse 19 +%else 20 +Release: 10.fedora 21 +Requires: python >= 2.4, xen >= 3.0.4, pygtk2, vte 22 +Requires: python-paramiko >= 1.6.4 23 +%define distext fedora 24 +%endif 25 + 26 +Provides: xenman 27 +Obsoletes: xenman 28 + 29 +Packager: Matthias G. Eckermann <mge@arcor.de> 30 + 31 +%description 32 +ConVirt is an intuitive, graphical management tool aimed at operational 33 +lifecycle management for virtualization platform. ConVirt is built 34 +on the firm design philosophy that ease-of-use and sophistication can, 35 +and should, co-exist in a single management tool. So, ConVirt should 36 +hopefully prove valuable to both seasoned Administrators as well as 37 +those just seeking an introduction to Virtualization. 38 + 39 +Original Packager: 40 +------------------ 41 +Haphazard <haphazard1@users.sourceforge.net> 42 +Jd <jd_jedi@users.sourceforge.net> 43 + 44 +Author(s): 45 +---------- 46 +Yves Perrenoud <yves@xpand.org> 47 + 48 +%prep 49 +%setup -q 50 + 51 +%if %{?suse_version}==1010 52 +%patch1 -p 1 53 +%endif 54 + 55 +%build 56 +# cd src 57 +# patch -p 0 < %{P:0} 58 + 59 +%install 60 +[ %{buildroot} != / ] && %{__rm} -rf %{buildroot} 61 +mkdir -p %{buildroot} 62 + 63 +rm -f ./src/convirt/client/pixmaps/*.orig 64 + 65 +%{__mkdir_p} %{buildroot}%{_datadir}/%{name}/doc 66 +%{__mkdir_p} %{buildroot}%{_datadir}/%{name}/src 67 +%{__mkdir_p} %{buildroot}%{_datadir}/%{name}/install 68 +%{__mkdir_p} %{buildroot}%{_localstatedir}/cache/%{name} 69 +%{__mkdir_p} %{buildroot}%{_localstatedir}/cache/%{name}/image_store 70 +%{__mkdir_p} %{buildroot}%{_localstatedir}/cache/%{name}/appliance_store 71 +%{__mkdir_p} %{buildroot}%{_bindir} 72 + 73 +%{__install} -Dp -m0644 install/client/distros/%{distext}/%{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf 74 +find src | %{__cpio} -pdm %{buildroot}%{_datadir}/%{name} 75 +find doc | %{__cpio} -pdm %{buildroot}%{_datadir}/%{name} 76 +find install | %{__cpio} -pdm %{buildroot}%{_datadir}/%{name} 77 +find image_store | %{__cpio} -pdm %{buildroot}%{_localstatedir}/cache/%{name} 78 +find appliance_store | %{__cpio} -pdm %{buildroot}%{_localstatedir}/cache/%{name} 79 + 80 +%{__chmod} 0755 %{buildroot}%{_datadir}/%{name}/src/convirt/client/%{name}_client.py 81 +%{__chmod} 0755 %{buildroot}%{_datadir}/%{name}/install/common/mk_image_store 82 +%{__chmod} 0544 %{buildroot}%{_datadir}/%{name}/install/common/patches/patch_paramiko 83 +imagelist="Windows_CD_Install Fedora_PV_Install CentOS_PV_Install Linux_CD_Install _template_ example" 84 +for image in $imagelist 85 +do 86 +%{__chmod} 0744 %{buildroot}%{_localstatedir}/cache/%{name}/image_store/$image/provision.sh 87 +done 88 +%{__chmod} 0744 %{buildroot}%{_datadir}/%{name}/src/convirt/core/appliance/xen/provision.sh 89 + 90 + 91 +%{__ln_s} ../share/%{name}/install/client/ConVirt %{buildroot}%{_bindir}/%{name} 92 +%{__ln_s} ../share/%{name}/install/common/mk_image_store %{buildroot}%{_bindir}/mk_image_store 93 + 94 +rpm -qa --queryformat='%%{name}/%%{version}/%%{release}/%%{arch}\n'| sort | bzip2 -9 > USEDFORBUILD.bz2 95 + 96 +%clean 97 +[ %{buildroot} != / ] && %{__rm} -rf %{buildroot} 98 + 99 +%files 100 +%defattr(-,root,root,-) 101 +%doc doc/* 102 +%config %{_sysconfdir}/%{name}.conf 103 +%{_bindir}/%{name} 104 +%{_bindir}/mk_image_store 105 +%{_datadir}/%{name} 106 +%{_localstatedir}/cache/%{name}/image_store 107 +%{_localstatedir}/cache/%{name}/appliance_store 108 +%dir %{_localstatedir}/cache/%{name} 109 + 110 +%changelog 111 +* Wed Jul 16 2008 - mge@novell.com [ 0.9-8.mge ] 112 +- RPM Cleanup. Thanks to Manfred Hollstein for help. 113 +* Mon Jul 14 2008 - mge@novell.com [ 0.9-7.mge ] 114 +- update to 0.9.0 115 +* Thu Jun 10 2008 Jd <jd_jedi@users.sourceforge.net> 0.9-1 116 +- major changes for 0.9 version 117 +* Tue Mar 11 2008 - mge@novell.com [ 0.8.2-6.mge ] 118 +- update to 0.8.2 119 +* Mon Feb 18 2008 - mge@arcor.de [ 0.8.1-5.mge ] 120 + (thanks tro Manfred Hollstein for testing and patches) 121 +- add convirt-yelp.diff 122 +- add Provides: xenman / Obsoletes: xenman 123 +* Mon Feb 11 2008 - mge@arcor.de [ 0.8.1-2.mge ] 124 +- build in openSUSE buildservice: 125 +- add dependency to xen-tools 126 +- remove noarch 127 +- include, but not activate convirt_0.6_xen_3.1_patch_v1.txt see: 128 + https://sourceforge.net/tracker/index.php?func=detail&aid=1738580&group_id=168929&atid=848458 129 +- introduce USEDFORBUILD.bz2 130 +* Thu Jan 04 2008 Jd <jd_jedi@users.sourceforge.net> 0.7-1 131 +- changes for 0.7 version 132 +* Thu Nov 29 2007 Jd <jd_jedi@users.sourceforge.net> 0.7-1 133 +- prelim modification for new version 134 +* Mon Dec 28 2006 Haphazard <haphazard1@users.sourceforge.net> 0.6-1 135 +- new version 136 +* Thu Sep 28 2006 Haphazard <haphazard1@users.sourceforge.net> 0.5-1 137 +- new version 138 +* Thu Aug 24 2006 Jd <jd_jedi@users.sourceforge.net> 0.4.2.2 139 +- hotfix for start up problem. 140 +* Sun Aug 13 2006 Haphazard <haphazard1@users.sourceforge.net> 0.4.2-1 141 +- extended SUSE dependency list. 142 +* Tue Jul 25 2006 Yves Perrenoud <yves@xpand.org> 0.4.1-2 143 +- added some SUSE specific elements to ultimately support the post-install 144 + creating of an install initial ramdisk 145 +- now marks the config file as one 146 +* Mon Jul 24 2006 Yves Perrenoud <yves@xpand.org> 0.4.1-1 147 +- new version 148 +- added Suse support 149 +* Wed Jul 19 2006 Yves Perrenoud <yves@xpand.org> 0.4-1 150 +- new version 151 +- added the change log to the doc files 152 +* Thu Jun 8 2006 Yves Perrenoud <yves@xpand.org> 0.3-1 153 +- Initial build. 154 |