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 Patch2: %{name}-python_init.patch
13 Patch3: %{name}-desktop.patch
14 URL: http://hatari.sourceforge.net/
15 BuildRequires: SDL-devel >= 1.2.0
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: libpng-devel
19 BuildRequires: pkgconfig
20 BuildRequires: readline-devel
21 BuildRequires: sed >= 4.0
22 BuildRequires: xorg-lib-libX11-devel
23 BuildRequires: zlib-devel
24 Requires: python >= 1:2.4
25 Requires: python-pygtk-gtk >= 2.8
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Hatari is an Atari ST and STE emulator for Linux and other systems
30 that are supported by the SDL library. Hatari supports the emulation
31 of most of the ST and STE hardware.
33 %description -l pl.UTF-8
34 Hatari jest emulatorem Atari ST i STE dla Linuksa i innych systemów
35 obsługiwanych przez bibliotekę SDL. Hatari emuluje większość
36 sprzętu Atari ST i STE.
44 %{__sed} -i 's#path=$(DATAPATH)#path=%{_datadir}/hatari/hatariui#' python-ui/Makefile
50 --datadir=%{_datadir}/%{name}
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/{,fr}/man1}
58 DESTDIR=$RPM_BUILD_ROOT
60 install doc/hatari.1 $RPM_BUILD_ROOT%{_mandir}/man1/hatari.1
61 install doc/fr/hatari.1 $RPM_BUILD_ROOT%{_mandir}/fr/man1
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc readme.txt doc/*.txt python-ui/{Changelog,README,TODO}
69 %attr(755,root,root) %{_bindir}/*
71 %{_mandir}/man1/hatari.1*
72 %lang(fr) %{_mandir}/fr/man1/hatari.1*
73 %{_desktopdir}/hatariui.desktop
74 %{_iconsdir}/hicolor/32x32/apps/hatari-icon.png