File uae.spec of Package uae

#
# spec file for package uae (Version 0.8.25)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           uae
BuildRequires:  autoconf automake ei gtk2-devel libXext-devel update-desktop-files
License:        GPL
Group:          System/Emulators/Other
Requires:       ei
Autoreqprov:    on
Version:        0.8.25
Release:        288
Summary:        A Commodore Amiga emulator
Url:            http://uae.coresystems.de/
Source0:        %{name}-%{version}.tar.bz2
Source1:        README.SuSE
Source2:        uae
Source3:        uae.desktop
Patch0:         uae-0.8.25.patch
Patch1:         uae-0.8.22-log.patch
Patch2:         uae-0.8.22-ia64.patch
Patch3:         uae-0.8.22-ia64-2.patch
Patch4:         uae-static-decl.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
UAE is an Amiga emulator that almost completely simulates an A500. You
need a Kickstart ROM as well as a Workbench to be able to work with
UAE. Some programs (demos/games) will work without these too.



Authors:
--------
    Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>

%prep
%setup -q
mv aclocal.m4 acinclude.m4
%patch0
%patch1
%patch2
%patch3
%patch4
#
cp %{S:1} docs/

%build
%{?suse_update_config:%{suse_update_config -f}}
aclocal
autoconf
./configure --enable-sound --enable-ui --enable-threads
make all

%install
rm -rf $RPM_BUILD_ROOT
install -m 755 -d $RPM_BUILD_ROOT/usr/bin/
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/uae
install -m 755 uae $RPM_BUILD_ROOT/usr/bin/
install -m 755 readdisk $RPM_BUILD_ROOT/usr/lib/uae
cp -a amiga $RPM_BUILD_ROOT/usr/lib/uae
#
# for ROM images
install -d $RPM_BUILD_ROOT/usr/lib/ei
install -m 644 %{S:2} $RPM_BUILD_ROOT/usr/lib/ei/uae
%suse_update_desktop_file -i %name System Emulator

%files
%defattr(644,root,root)
%doc docs/* COPYING src/ChangeLog
/usr/lib/uae
/usr/lib/ei/*
/usr/share/applications/*
%attr(755,root,root) /usr/bin/uae

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Mon Apr 23 2007 - sbrabec@suse.cz
- Updated to version 0.8.25.
- converted neededforbuild to BuildRequires
- Fixed static declaration follows non-static errors.
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Fri Aug 15 2003 - adrian@suse.de
- add desktop file
* Fri Jun 13 2003 - mcihar@suse.cz
- add ei to neededforbuild
* Tue May 27 2003 - mcihar@suse.cz
- ei script doesn't have to be executable
- fix permissions for installed files
- move binary to /usr/bin
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Fri Jul 26 2002 - stepan@suse.de
- update to 0.8.22
  * blitter updates
  * copper updates
  * sprite updates
  * gui and config file fixes
* Wed Jun 05 2002 - mcihar@suse.cz
- moved script for fetching ROMs from ei to this package
* Wed May 08 2002 - stepan@suse.de
- updated to version 0.8.21:
  * fix clockspeed detection, gui, filesystem locking, JIT
  * more accurate blitter timing
- include ChangeLog in docs
* Thu Apr 04 2002 - pmladek@suse.cz
- fixed to compile with autoconf-2.53 (AC_LIBOBJ vs. LIBOBJS)
* Fri Feb 01 2002 - postadal@suse.cz
- updated to version 0.8.20:
  * fix & improvements, especially in state-saving
  * picasso screens now support panning.
* Wed Dec 12 2001 - pmladek@suse.cz
- fixed typo in /src/include/newcpu.h
* Wed Dec 12 2001 - pmladek@suse.cz
- updated to version 0.8.19:
  * the gtk UI has more options and it waits for the user
  to explicitly start
  * a track and LED display added to the bottom of the screen
  * Picasso screens now support panning
  * numerous bug fixes
* Mon Nov 12 2001 - stepan@suse.de
- remove svgalib support and dependencies
* Mon Oct 15 2001 - stepan@suse.de
- update to 0.8.17
* Mon Jun 18 2001 - pmladek@suse.cz
- fixed to compile with new autoconf
* Mon Jun 11 2001 - pmladek@suse.cz
- fixed to compile with new autoconf
* Mon Apr 23 2001 - pmladek@suse.cz
- fixed conversions int <-> pointer on ia64
- fixed warnings on ia64
* Wed Apr 18 2001 - uli@suse.de
- only build/install svgalib version on i386, alpha
* Mon Apr 16 2001 - pmladek@suse.cz
- updated to version 0.8.16
- fixed to compile (removed cpuopti)
- README.SuSE removed from patch to sources
- fixed call of suse_update_config
- compiled with RPM_OPT_FLAGS
- fixed print of "Calibrating delay loop ..."
* Mon Nov 06 2000 - ro@suse.de
- fixed neededforbuild
* Tue Oct 24 2000 - cihlar@suse.cz
- upgrade to 8.15
- fixed copyright tag
- clean up spec file
- bzipped sources
* Fri May 12 2000 - cihlar@suse.cz
- upgrade to 8.12
- removed DGA version
* Wed Mar 29 2000 - cihlar@suse.cz
- package does not require vga library
* Tue Mar 14 2000 - cihlar@suse.cz
- added BuildRoot
* Wed Feb 09 2000 - ro@suse.de
- update to 0.8.11
- hacked Makefile to compile
* Tue Oct 26 1999 - uli@suse.de
- update -> 0.8.10
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Tue Jul 13 1999 - bs@suse.de
- use gtk and glib instead of gtkn and glibn
* Tue Jun 22 1999 - uli@suse.de
- fixed syntax errors (!) in gencpu.c, newcpu.h
* Mon Jun 14 1999 - uli@suse.de
- update -> 0.8.8
* Mon Jun 14 1999 - uli@suse.de
- update 0.6.8 -> 0.7.6
- added SVGALib & DGA versions
* Fri Jan 08 1999 - bs@suse.de
- fixed permissions
- skipped Makefile.Linux
* Tue Sep 29 1998 - ro@suse.de
- keep configure from messing with the kernels joystick.h file
* Fri Jun 06 1997 - rj@suse.de
- neue Version 0.6.8
* Thu Jan 02 1997 - rj@suse.de
- neue Version 0.6.3
openSUSE Build Service is sponsored by