]> git.pld-linux.org Git - packages/OilWar.git/blob - OilWar.spec
45fcc6bc888ac5dc0faa3417e31b0ee750792058
[packages/OilWar.git] / OilWar.spec
1 Summary:        Very simple mouse shooting game
2 Summary(pl):    Bardzo prosta strzelanka
3 Name:           OilWar
4 Version:        1.1.0
5 Release:        2
6 License:        GPL v2
7 Group:          X11/Applications/Games
8 Source0:        http://www.2ndpoint.fi/projektit/filut/%{name}-%{version}.tar.gz
9 Source1:        %{name}.png
10 Source2:        %{name}.desktop
11 Patch0:         %{name}-am_remove_install-data-local.patch
12 Patch1:         %{name}-FHS.patch
13 URL:            http://www.2ndpoint.fi/projektit/oilwar.html
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  SDL_image-devel
17 BuildRequires:  SDL_mixer-devel
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
27 OilWar jest prost± gr± w której strzelasz do ¿o³nierzy i czo³gów 
28 nieprzyjaciela za pomoc± myszki. Armia wroga atakuje twoje terytorium
29 i stara siê ukra¶æ zasoby oleju. Twoja misja: zniszczyæ naje¼d¼ców,
30 chroniæ olej, chroniæ ojczyznê...
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 CXXFLAGS="%{rpmcflags} -fno-rtti"
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,%{_pixmapsdir}}
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc ChangeLog README AUTHORS
61 %attr(2755,root,games) %{_bindir}/*
62 %{_datadir}/games/oilwar
63 %{_applnkdir}/Games/Arcade/*.desktop
64 %{_pixmapsdir}/*.png
65 %attr(664,root,games) %verify(not size mtime md5) %{_localstatedir}/games/*.scores
This page took 0.06009 seconds and 2 git commands to generate.