]> git.pld-linux.org Git - packages/fm.git/blob - fm.spec
- BR: ac,am
[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 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Football Manager is a rewrite from scratch of Kevin Toms' famous
22 Sinclair Spectrum Football Management game. It is not the most
23 complicated or prettiest game in the world, but it is one of the most
24 fun.
25
26 %description -l pl
27 Mened¿er Pi³karski jest przepisan± od podstaw s³awn± gr± Sinclair
28 Spectrum Football Management autorstwa Kevina Tomsa. Nie jest ona
29 najbardziej skomplikowan± ani najpiêkniejsz± gr± na ¶wiecie, ale jest
30 jedn± z najbardziej grywalnych.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 rm -f missing
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc AUTHORS README TODO
61 %attr(755,root,root) %{_bindir}/*
62 %{_datadir}/%{name}
63 %{_applnkdir}/Games/*
64 %{_pixmapsdir}/*
This page took 0.266378 seconds and 3 git commands to generate.