File aranym.spec of Package aranym

# spec file for package aranym
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           aranym
BuildRequires:  Mesa-devel SDL-devel SDL_image-devel automake gcc-c++ unzip update-desktop-files
Summary:        ARAnyM (Atari Running on Any Machine)
Version:        0.9.7beta
Release:        1
Group:          System/Emulators/Other
License:        GPL-2.0+ ; LGPL-2.1+
Source:         %{name}-%{version}.tar.gz
Patch:          %{name}-%{version}.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

ARAnyM is a multiplatform virtual machine (a software layer) for
running Atari ST/TT/Falcon TOS/GEM applications on any hardware with
many host operating systems. The reason for writing ARAnyM is to
provide Atari power users with faster and better machines. The ultimate
goal is to create a new platform where TOS/GEM applications could
continue to live forever.


* 68040 CPU (including MMU040)

* 68040 and 68881/2 FPU

* 14 MB ST-RAM and up to 3824 MB (configurable) of FastRAM

* VIDEL, Blitter, MFP, ACIA, IKBD for highest possible compatibility

* Sound (compatible with Atari XBIOS Sound subsystem, including
   TimerA DMA IRQ)

* Atari floppy DD/HD for connecting floppy image or real floppy

* Two IDE channels for connecting disk images, hard drives, or

* Extended keyboard and mouse support (including mouse wheel)

* Direct access to host file system via BetaDOS and MiNT xfs drivers

* Networking using ethernet emulation with a driver for MiNT-Net

* TOS 4.04, EmuTOS, or Linux as the booting operating system

* Runs with FreeMiNT, MagiC, and any other operating system that
   runs also on real Atari computers

* Native CD-ROM access (under Linux, other OS: audio CD only) without
scsi, ide, or other emulation

    Ctirad Fertr <>
    Milan Jurik <>
    Stanislav Opichal <>
    Petr Stehlik <>
    Johan Klockars <>
    Didier MEQUIGNON <>
    Patrice Mandin <>
    Xavier Joubert
    Andreas Schwab <>

%setup -q -n %{name}-%{version} -a 1

autoreconf -fi
%ifarch %ix86
	    --prefix=/usr --mandir=%{_mandir} --disable-nat-debug \
	    --enable-addressing=direct --enable-jit-compiler
make depend
make %{?jobs:-j%jobs}
mv aranym aranym-jit
make clean
	    --prefix=/usr --mandir=%{_mandir} --disable-nat-debug \
%ifarch ppc ppc64
	    --enable-fpe=uae \
	    --enable-addressing=direct \
	    --enable-lilo --enable-fullmmu
make depend
make %{?jobs:-j%jobs}
mv aranym aranym-mmu
make clean
	    --prefix=/usr --mandir=%{_mandir} --disable-nat-debug \
%ifarch ppc ppc64
	    --enable-fpe=uae \
make depend
make %{?jobs:-j%jobs}

make install DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}
%ifarch %ix86
install -m 755 aranym-jit $RPM_BUILD_ROOT%{_bindir}
install -m 755 aranym-mmu $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -m 644 contrib/icon-32.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/aranym.png
%suse_update_desktop_file -i aranym
cp -a afros-* $RPM_BUILD_ROOT%{_datadir}/aranym/afros
find $RPM_BUILD_ROOT%{_datadir}/aranym/afros -type d -name CVS -exec rm -rf {} +

%verify_permissions -e %{_bindir}/aratapif


%defattr(-, root, root)
%doc %{_docdir}/aranym
%verify(not mode) %attr(755,root,root) %{_bindir}/aratapif