]>
Commit | Line | Data |
---|---|---|
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.2.0 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: Applications/Emulators | |
8 | Source0: http://dl.sourceforge.net/hatari/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 4aecd42784fae8c5e8c9a9a341146fbb | |
10 | Patch0: %{name}-useless_files.patch | |
11 | URL: http://hatari.sourceforge.net/ | |
12 | BuildRequires: SDL-devel | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: pkgconfig | |
16 | BuildRequires: xorg-lib-libX11-devel | |
17 | BuildRequires: zlib-devel | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Hatari is an Atari ST and STE emulator for Linux and other systems | |
22 | that are supported by the SDL library. Hatari supports the emulation | |
23 | of most of the ST and STE hardware. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Hatari jest emulatorem Atari ST i STE dla Linuksa i innych systemów | |
27 | obsługiwanych przez bibliotekę SDL. Hatari emuluje większość sprzętu | |
28 | Atari ST i STE. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | %patch0 -p1 | |
33 | ||
34 | %build | |
35 | %{__aclocal} | |
36 | %{__autoconf} | |
37 | %configure \ | |
38 | --datadir=%{_datadir}/%{name} | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/{,fr}/man1} | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | install doc/hatari.1 $RPM_BUILD_ROOT%{_mandir}/man1/hatari.1 | |
49 | install doc/fr/hatari.1 $RPM_BUILD_ROOT%{_mandir}/fr/man1 | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc readme.txt doc/*.txt | |
57 | %attr(755,root,root) %{_bindir}/* | |
58 | %{_datadir}/%{name} | |
59 | %{_mandir}/man1/hatari.1* | |
60 | %lang(fr) %{_mandir}/fr/man1/hatari.1* |