]> git.pld-linux.org Git - packages/fm.git/blob - fm.spec
- added icon
[packages/fm.git] / fm.spec
1 Summary:        Football Manager
2 Summary(pl):    Menad¿er Pi³karski
3 Name:           fm
4 Version:        0.98
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://www.autismuk.freeserve.co.uk/%{name}-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
11 Patch0:         %{name}-configure.patch
12 Patch1:         %{name}-DESTDIR.patch
13 URL:            http://freshmeat.net/projects/footballmanager/
14 Buildrequires:  allegro-devel
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 DESTDIR=$RPM_BUILD_ROOT
48
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
50 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc AUTHORS README TODO
58 %attr(755,root,root) %{_bindir}/*
59 %{_datadir}/%{name}
60 %{_applnkdir}/Games/*
61 %{_pixmapsdir}/*
This page took 0.766286 seconds and 4 git commands to generate.