]> git.pld-linux.org Git - packages/btanks.git/blame - btanks.spec
- pl, .so perms
[packages/btanks.git] / btanks.spec
CommitLineData
24b407c8
JB
1Summary: Fast 2D tank arcade game with multiplayer and split-screen modes
2Summary(pl.UTF-8): Szybka gra zręcznościowa z czołgami, trybem dla wielu graczy i podzielonym ekranem
52c0907d 3Name: btanks
4Version: 0.7.5800
5Release: 1
6License: GPL v2
7Group: X11/Applications/Games
8Source0: http://dl.sourceforge.net/btanks/%{name}-%{version}.tar.bz2
9# Source0-md5: 538eadf2b78897620f3ef683a4ea423a
10Source1: %{name}.desktop
11URL: http://btanks.sourceforge.net/blog/langswitch_lang/en
d29aca30 12BuildRequires: OpenAL-devel >= 0.0.8
52c0907d 13BuildRequires: OpenGL-GLU-devel
14BuildRequires: SDL_image-devel
15BuildRequires: expat-devel
16BuildRequires: libsigc++-devel
17BuildRequires: lua51-devel
18BuildRequires: pkgconfig
24b407c8 19BuildRequires: sed >= 4.0
52c0907d 20BuildRequires: scons
21BuildRequires: zlib-devel
e0f3eabd 22Requires: %{name}-data = %{version}
52c0907d 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Battle Tanks is a funny battle on your desk, where you can choose one
27of three vehicles and eliminate your enemy using the whole arsenal of
28weapons. It has original cartoon-like graphics and cool music, it is
29fun and dynamic, it has several network modes for deathmatch and
30cooperative - what else is needed to have fun with your friends?
31
32And all is packed and ready for you in Battle Tanks.
33
24b407c8
JB
34%description -l pl.UTF-8
35Battle Tanks to zabawna gra, w której można wybrać jeden z trzech
36pojazdów i eliminować wrogów przy użyciu całego arsenału broni. Ma
37oryginalną grafikę w stylu kreskówek i świetną muzykę; jest zabawna i
38dynamiczna, ma kilka trybów sieciowych, pozwalających na grę przeciwko
39wszystkim oraz współpracę - cóż więcej potrzeba do zabawy z kolegami?
40
52c0907d 41%prep
42%setup -q
43# Proper name for our lua
44sed -e 's/lua5.1/lua51/g' -i SConscript
11a046cb 45sed -e 's/-O3 //g' -i SConstruct
52c0907d 46
47%build
48%scons \
11a046cb
TP
49 resources_dir=%{_datadir}/%{name} \
50 lib_dir=%{_libdir}
52c0907d 51
52%install
53rm -rf $RPM_BUILD_ROOT
54
e0f3eabd 55install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_desktopdir},%{_pixmapsdir}}
52c0907d 56
57install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58install bt $RPM_BUILD_ROOT%{_bindir}/%{name}
59install *.so $RPM_BUILD_ROOT%{_libdir}
60install src/bt.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
52c0907d 61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
11a046cb 67%doc ChangeLog README-*.txt
52c0907d 68%attr(755,root,root) %{_bindir}/%{name}
24b407c8 69%attr(755,root,root) %{_libdir}/*.so
52c0907d 70%{_desktopdir}/%{name}.desktop
71%{_pixmapsdir}/%{name}.xpm
This page took 0.063646 seconds and 4 git commands to generate.