]> git.pld-linux.org Git - packages/OilWar.git/blob - OilWar.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/OilWar.git] / OilWar.spec
1 Summary:        Very simple mouse shooting game
2 Summary(pl.UTF-8):      Bardzo prosta strzelanka
3 Name:           OilWar
4 Version:        1.2.1
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Games
8 Source0:        http://www.2ndpoint.fi/projektit/filut/%{name}-%{version}.tar.gz
9 # Source0-md5:  6286e7f5a5f4f8ce6489a996b188caa2
10 Source1:        %{name}.png
11 Source2:        %{name}.desktop
12 Patch0:         %{name}-am_remove_install-data-local.patch
13 URL:            http://www.2ndpoint.fi/projektit/oilwar.html
14 BuildRequires:  SDL_image-devel
15 BuildRequires:  SDL_mixer-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 OilWar is a simple game where you shoot enemy soldiers and tanks with
22 your mouse. The evil army is attacking your land and tries to steal
23 your oil. Your mission: waste the invaders, protect the oil, protect
24 the mother land...
25
26 %description -l pl.UTF-8
27 OilWar jest prostą grą w której strzela się do żołnierzy i czołgów
28 nieprzyjaciela za pomocą myszki. Armia wroga atakuje terytorium gracza
29 i stara się ukraść zasoby oleju. Misja: zniszczyć najeźdźców, chronić
30 olej, chronić ojczyznę...
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %{__aclocal}
38 %{__autoconf}
39 %{__automake}
40 CXXFLAGS="%{rpmcflags} -fno-rtti"
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%{_pixmapsdir}
52 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc ChangeLog README AUTHORS
60 %attr(2755,root,games) %{_bindir}/*
61 %{_datadir}/games/oilwar
62 %{_desktopdir}/*.desktop
63 %{_pixmapsdir}/*.png
64 %attr(664,root,games) %verify(not md5 mtime size) %{_localstatedir}/games/*.scores
This page took 0.061197 seconds and 3 git commands to generate.