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