1 Summary: hatari - an Atari ST and STE emulator for Linux
2 Summary(pl.UTF-8): hatari - emulator Atari ST i STE dla Linuksa
7 Group: Applications/Emulators
8 Source0: http://download.berlios.de/hatari/%{name}-%{version}.tar.bz2
9 # Source0-md5: 1440230be3dd38098f4e0ef36b0a90df
10 Patch0: %{name}-useless_files.patch
11 Patch1: %{name}-destdir.patch
12 URL: http://hatari.sourceforge.net/
13 BuildRequires: SDL-devel >= 1.2.0
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libpng-devel
17 BuildRequires: pkgconfig
18 BuildRequires: readline-devel
19 BuildRequires: sed >= 4.0
20 BuildRequires: xorg-lib-libX11-devel
21 BuildRequires: zlib-devel
22 Requires: python >= 1:2.4
23 Requires: python-pygtk-gtk >= 2.8
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Hatari is an Atari ST and STE emulator for Linux and other systems
28 that are supported by the SDL library. Hatari supports the emulation
29 of most of the ST and STE hardware.
31 %description -l pl.UTF-8
32 Hatari jest emulatorem Atari ST i STE dla Linuksa i innych systemów
33 obsługiwanych przez bibliotekę SDL. Hatari emuluje większość sprzętu
40 %{__sed} -i 's#path=$(DATAPATH)#path=%{_datadir}/hatari/hatariui#' python-ui/Makefile
46 --datadir=%{_datadir}/%{name}
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/{,fr}/man1}
54 DESTDIR=$RPM_BUILD_ROOT
56 install doc/hatari.1 $RPM_BUILD_ROOT%{_mandir}/man1/hatari.1
57 install doc/fr/hatari.1 $RPM_BUILD_ROOT%{_mandir}/fr/man1
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc readme.txt doc/*.txt python-ui/{Changelog,README,TODO}
65 %attr(755,root,root) %{_bindir}/*
67 %{_mandir}/man1/hatari.1*
68 %lang(fr) %{_mandir}/fr/man1/hatari.1*