]> git.pld-linux.org Git - packages/btanks-data.git/blame - btanks-data.spec
- data files as noarch
[packages/btanks-data.git] / btanks-data.spec
CommitLineData
af721f32 1# TODO:
2# - pl description and summary
3%define _name btanks
4Summary: Fast 2d tank arcade game with multiplayer and split-screen modes
5Name: %{_name}-data
6Version: 0.7.5800
7Release: 1
8License: GPL v2
9Group: X11/Applications/Games
10Source0: http://dl.sourceforge.net/btanks/%{_name}-%{version}.tar.bz2
11# Source0-md5: 538eadf2b78897620f3ef683a4ea423a
12URL: http://btanks.sourceforge.net/blog/langswitch_lang/en
13Requires: %{_name} = %{version}
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Battle Tanks is a funny battle on your desk, where you can choose one
19of three vehicles and eliminate your enemy using the whole arsenal of
20weapons. It has original cartoon-like graphics and cool music, it is
21fun and dynamic, it has several network modes for deathmatch and
22cooperative - what else is needed to have fun with your friends?
23
24And all is packed and ready for you in Battle Tanks.
25
26This package contains Battle Tanks data files.
27
28%prep
29%setup -q -n %{_name}-%{version}
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
34install -d $RPM_BUILD_ROOT%{_datadir}/%{_name}
35cp -r data $RPM_BUILD_ROOT%{_datadir}/%{_name}
36
37# Game is looking for those libs in the datadir folder
38ln -s %{_libdir}/libbt_objects.so $RPM_BUILD_ROOT%{_datadir}/%{_name}/libbt_objects.so
39ln -s %{_libdir}/libbt.so $RPM_BUILD_ROOT%{_datadir}/%{_name}/libbt.so
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%dir %{_datadir}/%{_name}
47%{_datadir}/%{_name}/*
This page took 0.031099 seconds and 4 git commands to generate.