]> git.pld-linux.org Git - packages/btanks.git/blame - btanks.spec
- updated to 0.9.8083
[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
e254177f 4Version: 0.9.8083
52c0907d 5Release: 1
e254177f 6License: GPL v2+
52c0907d 7Group: X11/Applications/Games
e254177f 8Source0: http://downloads.sourceforge.net/btanks/%{name}-%{version}.tar.bz2
9# Source0-md5: 49cb95c0eec47d3436c4fdf65e7c9d12
52c0907d 10Source1: %{name}.desktop
f1c440ea 11URL: http://btanks.sourceforge.net/blog/
52c0907d 12BuildRequires: OpenGL-GLU-devel
13BuildRequires: SDL_image-devel
14BuildRequires: expat-devel
d6dd0ff0 15BuildRequires: libvorbis-devel
52c0907d 16BuildRequires: lua51-devel
17BuildRequires: pkgconfig
18BuildRequires: scons
c87fe92b 19BuildRequires: sed >= 4.0
d6dd0ff0 20BuildRequires: smpeg-devel
52c0907d 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
e254177f 44%{__sed} -e 's/lua5.1/lua51/g' -i engine/SConscript
52c0907d 45
46%build
e254177f 47export CXXFLAGS="%{rpmcxxflags} -I/usr/include/SDL"
48export CCFLAGS="%{rpmcflags}"
49export CXX="%{__cxx}"
50export CC="%{__cc}"
52c0907d 51%scons \
d6dd0ff0 52 resources_dir=%{_datadir}/%{name} \
53 plugins_dir=%{_libdir}/%{name} \
11a046cb 54 lib_dir=%{_libdir}
52c0907d 55
56%install
57rm -rf $RPM_BUILD_ROOT
58
fc586590 59install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
52c0907d 60
e254177f 61cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
62cp -a build/release/engine/btanks $RPM_BUILD_ROOT%{_bindir}/%{name}
63cp -a build/release/editor/bted $RPM_BUILD_ROOT%{_bindir}/bted
64cp -a build/release/engine/libbtanks_engine.so $RPM_BUILD_ROOT%{_libdir}
65cp -a build/release/mrt/libmrt.so $RPM_BUILD_ROOT%{_libdir}
66cp -a build/release/sdlx/libsdlx.so $RPM_BUILD_ROOT%{_libdir}
67cp -a build/release/clunk/libclunk.so $RPM_BUILD_ROOT%{_libdir}
68cp -a build/release/objects/libbt_objects.so $RPM_BUILD_ROOT%{_libdir}/%{name}
69cp -a engine/src/bt.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
52c0907d 70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
11a046cb 76%doc ChangeLog README-*.txt
52c0907d 77%attr(755,root,root) %{_bindir}/%{name}
d6dd0ff0 78%attr(755,root,root) %{_bindir}/bted
e254177f 79%attr(755,root,root) %{_libdir}/libbtanks_engine.so
fc586590
JB
80%attr(755,root,root) %{_libdir}/libmrt.so
81%attr(755,root,root) %{_libdir}/libsdlx.so
d6dd0ff0 82%attr(755,root,root) %{_libdir}/libclunk.so
fc586590
JB
83%dir %{_libdir}/%{name}
84%attr(755,root,root) %{_libdir}/%{name}/libbt_objects.so
52c0907d 85%{_desktopdir}/%{name}.desktop
86%{_pixmapsdir}/%{name}.xpm
This page took 0.092994 seconds and 4 git commands to generate.