SPECS: btanks-data.spec - up to 0.8.7656 - BR: zip - shorter URL

arvenil arvenil at pld-linux.org
Sat Aug 16 15:23:38 CEST 2008


Author: arvenil                      Date: Sat Aug 16 13:23:38 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.8.7656
- BR: zip
- shorter URL

---- Files affected:
SPECS:
   btanks-data.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/btanks-data.spec
diff -u SPECS/btanks-data.spec:1.2 SPECS/btanks-data.spec:1.3
--- SPECS/btanks-data.spec:1.2	Sun Jan  6 11:43:00 2008
+++ SPECS/btanks-data.spec	Sat Aug 16 15:23:33 2008
@@ -3,14 +3,15 @@
 Summary:	Data for Battle Tanks arcade game with multiplayer and split-screen modes
 Summary(pl.UTF-8):	Dane do gry zręcznościowej Battle Tanks z trybem dla wielu graczy
 Name:		%{_name}-data
-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
-URL:		http://btanks.sourceforge.net/blog/langswitch_lang/en
+# Source0-md5:	d815db9784ad6498c3c5d002e64106b3
+URL:		http://btanks.sourceforge.net/blog/
 Requires:	%{_name} = %{version}
+BuildRequires:	zip
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,13 +34,14 @@
 Ten pakiet zawiera pliki z danymi dla Battle Tanks.
 
 %prep
-%setup -q -n %{_name}-%{version}
+%setup -q -n %{_name}-%{version}/data
+zip -q -0 -r resources.dat .
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_datadir}/%{_name}
-cp -r data $RPM_BUILD_ROOT%{_datadir}/%{_name}
+install resources.dat $RPM_BUILD_ROOT%{_datadir}/%{_name}/resources.dat
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,7 +49,7 @@
 %files
 %defattr(644,root,root,755)
 %dir %{_datadir}/%{_name}
-%{_datadir}/%{_name}/data
+%{_datadir}/%{_name}/resources.dat
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -55,6 +57,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/08/16 13:23:33  arvenil
+- up to 0.8.7656
+- BR: zip
+- shorter URL
+
 Revision 1.2  2008/01/06 10:43:00  qboosh
 - pl
 - arch-dependent symlinks are not allowed in /usr/share nor noarch packages
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/btanks-data.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list