base-specs/libggz.spec
changeset 11335 fa570248b8ba
child 11338 879575b46cb7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/base-specs/libggz.spec	Tue Dec 18 20:24:06 2007 +0000
@@ -0,0 +1,67 @@
+#
+# spec file for package libggz
+#
+# Copyright (c) 2007 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Owner: dcarbery
+#
+Name:         libggz
+License:      GPL
+Group:        Amusements/Games
+Version:      0.0.14
+Release:      1
+Distribution: Java Desktop System
+Vendor:	      Sun Microsystems, Inc.
+Summary:      GGZ online gaming
+Source:       http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/%{version}/libggz-%{version}.tar.gz
+Patch1:       libggz-01-ggzfunction.diff
+URL:          http://www.ggzgamingzone.org/
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Docdir:       %{_defaultdocdir}/%{name}
+Autoreqprov:  on
+Prereq:       GConf
+
+
+%description
+The GGZ project makes free online gaming possible. We develop games and work
+with other game projects to create a better environment for playing on the
+internet, and we showcase all that on the GGZ Community site, inviting everyone to join us there. 
+
+%prep
+%setup -q
+%patch1 -p1
+
+%build
+%ifos linux
+if [ -x /usr/bin/getconf ]; then
+  CPUS=`getconf _NPROCESSORS_ONLN`
+fi
+%else
+  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+%endif
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+  CPUS=1
+fi
+
+#aclocal $ACLOCAL_FLAGS
+#automake -a -c -f
+#autoconf
+./configure --prefix=%{_prefix} 	\
+	    --sysconfdir=%{_sysconfdir} \
+	    --bindir=%{_bindir} \
+	    --libdir=%{_libdir} \
+            --includedir=%{_includedir} \
+	    --libexecdir=%{_libexecdir}
+
+make -j $CPUS
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%changelog
+* Tue Dec 18 2007 - [email protected]
+- Created.