base-specs/libggz.spec
author migi
Sun, 11 May 2008 19:57:00 +0000
changeset 12278 027cc75f9610
parent 11822 0dbf5957a013
child 12281 50db9c4cad1a
permissions -rw-r--r--
2008-05-11 Michal Pryc <[email protected]>2008-05-11 Michal Pryc <[email protected]> * SUNWgnome-games.spec: adjusted %files after enabling encryption for the libggz module * base-specs/libggz.spec: Enabled encryption functionallit. libgzz is classified under the ECCN (Export Control Classification Number) 5D002.
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
#
11610
a64b4e535564 2008-02-08 Michal Pryc <[email protected]>
migi
parents: 11602
diff changeset
     8
# Owner: migi
11335
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
     9
#
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    10
Name:         libggz
11602
06595aac9280 Correct license: s/GPL/LGPL/.
dcarbery
parents: 11446
diff changeset
    11
License:      LGPL
11335
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    12
Group:        Amusements/Games
11713
84ef91d54069 2008-02-25 Brian Cameron <[email protected]>
yippi
parents: 11610
diff changeset
    13
Version:      0.0.14.1
11335
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    14
Release:      1
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    15
Distribution: Java Desktop System
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    16
Vendor:	      Sun Microsystems, Inc.
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    17
Summary:      GGZ online gaming
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    18
Source:       http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/%{version}/libggz-%{version}.tar.gz
11822
0dbf5957a013 2008-03-08 Michal Pryc <[email protected]>
migi
parents: 11727
diff changeset
    19
# owner:migi date:2008-03-06 type:Bug remove encryption
0dbf5957a013 2008-03-08 Michal Pryc <[email protected]>
migi
parents: 11727
diff changeset
    20
Patch1:       libggz-01-config.diff
11335
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    21
URL:          http://www.ggzgamingzone.org/
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    22
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    23
Docdir:       %{_defaultdocdir}/%{name}
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    24
Autoreqprov:  on
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    25
Prereq:       GConf
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    26
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    27
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    28
%description
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    29
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
    30
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
    31
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
    32
GGZ.
11335
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    33
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    34
%prep
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    35
%setup -q
11822
0dbf5957a013 2008-03-08 Michal Pryc <[email protected]>
migi
parents: 11727
diff changeset
    36
%patch1 -p1
11335
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    37
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    38
%build
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    39
%ifos linux
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    40
if [ -x /usr/bin/getconf ]; then
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    41
  CPUS=`getconf _NPROCESSORS_ONLN`
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    42
fi
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    43
%else
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    44
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    45
%endif
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    46
if test "x$CPUS" = "x" -o $CPUS = 0; then
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    47
  CPUS=1
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    48
fi
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    49
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    50
#aclocal $ACLOCAL_FLAGS
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    51
#automake -a -c -f
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    52
#autoconf
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    53
./configure --prefix=%{_prefix} 	\
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    54
	    --sysconfdir=%{_sysconfdir} \
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    55
	    --bindir=%{_bindir} \
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    56
	    --libdir=%{_libdir} \
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    57
            --includedir=%{_includedir} \
11822
0dbf5957a013 2008-03-08 Michal Pryc <[email protected]>
migi
parents: 11727
diff changeset
    58
	    --libexecdir=%{_libexecdir} \
12278
027cc75f9610 2008-05-11 Michal Pryc <[email protected]>2008-05-11 Michal Pryc <[email protected]>
migi
parents: 11822
diff changeset
    59
            --with-tls \
027cc75f9610 2008-05-11 Michal Pryc <[email protected]>2008-05-11 Michal Pryc <[email protected]>
migi
parents: 11822
diff changeset
    60
            --with-gcrypt
11335
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    61
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    62
make -j $CPUS
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    63
11338
879575b46cb7 2007-12-19 Damien Carbery <[email protected]>
dcarbery
parents: 11335
diff changeset
    64
%install
879575b46cb7 2007-12-19 Damien Carbery <[email protected]>
dcarbery
parents: 11335
diff changeset
    65
make install DESTDIR=$RPM_BUILD_ROOT
879575b46cb7 2007-12-19 Damien Carbery <[email protected]>
dcarbery
parents: 11335
diff changeset
    66
11335
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    67
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    68
%clean
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    69
rm -rf $RPM_BUILD_ROOT
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
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    72
%changelog
12278
027cc75f9610 2008-05-11 Michal Pryc <[email protected]>2008-05-11 Michal Pryc <[email protected]>
migi
parents: 11822
diff changeset
    73
* Sun May 11 2008 - [email protected]
027cc75f9610 2008-05-11 Michal Pryc <[email protected]>2008-05-11 Michal Pryc <[email protected]>
migi
parents: 11822
diff changeset
    74
- Enabled encryption functionallit.
027cc75f9610 2008-05-11 Michal Pryc <[email protected]>2008-05-11 Michal Pryc <[email protected]>
migi
parents: 11822
diff changeset
    75
  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
    76
  Classification Number) 5D002. 
027cc75f9610 2008-05-11 Michal Pryc <[email protected]>2008-05-11 Michal Pryc <[email protected]>
migi
parents: 11822
diff changeset
    77
11822
0dbf5957a013 2008-03-08 Michal Pryc <[email protected]>
migi
parents: 11727
diff changeset
    78
* Fri Mar 08 2008 - [email protected]
0dbf5957a013 2008-03-08 Michal Pryc <[email protected]>
migi
parents: 11727
diff changeset
    79
- Added libggz-01-config.diff. Disabled encryption functionallity
0dbf5957a013 2008-03-08 Michal Pryc <[email protected]>
migi
parents: 11727
diff changeset
    80
11713
84ef91d54069 2008-02-25 Brian Cameron <[email protected]>
yippi
parents: 11610
diff changeset
    81
* Mon Feb 25 2008 - [email protected]
84ef91d54069 2008-02-25 Brian Cameron <[email protected]>
yippi
parents: 11610
diff changeset
    82
- Bump to 0.0.14.1.  Remove upstream patch.
84ef91d54069 2008-02-25 Brian Cameron <[email protected]>
yippi
parents: 11610
diff changeset
    83
11338
879575b46cb7 2007-12-19 Damien Carbery <[email protected]>
dcarbery
parents: 11335
diff changeset
    84
* Wed Dec 19 2007 - [email protected]
879575b46cb7 2007-12-19 Damien Carbery <[email protected]>
dcarbery
parents: 11335
diff changeset
    85
- Add %install section.
879575b46cb7 2007-12-19 Damien Carbery <[email protected]>
dcarbery
parents: 11335
diff changeset
    86
11335
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    87
* Tue Dec 18 2007 - [email protected]
fa570248b8ba 2007-12-18 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    88
- Created.