]> git.pld-linux.org Git - packages/hatari.git/blob - hatari.spec
- icon, desktop
[packages/hatari.git] / hatari.spec
1 Summary:        hatari - an Atari ST and STE emulator for Linux
2 Summary(pl.UTF-8):      hatari - emulator Atari ST i STE dla Linuksa
3 Name:           hatari
4 Version:        1.3.0
5 Release:        1
6 License:        GPL v2+
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)
27
28 %description
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.
32
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.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42 %patch2 -p1
43 %patch3 -p1
44 %{__sed} -i 's#path=$(DATAPATH)#path=%{_datadir}/hatari/hatariui#' python-ui/Makefile
45
46 %build
47 %{__aclocal}
48 %{__autoconf}
49 %configure \
50         --datadir=%{_datadir}/%{name}
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/{,fr}/man1}
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 install doc/hatari.1    $RPM_BUILD_ROOT%{_mandir}/man1/hatari.1
61 install doc/fr/hatari.1 $RPM_BUILD_ROOT%{_mandir}/fr/man1
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc readme.txt doc/*.txt python-ui/{Changelog,README,TODO}
69 %attr(755,root,root) %{_bindir}/*
70 %{_datadir}/%{name}
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
This page took 0.058736 seconds and 4 git commands to generate.