Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 4847a3b723
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (38 sloc) 0.997 kb
Name: moxie-qemu
Version: @VERSION@
Release: 0.@BUILDNUM@%{?dist}
Summary: Qemu port to the moxie architecture
Group: Development/Tools
License: GPL
URL: http://moxielogic.com/blog
Source0: moxie-qemu.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel SDL-devel
Requires: qemu qemu-img
%description
This is a port of qemu to the moxie core.
%prep
%setup -q -n qemu
%build
CFLAGS="%optflags" ./configure \
--disable-werror \
--prefix=%_prefix \
--target-list=moxie-softmmu
%__make tooldir=%_prefix all
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_datadir}/qemu
rm -f $RPM_BUILD_ROOT%{_bindir}/qemu-img
rm -f $RPM_BUILD_ROOT%{_bindir}/qemu-nbd
rm -f $RPM_BUILD_ROOT%{_bindir}/qemu-io
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/*
/usr/etc/qemu
%doc COPYING*
%changelog
* @DATE@ Anthony Green <green@moxielogic.com> @VERSION@-1
- Created.
Jump to Line
Something went wrong with that request. Please try again.