]> git.pld-linux.org Git - packages/OilWar.git/blame - OilWar.spec
d865a786a5e1b1ec18bade247840c70a OilWar-1.1.0.tar.gz
[packages/OilWar.git] / OilWar.spec
CommitLineData
c1907632
AG
1Summary: Very simple mouse shooting game.
2Name: OilWar
3Version: 1.1.0
4Release: 1
5License: GPL v2
6Group: X11/Applications/Games
7Source0: http://www.2ndpoint.fi/projektit/filut/%{name}-%{version}.tar.gz
8Source1: %{name}.png
9Source2: %{name}.desktop
10URL: http://www.2ndpoint.fi/projektit/oilwar.html
11BuildRequires: SDL-devel >= 1.2.0
12BuildRequires: SDL_image-devel
13BuildRequires: SDL_mixer-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17OilWar is a simple game where you shoot enemy soldiers and tanks with
18your mouse. The evil army is attacking your land and tries to steal
19your oil. Your mission: waste the invaders, protect the oil, protect
20the mother land...
21
22%prep
23%setup -q -n %{name}-%{version}
24
25%build
26rm -f missing
27%configure2_13
28%{__make}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,%{_pixmapsdir}}
34
35%{__make} install DESTDIR=$RPM_BUILD_ROOT
36
37install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
38install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43
44%files
45%defattr(644,root,root,755)
46%doc ChangeLog README AUTHORS
47%attr(755,root,root) %{_bindir}/*
48%{_datadir}/games/oilwar/*
49%attr(666,root,root) %{_localstatedir}/lib/games/*.scores
50%{_applnkdir}/Games/Arcade/*.desktop
51%{_pixmapsdir}/*.png
This page took 0.046976 seconds and 4 git commands to generate.