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