11335
|
1 |
#
|
|
2 |
# spec file for package libggz
|
|
3 |
#
|
11713
|
4 |
# Copyright (c) 2008 Sun Microsystems, Inc.
|
11335
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner migi
|
11335
|
9 |
#
|
16427
|
10 |
|
|
11 |
%define OSR 8489:0.0.14.1
|
|
12 |
|
11335
|
13 |
Name: libggz
|
11602
|
14 |
License: LGPL
|
11335
|
15 |
Group: Amusements/Games
|
11713
|
16 |
Version: 0.0.14.1
|
11335
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
17865
|
19 |
Vendor: GGZ Online Gaming
|
11335
|
20 |
Summary: GGZ online gaming
|
|
21 |
Source: http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/%{version}/libggz-%{version}.tar.gz
|
12323
|
22 |
# owner:migi date:2008-03-06 type:bug
|
11822
|
23 |
Patch1: libggz-01-config.diff
|
11335
|
24 |
URL: http://www.ggzgamingzone.org/
|
|
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
26 |
Docdir: %{_defaultdocdir}/%{name}
|
|
27 |
Autoreqprov: on
|
|
28 |
Prereq: GConf
|
|
29 |
|
|
30 |
|
|
31 |
%description
|
|
32 |
The GGZ project makes free online gaming possible. We develop games and work
|
|
33 |
with other game projects to create a better environment for playing on the
|
11727
|
34 |
internet The libggz library wraps many common low-level functions used by
|
|
35 |
GGZ.
|
11335
|
36 |
|
|
37 |
%prep
|
|
38 |
%setup -q
|
11822
|
39 |
%patch1 -p1
|
11335
|
40 |
|
|
41 |
%build
|
|
42 |
%ifos linux
|
|
43 |
if [ -x /usr/bin/getconf ]; then
|
|
44 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
45 |
fi
|
|
46 |
%else
|
|
47 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
48 |
%endif
|
|
49 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
50 |
CPUS=1
|
|
51 |
fi
|
|
52 |
|
|
53 |
#aclocal $ACLOCAL_FLAGS
|
|
54 |
#automake -a -c -f
|
|
55 |
#autoconf
|
|
56 |
./configure --prefix=%{_prefix} \
|
|
57 |
--sysconfdir=%{_sysconfdir} \
|
|
58 |
--bindir=%{_bindir} \
|
|
59 |
--libdir=%{_libdir} \
|
|
60 |
--includedir=%{_includedir} \
|
11822
|
61 |
--libexecdir=%{_libexecdir} \
|
12278
|
62 |
--with-tls \
|
|
63 |
--with-gcrypt
|
11335
|
64 |
|
|
65 |
make -j $CPUS
|
|
66 |
|
11338
|
67 |
%install
|
|
68 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
69 |
|
11335
|
70 |
|
|
71 |
%clean
|
|
72 |
rm -rf $RPM_BUILD_ROOT
|
|
73 |
|
|
74 |
|
|
75 |
%changelog
|
12278
|
76 |
* Sun May 11 2008 - [email protected]
|
12281
|
77 |
- Enabled encryption functionality.
|
12278
|
78 |
libgzz is classified under the ECCN (Export Control
|
|
79 |
Classification Number) 5D002.
|
|
80 |
|
11822
|
81 |
* Fri Mar 08 2008 - [email protected]
|
|
82 |
- Added libggz-01-config.diff. Disabled encryption functionallity
|
|
83 |
|
11713
|
84 |
* Mon Feb 25 2008 - [email protected]
|
|
85 |
- Bump to 0.0.14.1. Remove upstream patch.
|
|
86 |
|
11338
|
87 |
* Wed Dec 19 2007 - [email protected]
|
|
88 |
- Add %install section.
|
|
89 |
|
11335
|
90 |
* Tue Dec 18 2007 - [email protected]
|
|
91 |
- Created.
|