]> git.pld-linux.org Git - packages/btanks-data.git/blob - btanks-data.spec
d47291e833522ee4f590cb056956293f09e45e79
[packages/btanks-data.git] / btanks-data.spec
1 # TODO:
2 # - pl description and summary
3 %define _name   btanks
4 Summary:        Fast 2d tank arcade game with multiplayer and split-screen modes
5 Name:           %{_name}-data
6 Version:        0.7.5800
7 Release:        1
8 License:        GPL v2
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}
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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?
23
24 And all is packed and ready for you in Battle Tanks.
25
26 This package contains Battle Tanks data files.
27
28 %prep
29 %setup -q -n %{_name}-%{version}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 install -d $RPM_BUILD_ROOT%{_datadir}/%{_name}
35 cp -r data $RPM_BUILD_ROOT%{_datadir}/%{_name}
36
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
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %dir %{_datadir}/%{_name}
47 %{_datadir}/%{_name}/*
This page took 0.063464 seconds and 3 git commands to generate.