26c4aee
Name:		gxemul
55f1e89
Version:	0.4.6.2
55f1e89
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
4b136e0
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)
55f1e89
%doc LICENSE HISTORY RELEASE.html README doc/* demos/
26c4aee
%{_bindir}/gxemul
26c4aee
%{_mandir}/man1/gxemul.*
26c4aee
26c4aee
%changelog
55f1e89
* Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.6.2-1
55f1e89
- bump to 0.4.6.2
55f1e89
44a710b
* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.6-3.1
44a710b
- drop patch
44a710b
df4a2c2
* Thu Aug 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.6-3
df4a2c2
- rebuild for ppc32
df4a2c2
4b136e0
* Thu Jul  5 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.6-1
4b136e0
- bump to 0.4.6
4b136e0
786f579
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.3-1
786f579
- bump to 0.4.3
786f579
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