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: 2f30e5c9e146ee92e3f2f5ae1cef3673
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: cmake >= 2.6
16 BuildRequires: libpng-devel
17 BuildRequires: pkgconfig
18 BuildRequires: readline-devel
19 BuildRequires: rpmbuild(macros) >= 1.577
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ść sprzętu
47 -DBUILD_SHARED_LIBS:BOOL=OFF \
48 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG"
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/{,fr}/man1}
56 %{__make} -C build install \
57 DESTDIR=$RPM_BUILD_ROOT
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/{README,TODO}
67 %attr(755,root,root) %{_bindir}/atari-hd-image.sh
68 %attr(755,root,root) %{_bindir}/hatari
69 %attr(755,root,root) %{_bindir}/hatari-console.py
70 %attr(755,root,root) %{_bindir}/hatariui
71 %attr(755,root,root) %{_bindir}/hmsa
72 %attr(755,root,root) %{_bindir}/zip2st.sh
74 %{_mandir}/man1/hatariui.1*
75 %lang(fr) %{_mandir}/fr/man1/hatari.1*
76 %{_desktopdir}/hatariui.desktop
77 %{_iconsdir}/hicolor/32x32/apps/hatari-icon.png