]> git.pld-linux.org Git - packages/hatari.git/blob - hatari.spec
- use lang()
[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.0.1
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Emulators
8 Source0:        http://dl.sourceforge.net/hatari/%{name}-%{version}.tar.gz
9 # Source0-md5:  6108a0a69344765f250f25aec423994d
10 Patch0:         %{name}-useless_files.patch
11 URL:            http://hatari.sourceforge.net/
12 BuildRequires:  SDL-devel
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  zlib-devel
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
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
26 Atari ST i STE.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31
32 %build
33 %{__aclocal}
34 %{__autoconf}
35 %configure \
36         --datadir=%{_datadir}/%{name}
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/{,fr}/man1}
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 install doc/hatari.1    $RPM_BUILD_ROOT%{_mandir}/man1/hatari.1
47 install doc/fr/hatari.1 $RPM_BUILD_ROOT%{_mandir}/fr/man1
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc readme.txt doc/*.txt
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/%{name}
57 %{_mandir}/man1/hatari.1*
58 %lang(fr) %{_mandir}/fr/man1/hatari.1*
This page took 0.067069 seconds and 4 git commands to generate.