]> git.pld-linux.org Git - packages/OilWar.git/blob - OilWar.spec
- From: Łukasz Jernaś <deejay1@nsj.srem.pl>:
[packages/OilWar.git] / OilWar.spec
1 Summary:        Very simple mouse shooting game
2 Summary(pl):    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 Source1:        %{name}.png
10 Source2:        %{name}.desktop
11 Patch0:         %{name}-am_remove_install-data-local.patch
12 URL:            http://www.2ndpoint.fi/projektit/oilwar.html
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  SDL_image-devel
16 BuildRequires:  SDL_mixer-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 OilWar is a simple game where you shoot enemy soldiers and tanks with
21 your mouse. The evil army is attacking your land and tries to steal
22 your oil. Your mission: waste the invaders, protect the oil, protect
23 the mother land...
24
25 %description -l pl
26 OilWar jest prost± gr± w której strzelasz do ¿o³nierzy i czo³gów 
27 nieprzyjaciela za pomoc± myszki. Armia wroga atakuje twoje terytorium
28 i stara siê ukra¶æ zasoby oleju. Twoja misja: zniszczyæ naje¼d¼ców,
29 chroniæ olej, chroniæ ojczyznê...
30
31 %prep
32 %setup  -q
33 %patch0 -p1
34
35 %build
36 rm -f missing
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{%{_datadir}/applications,%{_pixmapsdir}}
47
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
51 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc ChangeLog README AUTHORS
59 %attr(2755,root,games) %{_bindir}/*
60 %{_datadir}/games/oilwar
61 %{_datadir}/applications/*.desktop
62 %{_pixmapsdir}/*.png
63 %attr(664,root,games) %verify(not size mtime md5) %{_localstatedir}/games/*.scores
This page took 0.064501 seconds and 3 git commands to generate.