SPECS: btanks.spec - up to 0.8.7656 - BR: smpeg-devel - BR: libvorbis-devel...
arvenil
arvenil at pld-linux.org
Sat Aug 16 15:22:09 CEST 2008
Author: arvenil Date: Sat Aug 16 13:22:09 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.8.7656
- BR: smpeg-devel
- BR: libvorbis-devel
- rm BR: OpenAL-devel
- rm BR: libsigc++-devel
---- Files affected:
SPECS:
btanks.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/btanks.spec
diff -u SPECS/btanks.spec:1.6 SPECS/btanks.spec:1.7
--- SPECS/btanks.spec:1.6 Sun Jan 6 11:46:28 2008
+++ SPECS/btanks.spec Sat Aug 16 15:22:03 2008
@@ -2,23 +2,23 @@
Summary: Fast 2D tank arcade game with multiplayer and split-screen modes
Summary(pl.UTF-8): Szybka gra zręcznościowa z czołgami, trybem dla wielu graczy i podzielonym ekranem
Name: btanks
-Version: 0.7.5800
+Version: 0.8.7656
Release: 1
License: GPL v2
Group: X11/Applications/Games
Source0: http://dl.sourceforge.net/btanks/%{name}-%{version}.tar.bz2
-# Source0-md5: 538eadf2b78897620f3ef683a4ea423a
+# Source0-md5: d815db9784ad6498c3c5d002e64106b3
Source1: %{name}.desktop
URL: http://btanks.sourceforge.net/blog/langswitch_lang/en
-BuildRequires: OpenAL-devel >= 0.0.8
BuildRequires: OpenGL-GLU-devel
BuildRequires: SDL_image-devel
BuildRequires: expat-devel
-BuildRequires: libsigc++-devel
+BuildRequires: libvorbis-devel
BuildRequires: lua51-devel
BuildRequires: pkgconfig
BuildRequires: sed >= 4.0
BuildRequires: scons
+BuildRequires: smpeg-devel
BuildRequires: zlib-devel
Requires: %{name}-data = %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -42,12 +42,13 @@
%prep
%setup -q
# Proper name for our lua
-sed -e 's/lua5.1/lua51/g' -i SConscript
-sed -e 's/-O3 //g' -i SConstruct
+sed -e 's/lua5.1/lua51/g' -i engine/SConscript
+sed -e 's/-O3 //g' -i engine/SConscript
%build
%scons \
- resources_dir=%{_libdir}/%{name} \
+ resources_dir=%{_datadir}/%{name} \
+ plugins_dir=%{_libdir}/%{name} \
lib_dir=%{_libdir}
%install
@@ -56,11 +57,14 @@
install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install bt $RPM_BUILD_ROOT%{_bindir}/%{name}
-install libbt.so libmrt.so libsdlx.so $RPM_BUILD_ROOT%{_libdir}
-install libbt_objects.so $RPM_BUILD_ROOT%{_libdir}/%{name}
-ln -sf %{_datadir}/%{name}/data $RPM_BUILD_ROOT%{_libdir}/%{name}/data
-install src/bt.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
+install build/release/engine/btanks $RPM_BUILD_ROOT%{_bindir}/%{name}
+install build/release/editor/bted $RPM_BUILD_ROOT%{_bindir}/bted
+install build/release/engine/libbt.so $RPM_BUILD_ROOT%{_libdir}
+install build/release/mrt/libmrt.so $RPM_BUILD_ROOT%{_libdir}
+install build/release/sdlx/libsdlx.so $RPM_BUILD_ROOT%{_libdir}
+install build/release/clunk/libclunk.so $RPM_BUILD_ROOT%{_libdir}
+install build/release/objects/libbt_objects.so $RPM_BUILD_ROOT%{_libdir}/%{name}
+install engine/src/bt.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
%clean
rm -rf $RPM_BUILD_ROOT
@@ -69,12 +73,13 @@
%defattr(644,root,root,755)
%doc ChangeLog README-*.txt
%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/bted
%attr(755,root,root) %{_libdir}/libbt.so
%attr(755,root,root) %{_libdir}/libmrt.so
%attr(755,root,root) %{_libdir}/libsdlx.so
+%attr(755,root,root) %{_libdir}/libclunk.so
%dir %{_libdir}/%{name}
%attr(755,root,root) %{_libdir}/%{name}/libbt_objects.so
-%{_libdir}/%{name}/data
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.xpm
@@ -84,6 +89,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2008/08/16 13:22:03 arvenil
+- up to 0.8.7656
+- BR: smpeg-devel
+- BR: libvorbis-devel
+- rm BR: OpenAL-devel
+- rm BR: libsigc++-devel
+
Revision 1.6 2008/01/06 10:46:28 qboosh
- symlink data from %{_libdir}, not the opposite
- dlopened module moved to pkglibdir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/btanks.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list