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