Summary: Football Manager
-Summary(pl): Menad¿er Pi³karski
+Summary(pl.UTF-8): Menadżer Piłkarski
Name: fm
Version: 0.99
-Release: 1
+Release: 3
License: GPL
Group: X11/Applications/Games
Source0: http://www.autismuk.freeserve.co.uk/%{name}-%{version}.tar.gz
Source2: %{name}.png
Patch0: %{name}-configure.patch
Patch1: %{name}-DESTDIR.patch
-URL: http://freshmeat.net/projects/footballmanager/
+URL: http://www.autismuk.freeserve.co.uk/
BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: autoconf
+BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
complicated or prettiest game in the world, but it is one of the most
fun.
-%description -l pl
-Mened¿er Pi³karski jest przepisan± od podstaw s³awn± gr± Sinclair
+%description -l pl.UTF-8
+Menedżer Piłkarski jest przepisaną od podstaw sławną grą Sinclair
Spectrum Football Management autorstwa Kevina Tomsa. Nie jest ona
-najbardziej skomplikowan± ani najpiêkniejsz± gr± na ¶wiecie, ale jest
-jedn± z najbardziej grywalnych.
+najbardziej skomplikowaną ani najpiękniejszą grą na świecie, ale jest
+jedną z najbardziej grywalnych.
%prep
%setup -q
%patch1 -p1
%build
-rm -f missing
%{__aclocal}
%{__autoconf}
%{__automake}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
%clean
%doc AUTHORS README TODO
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
-%{_applnkdir}/Games/*
+%{_desktopdir}/*.desktop
%{_pixmapsdir}/*