Author: arvenil                      Date: Sat Apr  5 23:00:18 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.4.2
- workaround for no possibility to pass location of data files,
  removed not needed anymore script
- binaries moved away from datadir (never ever put binaries in datadir)
- adapter, more TODO, cleanup

---- Files affected:
SPECS:
   teewars.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/teewars.spec
diff -u SPECS/teewars.spec:1.9 SPECS/teewars.spec:1.10
--- SPECS/teewars.spec:1.9      Sat Apr  5 16:51:54 2008
+++ SPECS/teewars.spec  Sun Apr  6 01:00:12 2008
@@ -1,26 +1,26 @@
 # $Revision$, $Date$
 #
 # TODO:
-# rename to teeworlds.spec on CVS
-Name:          teeworlds
-Summary:       Cute little buggers with guns.
+# - rename to teeworlds.spec on CVS
+# - exclude bam to separate spec file and BR it
+Summary:       Cute little buggers with guns
 Summary(pl.UTF-8):     Takie fajne robaczki z gnatami.
-Version:       0.4.1
+Name:          teeworlds
+Version:       0.4.2
 Release:       1
-Group:         X11/Applications/Games
 License:       distributable
+Group:         X11/Applications/Games
 Source0:       http://www.teeworlds.com/files/%{name}-%{version}-src.tar.gz
-# Source0-md5: d2977b5f46a83043b6e748999de7d5b8
+# Source0-md5: 97f1833ea94015b472a0f828003693b8
 Source1:       http://www.teeworlds.com/files/beta/bam.zip
 # Source1-md5: dd1937ce711927299a1b09edffa319ca
 Source2:       teewars.png
 Source3:       teewars.desktop
 #Source4:      %{name}_srv.desktop
-Source4:       teewars.sh
 URL:           http://www.teeworlds.com/
-BuildRequires: alsa-lib-devel
-BuildRequires: OpenGL-devel
 BuildRequires: OpenGL-GLU-devel
+BuildRequires: OpenGL-devel
+BuildRequires: alsa-lib-devel
 BuildRequires: python
 BuildRequires: unzip
 BuildRequires: xorg-lib-libX11-devel
@@ -28,16 +28,21 @@
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Cute little buggers with guns.
-CTF,DM network game.
+Cute little buggers with guns. CTF, DM network game.
 
 %description -l pl.UTF-8
-Takie fajne robaczki z gnatami. Czyli:
-Gra sieciowa typu CTF,DM.
+Takie fajne robaczki z gnatami. Gra sieciowa typu CTF, DM.
 
 %prep
 %setup -q -a1 -n %{name}-%{version}-src
-#%patch0 -p0
+# Workaround for no possibility to pass location of data files
+%{__sed} -i 's|"data/|"%{_datadir}/%{name}/data/|g' \
+       datasrc/data.ds \
+       src/game/client/{gc_map_image.cpp,gc_hooks.cpp,gc_skin.cpp} \
+       src/game/editor/ed_editor.cpp \
+       src/engine/e_map.c \
+       src/engine/client/ec_client.c \
+       src/engine/server/es_server.c
 
 %build
 cd bam
@@ -51,8 +56,7 @@
 
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
-install %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/%{name}.sh
-install %{name} %{name}_srv $RPM_BUILD_ROOT%{_datadir}/%{name}/
+install %{name} %{name}_srv $RPM_BUILD_ROOT%{_bindir}
 cp -rf data $RPM_BUILD_ROOT%{_datadir}/%{name}/
 
 %clean
@@ -61,11 +65,11 @@
 %files
 %defattr(644,root,root,755)
 %doc readme.txt license.txt
-%attr(755,root,root) %{_bindir}/%{name}.sh
-%attr(755,root,root) %{_datadir}/%{name}/%{name}*
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}_srv
 %{_datadir}/%{name}
-%{_pixmapsdir}/*.png
-%{_desktopdir}/*.desktop
+%{_pixmapsdir}/%{name}.png
+%{_desktopdir}/%{name}.desktop
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -73,11 +77,18 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2008-04-05 23:00:12  arvenil
+- up to 0.4.2
+- workaround for no possibility to pass location of data files,
+  removed not needed anymore script
+- binaries moved away from datadir (never ever put binaries in datadir)
+- adapter, more TODO, cleanup
+
 Revision 1.9  2008-04-05 14:51:54  cactus
 - small fix with files from old project name
 
 Revision 1.8  2008-04-05 14:14:28  cactus
-- project name changed to teewarlds
+- project name changed to teeworlds
 - no patch but .sh file more silmple too update
 - up to 0.4.1 - lots of bug fixes
 
@@ -104,4 +115,3 @@
 
 Revision 1.1  2008-01-16 20:07:15  cactus
 - initial spec
-
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/teewars.spec?r1=1.9&r2=1.10&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to