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