Author: qboosh                       Date: Fri Mar  4 20:08:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added ppc version (untested; ifarched Sources as we cannot distribute src.rpm 
anyway)

---- Files affected:
SPECS:
   RealPlayer.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/RealPlayer.spec
diff -u SPECS/RealPlayer.spec:1.16 SPECS/RealPlayer.spec:1.17
--- SPECS/RealPlayer.spec:1.16  Fri Mar  4 13:04:13 2005
+++ SPECS/RealPlayer.spec       Fri Mar  4 21:08:09 2005
@@ -1,10 +1,4 @@
 # $Revision$, $Date$
-# TODO:
-# - realplayer 10 for ppc
-#   
https://helixcommunity.org/project/showfiles.php?group_id=154&release_id=356
-#   i.e.
-#   
https://helixcommunity.org/download.php/805/realplay-10.0.2.608-linux-2.2-libc6-gcc32-powerpc.bin
-#
 %define                _name   realplay
 Summary:       RealPlayer - RealAudio and RealVideo player
 Summary(pl):   RealPlayer - odtwarzacz RealAudio i RealVideo
@@ -13,16 +7,24 @@
 Release:       1
 License:       Helix DNA Technology Binary Research Use License (not 
distributable, see LICENSE)
 Group:         X11/Applications/Multimedia
+# download from https://helixcommunity.org/project/showfiles.php?group_id=154
+%ifarch %{ix86}
 Source0:       
https://helixcommunity.org/download.php/964/%{name}-%{version}.748-20050223.i586.rpm
 # NoSource0-md5:       cea221a981b26c27e6e50a58aa285011
 NoSource:      0
+%endif
+%ifarch ppc
+Source1:       
https://helixcommunity.org/download.php/973/realplay-%{version}.748-linux-2.2-powerpc.bin
+# NoSource1-md5:       f7ab7ddb4f7f53df0f16445c6df4caa2
+NoSource:      1
+%endif
 URL:           http://www.real.com/
 BuildRequires: cpio
 BuildRequires: sed >= 4.0
 Requires:      sed >= 4.0
 Obsoletes:     G2player
 Conflicts:     realplayer
-ExclusiveArch: %{ix86} 
+ExclusiveArch: %{ix86} ppc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -72,8 +74,13 @@
 
 %prep
 %setup -q -c -T
+%ifarch %{ix86}
 rpm2cpio %{SOURCE0} | cpio -dimu
 mv -f usr/local/RealPlayer/* .
+%endif
+%ifarch ppc
+dd if=%{SOURCE1} skip=158895 | tar xjf -
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -200,6 +207,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2005/03/04 20:08:09  qboosh
+- added ppc version (untested; ifarched Sources as we cannot distribute 
src.rpm anyway)
+
 Revision 1.16  2005/03/04 12:04:13  charles
 - updated to 10.0.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/RealPlayer.spec?r1=1.16&r2=1.17&f=u


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

Reply via email to