]> git.pld-linux.org Git - packages/hatari.git/blob - hatari.spec
- epoch for python R
[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 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:  xorg-lib-libX11-devel
20 BuildRequires:  zlib-devel
21 Requires:       python >= 1:2.4
22 Requires:       python-pygtk-gtk >= 2.8
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Hatari is an Atari ST and STE emulator for Linux and other systems
27 that are supported by the SDL library. Hatari supports the emulation
28 of most of the ST and STE hardware.
29
30 %description -l pl.UTF-8
31 Hatari jest emulatorem Atari ST i STE dla Linuksa i innych systemów
32 obsługiwanych przez bibliotekę SDL. Hatari emuluje większość sprzętu
33 Atari ST i STE.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39
40 %build
41 %{__aclocal}
42 %{__autoconf}
43 %configure \
44         --datadir=%{_datadir}/%{name}
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/{,fr}/man1}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 install doc/hatari.1    $RPM_BUILD_ROOT%{_mandir}/man1/hatari.1
55 install doc/fr/hatari.1 $RPM_BUILD_ROOT%{_mandir}/fr/man1
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc readme.txt doc/*.txt
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/%{name}
65 %{_mandir}/man1/hatari.1*
66 %lang(fr) %{_mandir}/fr/man1/hatari.1*
This page took 0.039726 seconds and 4 git commands to generate.