]> git.pld-linux.org Git - packages/fm.git/blob - fm.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/fm.git] / fm.spec
1 Summary:        Football Manager
2 Summary(pl.UTF-8):      Menadżer Piłkarski
3 Name:           fm
4 Version:        0.99
5 Release:        3
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://www.autismuk.freeserve.co.uk/
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.UTF-8
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 %{__aclocal}
39 %{__autoconf}
40 %{__automake}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
52 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS README TODO
60 %attr(755,root,root) %{_bindir}/*
61 %{_datadir}/%{name}
62 %{_desktopdir}/*.desktop
63 %{_pixmapsdir}/*
This page took 0.091355 seconds and 3 git commands to generate.