SPECS: btanks-data.spec - pl - arch-dependent symlinks are not all...

qboosh qboosh at pld-linux.org
Sun Jan 6 11:43:05 CET 2008


Author: qboosh                       Date: Sun Jan  6 10:43:05 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl
- arch-dependent symlinks are not allowed in /usr/share nor noarch packages

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

---- Diffs:

================================================================
Index: SPECS/btanks-data.spec
diff -u SPECS/btanks-data.spec:1.1 SPECS/btanks-data.spec:1.2
--- SPECS/btanks-data.spec:1.1	Tue Jan  1 17:47:01 2008
+++ SPECS/btanks-data.spec	Sun Jan  6 11:43:00 2008
@@ -1,8 +1,7 @@
 # $Revision$, $Date$
-# TODO:
-# - pl description and summary
 %define _name	btanks
-Summary:	Fast 2d tank arcade game with multiplayer and split-screen modes
+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
 Release:	1
@@ -22,10 +21,17 @@
 fun and dynamic, it has several network modes for deathmatch and
 cooperative - what else is needed to have fun with your friends?
 
-And all is packed and ready for you in Battle Tanks.
-
 This package contains Battle Tanks data files.
 
+%description -l pl.UTF-8
+Battle Tanks to zabawna gra, w której można wybrać jeden z trzech
+pojazdów i eliminować wrogów przy użyciu całego arsenału broni. Ma
+oryginalną grafikę w stylu kreskówek i świetną muzykę; jest zabawna i
+dynamiczna, ma kilka trybów sieciowych, pozwalających na grę przeciwko
+wszystkim oraz współpracę - cóż więcej potrzeba do zabawy z kolegami?
+
+Ten pakiet zawiera pliki z danymi dla Battle Tanks.
+
 %prep
 %setup -q -n %{_name}-%{version}
 
@@ -35,17 +41,13 @@
 install -d $RPM_BUILD_ROOT%{_datadir}/%{_name}
 cp -r data $RPM_BUILD_ROOT%{_datadir}/%{_name}
 
-# Game is looking for those libs in the datadir folder
-ln -s %{_libdir}/libbt_objects.so $RPM_BUILD_ROOT%{_datadir}/%{_name}/libbt_objects.so
-ln -s %{_libdir}/libbt.so $RPM_BUILD_ROOT%{_datadir}/%{_name}/libbt.so
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %dir %{_datadir}/%{_name}
-%{_datadir}/%{_name}/*
+%{_datadir}/%{_name}/data
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -53,5 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008-01-06 10:43:00  qboosh
+- pl
+- arch-dependent symlinks are not allowed in /usr/share nor noarch packages
+
 Revision 1.1  2008-01-01 16:47:01  arvenil
 - data files as noarch
================================================================

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



More information about the pld-cvs-commit mailing list