2 # - pl description and summary
4 Summary: Fast 2d tank arcade game with multiplayer and split-screen modes
9 Group: X11/Applications/Games
10 Source0: http://dl.sourceforge.net/btanks/%{_name}-%{version}.tar.bz2
11 # Source0-md5: 538eadf2b78897620f3ef683a4ea423a
12 URL: http://btanks.sourceforge.net/blog/langswitch_lang/en
13 Requires: %{_name} = %{version}
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Battle Tanks is a funny battle on your desk, where you can choose one
19 of three vehicles and eliminate your enemy using the whole arsenal of
20 weapons. It has original cartoon-like graphics and cool music, it is
21 fun and dynamic, it has several network modes for deathmatch and
22 cooperative - what else is needed to have fun with your friends?
24 And all is packed and ready for you in Battle Tanks.
26 This package contains Battle Tanks data files.
29 %setup -q -n %{_name}-%{version}
32 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_datadir}/%{_name}
35 cp -r data $RPM_BUILD_ROOT%{_datadir}/%{_name}
37 # Game is looking for those libs in the datadir folder
38 ln -s %{_libdir}/libbt_objects.so $RPM_BUILD_ROOT%{_datadir}/%{_name}/libbt_objects.so
39 ln -s %{_libdir}/libbt.so $RPM_BUILD_ROOT%{_datadir}/%{_name}/libbt.so
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %dir %{_datadir}/%{_name}
47 %{_datadir}/%{_name}/*