]> git.pld-linux.org Git - packages/fm.git/blob - fm.spec
53afe1c808c349d768c0cd72cf0410aa0832cb3c
[packages/fm.git] / fm.spec
1 Summary:        Football Manager
2 Summary(pl):    Menad¿er Pi³karski
3 Name:           fm
4 Version:        0.99
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://www.autismuk.freeserve.co.uk/%{name}-%{version}.tar.gz
9 # Source0-md5:  9863cf5f9de638748a8fc4bcdb5cddbf
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Patch0:         %{name}-configure.patch
13 Patch1:         %{name}-DESTDIR.patch
14 URL:            http://freshmeat.net/projects/footballmanager/
15 BuildRequires:  SDL-devel >= 1.2.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Football Manager is a rewrite from scratch of Kevin Toms' famous
20 Sinclair Spectrum Football Management game. It is not the most
21 complicated or prettiest game in the world, but it is one of the most
22 fun.
23
24 %description -l pl
25 Mened¿er Pi³karski jest przepisan± od podstaw s³awn± gr± Sinclair
26 Spectrum Football Management autorstwa Kevina Tomsa. Nie jest ona
27 najbardziej skomplikowan± ani najpiêkniejsz± gr± na ¶wiecie, ale jest
28 jedn± z najbardziej grywalnych.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34
35 %build
36 rm -f missing
37 %{__aclocal}
38 %{__autoconf}
39 %{__automake}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
51 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS README TODO
59 %attr(755,root,root) %{_bindir}/*
60 %{_datadir}/%{name}
61 %{_applnkdir}/Games/*
62 %{_pixmapsdir}/*
This page took 0.092062 seconds and 2 git commands to generate.