mirror of
https://github.com/libretro/hatari.git
synced 2026-11-07 10:36:00 -10:00
73 lines
2.1 KiB
RPMSpec
73 lines
2.1 KiB
RPMSpec
#
|
|
# RPM spec file for Hatari
|
|
#
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
|
|
BuildRequires: bash coreutils cpio cpp diffutils file filesystem findutils glibc glibc-devel grep groff gzip libgcc m4 make man mktemp patch readline sed tar unzip util-linux zlib zlib-devel SDL SDL-devel autoconf binutils gcc libtool rpm
|
|
|
|
Name: hatari
|
|
URL: http://hatari.sourceforge.net/
|
|
License: GPL
|
|
Group: System/Emulators/Other
|
|
Autoreqprov: on
|
|
Version: 1.0.0
|
|
Release: 1
|
|
Summary: an Atari ST emulator suitable for playing games
|
|
Source: %{name}-%{version}.tar.gz
|
|
#Patch: %{name}-%{version}.dif
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Prefix: /usr
|
|
|
|
%description
|
|
Hatari is an emulator for the Atari ST, STE, TT and Falcon computers.
|
|
The Atari ST was a 16/32 bit computer system which was first released by Atari
|
|
in 1985. Using the Motorola 68000 CPU, it was a very popular computer having
|
|
quite a lot of CPU power at that time.
|
|
Unlike many other Atari ST emulators which try to give you a good environment
|
|
for running GEM applications, Hatari tries to emulate the hardware of a ST as
|
|
close as possible so that it is able to run most of the old ST games and demos.
|
|
|
|
%prep
|
|
%setup
|
|
#%patch
|
|
|
|
%build
|
|
# LDFLAGS="-static" LIBS=`sdl-config --static-libs` \
|
|
CFLAGS="-O3 -fomit-frame-pointer" \
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
/usr/bin/hatari
|
|
/usr/share/hatari
|
|
%doc %_mandir/man1/hatari.1*
|
|
%dir %_docdir/%{name}
|
|
%_docdir/%{name}/*.txt
|
|
%_docdir/%{name}/*.html
|
|
%dir %_docdir/%{name}/images
|
|
%_docdir/%{name}/images/*.png
|
|
|
|
%changelog -n hatari
|
|
|
|
* Wed Jan 02 2008 - [email protected]
|
|
- Adapted RPM to the latest source code level (aiming at version 1.0.0)
|
|
|
|
* Sun May 06 2007 - [email protected]
|
|
- Adapted spec file to be able to build Hatari with RedHat, too
|
|
|
|
* Sun Aug 27 2006 - [email protected]
|
|
- Upgraded to version 0.90
|
|
|
|
* Tue Oct 18 2005 - [email protected]
|
|
- initial package
|