Summary: Qpid QMF Agent for Ovirt Nodes Name: matahari Version: 0.0.5 Release: 1%{?dist} Source: http://mcpierce.fedorapeople.org/sources/matahari-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root License: GPLv2 Group: Applications/System URL: http://matahari.fedorahosted.org/ Requires: dbus >= 1.2.12 Requires: hal >= 0.5.12 Requires: qpid-cpp-client >= 0.6.895736 Requires: qmf >= 0.6.895736 Requires: libvirt >= 0.6.2 Requires: pcre >= 7.8 BuildRequires: gcc-c++ >= 4.4.0 BuildRequires: dbus-devel >= 1.2.12 BuildRequires: hal-devel >= 0.5.12 BuildRequires: qpid-cpp-client-devel >= 0.6.895736 BuildRequires: qmf-devel >= 0.6.895736 BuildRequires: libvirt-devel >= 0.6.2 BuildRequires: pcre-devel >= 7.8 %description Matahari provides a QMF Agent that can be used to control and manage various pieces of functionality for an ovirt node, using the AMQP protocol. The Advanced Message Queuing Protocol (AMQP) is an open standard application layer protocol providing reliable transport of messages. QMF provides a modeling framework layer on top of qpid (which implements AMQP). This interface allows you to manage a host and its various components as a set of objects with properties and methods. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install %post /sbin/chkconfig --level 2345 matahari on /sbin/service matahari condrestart %preun if [ $1 = 0 ]; then /sbin/service matahari stop >/dev/null 2>&1 || : chkconfig --del matahari fi %postun if [ "$1" -ge "1" ]; then /sbin/service matahari condrestart >/dev/null 2>&1 || : fi %clean test "x%{buildroot}" != "x" && rm -rf %{buildroot} %files %defattr(644, root, root, 755) %dir %{_datadir}/matahari/ %{_datadir}/matahari/schema.xml %attr(755, root, root) %{_sbindir}/matahari %attr(755, root, root) %{_sysconfdir}/rc.d/init.d/matahari %config(noreplace) %{_sysconfdir}/sysconfig/matahari %doc AUTHORS COPYING %changelog * Wed Jul 7 2010 Darryl L. Pierce <dpierce@redhat.com> - 0.0.5-1 - Rebuild for updated Qpid/QMF. - Resolves: rhbz602975 - Matahari messages are not accepted by current version of qpid in F13 * Thu Oct 08 2009 Arjun Roy <arroy@redhat.com> - 0.0.4-7 - Refactored for new version of qpidc. * Fri Oct 02 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.0.4-6 - Rebuild for new qpidc. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jul 16 2009 Arjun Roy <arroy@redhat.com> - 0.0.4-4 - Changed buildroot value to meet fedora packaging guidelines - Updated project website * Mon Jul 13 2009 Arjun Roy <arroy@redhat.com> - 0.0.4-3 - Quietened rpmlint errors and warnings. - Fixed most gcc warnings. - Changed init script so it doesn't run by default - Now rpm specfile makes it so service runs by default instead * Thu Jul 9 2009 Arjun Roy <arroy@redhat.com> - 0.0.4-2 - Bumped qpidc and qmf version requirements to 0.5.790661. * Thu Jul 9 2009 Arjun Roy <arroy@redhat.com> - 0.0.4-1 - Removed dependency on boost. Added dependency on pcre. * Thu Jul 2 2009 Arjun Roy <arroy@redhat.com> - 0.0.3-2 - Fixed bug with not publishing host hypervisor and arch to broker - Updated aclocal.m4 to match new version of automake * Tue Jun 30 2009 Arjun Roy <arroy@redhat.com> - 0.0.3-1 - Added getopt and daemonize support - Added sysV init script support * Mon Jun 29 2009 Arjun Roy <arroy@redhat.com> - 0.0.2-1 - Now tracks hypervisor and arch using libvirt * Tue Jun 23 2009 Arjun Roy <arroy@redhat.com> - 0.0.1-1 - Initial rpmspec packaging