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