26c4aee
Name:		gxemul
e7d2f44
Version:	0.4.6
c24ae23
Release:	1%{?dist}
26c4aee
License:	BSD
26c4aee
Group:		Development/Tools
26c4aee
Summary:	Instruction-level machine emulator
26c4aee
URL:		http://gavare.se/gxemul
26c4aee
Source0:	http://gavare.se/gxemul/src/%{name}-%{version}.tar.gz
26c4aee
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c8dbca4
BuildRequires:	libX11-devel, xorg-x11-proto-devel
26c4aee
26c4aee
%description
26c4aee
GXemul is an experimental instruction-level machine emulator. It can be
26c4aee
used to run binary code for (among others) MIPS-based machines, regardless
26c4aee
of host platform. Several emulation modes are available. For some modes,
26c4aee
processors and surrounding hardware components are emulated well enough to
26c4aee
let unmodified operating systems (e.g. NetBSD) run as if they were running
26c4aee
on a real machine.
26c4aee
26c4aee
%prep
26c4aee
%setup -q
26c4aee
26c4aee
%build
e7d2f44
CFLAGS="$RPM_OPT_FLAGS" ./configure
26c4aee
make %{?_smp_mflags}
26c4aee
26c4aee
%install
26c4aee
rm -rf $RPM_BUILD_ROOT
26c4aee
mkdir -p $RPM_BUILD_ROOT%{_bindir}
26c4aee
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
26c4aee
install -m755 gxemul $RPM_BUILD_ROOT%{_bindir}
26c4aee
install -m644 man/gxemul.1 $RPM_BUILD_ROOT%{_mandir}/man1
26c4aee
26c4aee
%clean
26c4aee
rm -rf $RPM_BUILD_ROOT
26c4aee
26c4aee
%files
26c4aee
%defattr(-,root,root,0755)
c24ae23
%doc LICENSE HISTORY RELEASE README doc/* demos/
26c4aee
%{_bindir}/gxemul
26c4aee
%{_mandir}/man1/gxemul.*
26c4aee
26c4aee
%changelog
e7d2f44
* Thu Jul  5 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.6-1
e7d2f44
- bump to 0.4.6
e7d2f44
a0a7247
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.3-1
a0a7247
- bump to 0.4.3
a0a7247
c24ae23
* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.2-1
c24ae23
- bump to 0.4.2
c24ae23
bbac714
* Tue Jul 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.0.1-3
bbac714
- add demos/ to doc
bbac714
1d333f5
* Fri Jul  7 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.0.1-2
1d333f5
- fix FC-4 BuildRequires
1d333f5
70ce724
* Thu Jul  6 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.0.1-1
70ce724
- bump to 0.4.0.1
70ce724
0bbdce0
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.3.8-1
0bbdce0
- bump to 0.3.8
0bbdce0
c8dbca4
* Mon Jan  9 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.3.7-1
c8dbca4
- bump to 0.3.7
c8dbca4
- enable all the cpu types by default (MIPS, ARM, PPC are primary)
c8dbca4
26c4aee
* Thu Jul 28 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.3.4-1
26c4aee
- initial package for Fedora Extras