[mingw-matahari: 2/15] Initial import

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 15:59:36 UTC 2012


commit 1b09fa99a09996e89e79b72265b263a03fc3f4eb
Author: Andrew Beekhof <andrew at beekhof.net>
Date:   Wed Feb 23 15:48:37 2011 +0100

    Initial import

 matahari-matahari-8003b6c.tgz |  Bin 0 -> 84746 bytes
 mingw32-matahari.spec         |   83 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/matahari-matahari-8003b6c.tgz b/matahari-matahari-8003b6c.tgz
new file mode 100644
index 0000000..19f876d
Binary files /dev/null and b/matahari-matahari-8003b6c.tgz differ
diff --git a/mingw32-matahari.spec b/mingw32-matahari.spec
new file mode 100644
index 0000000..ccad34c
--- /dev/null
+++ b/mingw32-matahari.spec
@@ -0,0 +1,83 @@
+%global __strip %{_mingw32_strip}
+%global __objdump %{_mingw32_objdump}
+
+
+%global specversion 11
+%global upstream_version 8003b6c
+
+# Keep around for when/if required
+%global alphatag %{upstream_version}.git
+
+%global mh_release %{?alphatag:0.}%{specversion}%{?alphatag:.%{alphatag}}%{?dist}
+
+Name:		mingw32-matahari
+Version:	0.4.0
+Release:	%{mh_release}
+Summary:	Matahari QMF Agents for Windows guests
+
+Group:		Applications/System
+License:	GPLv2
+URL:		http://fedorahosted.org/matahari
+
+# wget --no-check-certificate -O matahari-matahari-{upstream_version}.tgz https://github.com/matahari/matahari/tarball/{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 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
+
+%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.
+
+MinGW cross-compiled Windows application.
+
+%{_mingw32_debug_package}
+
+%prep
+%setup -q -n matahari-matahari-%{upstream_version}
+
+%build
+PATH=%{_mingw32_bindir}:$PATH
+
+ls -al /usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig
+%{_mingw32_cmake} --debug-output -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=on
+make VERBOSE=1 %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+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
+
+%clean
+test "x%{buildroot}" != "x" && rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{_mingw32_datadir}/matahari
+
+%doc AUTHORS COPYING
+
+%changelog
+* Tue Oct 12 2010 Andrew Beekhof <andrew at beekhof.net> - matahari-0.4.0-0.3.e1d0d9a.git
+- Initial build.
+
+* Fri Sep 10 2010 Andrew Beekhof <andrew at beekhof.net> - matahari-0.4.0-0.1
+- Initial build.
+


More information about the scm-commits mailing list