Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (55 sloc) 2.41 KB
%global __strip %{_mingw32_strip}
%global __objdump %{_mingw32_objdump}
%global specversion 17
%global upstream_version cb3faf4
# Keep around for when/if required
%global alphatag %{upstream_version}.git
%global mh_release %{?alphatag:0.}%{specversion}%{?alphatag:.%{alphatag}}%{?dist}
Name: mingw32-matahari
Release: %{mh_release}
Summary: Matahari QMF Agents for Windows guests
Group: Applications/System
License: GPLv2+
# wget --no-check-certificate -O matahari-matahari-{upstream_version}.tgz{upstream_version}
Source0: matahari-matahari-%{upstream_version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: redhat-rpm-config cmake make qpid-qmf-devel
BuildRequires: mingw32-filesystem >= 57
BuildRequires: mingw32-gcc-c++ mingw32-nsis genisoimage
BuildRequires: mingw32-pcre mingw32-qpid-cpp mingw32-srvany mingw32-glib2 mingw32-sigar
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.
MinGW cross-compiled Windows application.
%setup -q -n matahari-matahari-%{upstream_version}
%{_mingw32_cmake} --debug-output -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_VERBOSE_MAKEFILE=on
make VERBOSE=1 %{?_smp_mflags}
make VERBOSE=1 %{?_smp_mflags} package
genisoimage -o matahari-%{version}-win32.iso matahari-%{version}-win32.exe src/windows/autorun.inf
%{__install} -d $RPM_BUILD_ROOT/%{_mingw32_datadir}/matahari
%{__install} matahari-%{version}-win32.iso $RPM_BUILD_ROOT/%{_mingw32_datadir}/matahari
test "x%{buildroot}" != "x" && rm -rf %{buildroot}
* Tue Oct 12 2010 Andrew Beekhof <> - 0.4.0-0.12.060266b.git
- Initial build.
* Fri Sep 10 2010 Andrew Beekhof <> - 0.4.0-0.1
- Initial build.