11367
|
1 |
#
|
|
2 |
# spec file for package ggz-client-libs
|
|
3 |
#
|
|
4 |
# Copyright (c) 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
11610
|
8 |
# Owner: migi
|
11367
|
9 |
#
|
16427
|
10 |
|
|
11 |
%define OSR 8489:0.0.14.1
|
|
12 |
|
11367
|
13 |
Name: ggz-client-libs
|
11602
|
14 |
License: LGPL
|
11367
|
15 |
Group: Amusements/Games
|
11713
|
16 |
Version: 0.0.14.1
|
11367
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
|
19 |
Vendor: Sun Microsystems, Inc.
|
|
20 |
Summary: GGZ online gaming
|
|
21 |
Source: http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/%{version}/ggz-client-libs-%{version}.tar.gz
|
11848
|
22 |
# owner:yippi date:2008-02-25 type:bug bugzilla:518756 state:upstream
|
11713
|
23 |
Patch1: ggz-client-libs-01-fixvoid.diff
|
11662
|
24 |
# owner:migi date:2008-02-18 type:bug bugzilla:517215
|
11713
|
25 |
Patch2: ggz-client-libs-02-manpages.diff
|
11731
|
26 |
# svn://svn.ggzgamingzone.org/svn/trunk/ggz-client-libs/po
|
|
27 |
# owner:fujiwara date:2008-02-27 type:bug state:upstream
|
|
28 |
Patch3: ggz-client-libs-03-po.diff
|
12618
|
29 |
# owner:migi date:2008-06-01
|
|
30 |
Patch4: ggz-client-libs-04-manpages.diff
|
11367
|
31 |
URL: http://www.ggzgamingzone.org/
|
|
32 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
33 |
Docdir: %{_defaultdocdir}/%{name}
|
|
34 |
Autoreqprov: on
|
|
35 |
Prereq: GConf
|
|
36 |
|
|
37 |
|
|
38 |
%description
|
|
39 |
The GGZ project makes free online gaming possible. We develop games and work
|
|
40 |
with other game projects to create a better environment for playing on the
|
11727
|
41 |
internet. ggz-client-libs are the client base libraries. This includes
|
|
42 |
ggzcore for GGZ core clients and ggzmod for game clients.
|
11367
|
43 |
|
|
44 |
%prep
|
|
45 |
%setup -q
|
|
46 |
%patch1 -p1
|
|
47 |
%patch2 -p1
|
11731
|
48 |
%patch3 -p1
|
12618
|
49 |
%patch4 -p1
|
11367
|
50 |
|
|
51 |
%build
|
|
52 |
%ifos linux
|
|
53 |
if [ -x /usr/bin/getconf ]; then
|
|
54 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
55 |
fi
|
|
56 |
%else
|
|
57 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
58 |
%endif
|
|
59 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
60 |
CPUS=1
|
|
61 |
fi
|
|
62 |
|
|
63 |
aclocal $ACLOCAL_FLAGS -Im4 -Im4/ggz
|
|
64 |
automake -a -c -f
|
|
65 |
autoconf
|
|
66 |
./configure --prefix=%{_prefix} \
|
|
67 |
--sysconfdir=%{_sysconfdir} \
|
|
68 |
--bindir=%{_bindir} \
|
|
69 |
--libdir=%{_libdir} \
|
|
70 |
--includedir=%{_includedir} \
|
|
71 |
--libexecdir=%{_libexecdir} \
|
|
72 |
--with-libggz-includes=%{libggz_build_dir}/src \
|
|
73 |
--with-libggz-libraries=%{libggz_build_dir}/src/.libs \
|
|
74 |
--disable-ggzwrap
|
|
75 |
|
|
76 |
make -j $CPUS
|
|
77 |
|
|
78 |
%install
|
|
79 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
80 |
|
|
81 |
|
|
82 |
%clean
|
|
83 |
rm -rf $RPM_BUILD_ROOT
|
|
84 |
|
|
85 |
|
|
86 |
%changelog
|
12618
|
87 |
* Fri Jun 06 2008 - [email protected]
|
|
88 |
- Added patch ggz-client-libs-04-manpages.diff
|
11731
|
89 |
* Wed Feb 27 2008 - [email protected]
|
|
90 |
- Add ggz-client-libs-03-po.diff to add it.po
|
11713
|
91 |
* Mon Feb 25 2008 - [email protected]
|
|
92 |
- Bump to 0.0.14.1. Remove upstream patches.
|
11662
|
93 |
* Mon Feb 18 2008 - [email protected]
|
11713
|
94 |
- Added patch ggz-client-libs-03-manpages.diff which disables ggzwrap manpages if
|
|
95 |
module is build with --disable-ggzwrap. Bugzilla: 517215
|
11367
|
96 |
* Wed Jan 02 2008 - [email protected]
|
|
97 |
- Created.
|