1# 2# RPM spec file for Hatari 3# 4# This file and all modifications and additions to the pristine 5# package are under the same license as the package itself. 6# 7 8Name: hatari 9URL: http://hatari.tuxfamily.org/ 10License: GPL 11Group: System/Emulators/Other 12Autoreqprov: on 13Version: 2.2.1 14Release: 1 15Summary: an Atari ST emulator suitable for playing games 16Source: %{name}-%{version}.tar.bz2 17#Patch: %{name}-%{version}.dif 18BuildRoot: %{_tmppath}/%{name}-%{version}-build 19Prefix: /usr 20 21BuildRequires: cmake coreutils cpio cpp diffutils file filesystem findutils tar 22BuildRequires: grep gzip libgcc make man mktemp patch readline sed util-linux 23BuildRequires: glibc-devel zlib-devel SDL2-devel libpng-devel readline-devel 24BuildRequires: portaudio-devel portmidi-devel binutils gcc rpm 25 26# Required by zip2st and atari-hd-image 27Requires: unzip 28Requires: mtools 29Requires: dosfstools 30 31%description 32Hatari is an emulator for the Atari ST, STE, TT and Falcon computers. 33The Atari ST was a 16/32 bit computer system which was first released by Atari 34in 1985. Using the Motorola 68000 CPU, it was a very popular computer having 35quite a lot of CPU power at that time. 36Unlike many other Atari ST emulators which try to give you a good environment 37for running GEM applications, Hatari tries to emulate the hardware of a ST as 38close as possible so that it is able to run most of the old ST games and demos. 39 40%prep 41%setup 42#%patch 43 44%build 45# LDFLAGS="-static" LIBS=`sdl-config --static-libs` \ 46CFLAGS="-O3 -fomit-frame-pointer" \ 47 ./configure --prefix=/usr 48make %{?_smp_mflags} 49 50%install 51rm -rf $RPM_BUILD_ROOT 52make install DESTDIR=$RPM_BUILD_ROOT 53 54%clean 55rm -rf $RPM_BUILD_ROOT 56 57%files 58%defattr(-,root,root) 59%{_bindir}/* 60%{_datadir}/%{name} 61%{_datadir}/applications/*.desktop 62%{_datadir}/icons/hicolor/*/apps/%{name}.* 63%{_datadir}/icons/hicolor/*/mimetypes/* 64%{_datadir}/mime/packages/hatari.xml 65%doc %_mandir/man1/*.1* 66%dir %_docdir/%{name} 67%_docdir/%{name}/*.txt 68%_docdir/%{name}/*.html 69%dir %_docdir/%{name}/images 70%_docdir/%{name}/images/* 71 72%changelog -n hatari 73 74* Fri Feb 08 2019 - Nicolas Pomarede 75- Hatari version 2.2.1 76 77* Thu Jan 31 2019 - Nicolas Pomarede 78- Hatari version 2.2.0 79 80* Wed Feb 07 2018 - Nicolas Pomarede 81- Hatari version 2.1.0 82 83* Fri Nov 04 2016 - Nicolas Pomarede 84- Hatari version 2.0.0 85 86* Thu Sep 10 2015 - Nicolas Pomarede 87- Hatari version 1.9.0 88 89* Wed Jul 30 2014 - Nicolas Pomarede 90- Hatari version 1.8.0 91 92* Mon Jun 24 2013 - Nicolas Pomarede 93- Hatari version 1.7.0 94 95* Sun Jun 24 2012 - Nicolas Pomarede 96- Hatari version 1.6.2 97 98* Fri Jan 13 2012 - Nicolas Pomarede 99- Hatari version 1.6.1 100 101* Sun Jan 01 2012 - Nicolas Pomarede 102- Hatari "Happy New Year 2012" version 1.6.0 103 104* Tue Jul 19 2011 - Nicolas Pomarede 105- Hatari version 1.5.0 106 107* Sat Jun 12 2010 - Nicolas Pomarede 108- Hatari version 1.4.0 109 110* Sat Sep 05 2009 - Thomas Huth 111- Hatari version 1.3.1 112 113* Sun Aug 16 2009 - Thomas Huth 114- Hatari version 1.3.0 115 116* Sat Jan 24 2009 - Thomas Huth 117- Hatari version 1.2.0 118 119* Sat Nov 29 2008 - Thomas Huth 120- Hatari version 1.1.0 121 122* Wed Jan 02 2008 - Thomas Huth 123- Adapted RPM to the latest source code level (aiming at version 1.0.0) 124 125* Sun May 06 2007 - Thomas Huth 126- Adapted spec file to be able to build Hatari with RedHat, too 127 128* Sun Aug 27 2006 - Thomas Huth 129- Upgraded to version 0.90 130 131* Tue Oct 18 2005 - Thomas Huth 132- initial package 133