SUNWgnome-games.spec
author gheet
Wed, 29 Aug 2007 19:55:37 +0000
changeset 10400 ee048e61bf61
parent 10259 3833c09aa68b
child 10809 8ee53dcdb0de
child 11227 09fc730733c8
permissions -rw-r--r--
2007-08-29 Ghee Teo <[email protected]> * SUNWgnome-games.spec, base-specs/gnome-games: removed the building and installation of blackjack and gnometris as part of GNOME 2.20 ARC case effort.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-games
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): gnome-games
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2004 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: gman
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%define makeinstall make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
%use gnome_games = gnome-games.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Name:                    SUNWgnome-games
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Summary:                 GNOME games
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
BuildRequires: SUNWlibrsvg-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
BuildRequires: SUNWPython-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRequires: SUNWgnome-vfs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRequires: SUNWgnome-python-desktop-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires: SUNWgnome-python-desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires: SUNWlibrsvg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires: SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires: SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
Requires: SUNWpostrun-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%gnome_games.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
export PKG_CONFIG_PATH=%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
export CFLAGS="%optflags -I%{_includedir} -I/usr/sfw/include -xc99"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
export LDFLAGS="%_ldflags -lX11 -L/usr/sfw/lib -lexpat"
10007
84c02c2c5fda 2007-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 9618
diff changeset
    66
export PATH="$PATH:"`dirname $CXX`
84c02c2c5fda 2007-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 9618
diff changeset
    67
export CXX=`basename $CXX`
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%gnome_games.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%gnome_games.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
rm -rf $RPM_BUILD_ROOT%{_localstatedir}/lib/games
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
rmdir $RPM_BUILD_ROOT%{_localstatedir}/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
rmdir $RPM_BUILD_ROOT%{_localstatedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
# Remove these empty dirs.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
rmdir $RPM_BUILD_ROOT%{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
# REMOVE l10n FILES*files-list*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/[a-z]*/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%post root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
( echo 'test -x /usr/bin/gconftool-2 || {';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
  echo '  echo "ERROR: gconftool-2 not found"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
  echo 'GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
  echo 'export GCONF_CONFIG_SOURCE';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
  echo '/usr/bin/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
) | $BASEDIR/var/lib/postrun/postrun -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
%preun root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
  echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
  echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
  echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
  echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
  echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
  echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
  echo 'schemas="$SDIR/glines.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
  echo '         $SDIR/glchess.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
  echo '         $SDIR/gnect.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
  echo '         $SDIR/gnibbles.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
  echo '         $SDIR/gnobots2.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
  echo '         $SDIR/gnomine.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
  echo '         $SDIR/gnotravex.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
  echo '         $SDIR/gnotski.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
  echo '         $SDIR/gtali.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
  echo '         $SDIR/iagno.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
  echo '         $SDIR/same-gnome.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
  echo '         $SDIR/mahjongg.schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
  echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
%dir %attr (0755, root, bin) %{_libdir}
10036
49e46a6430a8 2007-06-11 Damien Carbery <[email protected]>
dcarbery
parents: 10007
diff changeset
   154
%{_libdir}/gnome-games
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
%{_libdir}/python?.?/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
%{_datadir}/applications/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
%{_datadir}/gnect
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
%{_datadir}/ggz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
%{_datadir}/gnibbles
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
%{_datadir}/gnobots2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
%{_datadir}/gnome/help/*/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
%{_datadir}/glchess
10259
3833c09aa68b 2007-08-02 Damien Carbery <[email protected]>
dcarbery
parents: 10036
diff changeset
   166
%{_datadir}/gnome-games/gnotski
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
%{_datadir}/gnome-games/mahjongg
10036
49e46a6430a8 2007-06-11 Damien Carbery <[email protected]>
dcarbery
parents: 10007
diff changeset
   168
%{_datadir}/gnome-games/pixmaps
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
%{_datadir}/gnome-games/same-gnome
10036
49e46a6430a8 2007-06-11 Damien Carbery <[email protected]>
dcarbery
parents: 10007
diff changeset
   170
%{_datadir}/gnome-games/sounds
49e46a6430a8 2007-06-11 Damien Carbery <[email protected]>
dcarbery
parents: 10007
diff changeset
   171
%{_datadir}/gnome-games-common
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
%{_datadir}/gnome-sudoku
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%{_datadir}/omf/*/*-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
%dir %attr (0755, root, other) %{_datadir}/pixmaps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
%{_datadir}/pixmaps/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
%attr (-, root, other) %{_datadir}/icons
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
%{_datadir}/gnome/help/[a-z]*/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
%{_datadir}/omf/*/*-[a-z][a-z].omf
9618
98e25c78e20f 2007-03-23 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   186
%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
%files root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
%defattr (-, root, sys)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
%attr(0755, root, sys) %dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
%{_sysconfdir}/gconf/schemas/glchess.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   193
%{_sysconfdir}/gconf/schemas/glines.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
%{_sysconfdir}/gconf/schemas/gnect.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
%{_sysconfdir}/gconf/schemas/gnibbles.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
%{_sysconfdir}/gconf/schemas/gnobots2.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   197
%{_sysconfdir}/gconf/schemas/gnomine.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
%{_sysconfdir}/gconf/schemas/gnotravex.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
%{_sysconfdir}/gconf/schemas/gnotski.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
%{_sysconfdir}/gconf/schemas/gtali.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
%{_sysconfdir}/gconf/schemas/iagno.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
%{_sysconfdir}/gconf/schemas/same-gnome.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   203
%{_sysconfdir}/gconf/schemas/mahjongg.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   204
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
%changelog
10036
49e46a6430a8 2007-06-11 Damien Carbery <[email protected]>
dcarbery
parents: 10007
diff changeset
   207
* Mon Jun 11 2007 - [email protected]
10259
3833c09aa68b 2007-08-02 Damien Carbery <[email protected]>
dcarbery
parents: 10036
diff changeset
   208
- Update %files to 2.19.6 tarball - add %{_datadir}/gnome-games/gnotski.
3833c09aa68b 2007-08-02 Damien Carbery <[email protected]>
dcarbery
parents: 10036
diff changeset
   209
* Mon Jun 11 2007 - [email protected]
10036
49e46a6430a8 2007-06-11 Damien Carbery <[email protected]>
dcarbery
parents: 10007
diff changeset
   210
- Update %files to 2.19.3 tarball.
10007
84c02c2c5fda 2007-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 9618
diff changeset
   211
* Wed Jun 06 2007 - [email protected]
84c02c2c5fda 2007-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 9618
diff changeset
   212
- Add $CXX dir to PATH so that configure can find it. Set $CXX to 'CC', again so
84c02c2c5fda 2007-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 9618
diff changeset
   213
  configure can find it (via PATH).
9618
98e25c78e20f 2007-03-23 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   214
* Fri Mar 23 2007 - [email protected]
98e25c78e20f 2007-03-23 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   215
- Add en_GB omf files to %files.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
* Tue Feb 20 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
- Remove %if/%endif with_guile code as aisleriot is no longer built - it is
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
  excluded via a configure option in gnome-games.spec.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
* Fri Feb 16 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
- Add Build/Requires SUNWgnome-python-desktop/-devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
* Mon Feb 12 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
- aisleriot game is only built when SFEguile is installed. Use %if/%endif to 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
  include its files only when SFEguile is installed.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   224
* Sat Feb 10 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
- Add sol-games dir to %files and aisleriot.schemas to %files and %preun root.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
* Sun Jan 28 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   227
- add -xc99 to CFLAGS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
* Tue Jan 09 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   229
- Add glchess.schemas to %preun root and to %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
* Thu Dec 07 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   231
- Add python libs dir and glchess/gnome-sudoku dirs.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
* Fri Nov 24 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
- Remove empty %{_libdir}. Remove glchess and gnome-sudoku games as they were
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
  not installed.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
* Wed Nov 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
- 2.17.1 changes - remove gataxx references; add glchess, gnome-sudoku and ggz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
  games.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
* Thu Nov 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
- Add BuildRequires SUNWgnome-vfs-devel as gnome-libs pc file requires
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
  gnome-vfs.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   241
* Mon Aug 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
- Fix l10n package - C locale omf file was in base and l10n package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
* Thu Aug 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
- Change 'icons' line in %files to pick up files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   245
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   246
- delete some unnecessary env variables
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   247
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   248
- change datadir/icons permissions back to root:other since it's a stable
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   249
  interface and wasn't supposed to be changed
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   250
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   251
- update %post/%postun/etc scripts to support diskless client setup,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   252
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   253
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   254
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
* Mon Jun 26 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
- move back to /usr, part of CR 6412650
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
* Sat Jun 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
- delete -devel pkg: it was empty
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
* Thu May 25 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   262
- use post/preun scripts to install schemas into the merged gconf files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   263
* Wed May 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   264
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   265
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   266
- Complete update of Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
* Thu Feb 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   268
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   269
* Fri Jan 06 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   270
- Fix %files for updated file list.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   271
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   272
- add %post script that runs update-desktop-database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
* Tue Nov 29 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   274
- remove javahelp stuff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
* Tue Sep 13 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
- Remove unpackaged files or add to %files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
* Thu Jul 28 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   278
- Add SUNWlibrsvg-devel build dependency. Add SUNWlibrsvg runtime dependency.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   279
* Tue May 24 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   280
- Bump to 2.10 and fix packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   281
* Mon Dec 13 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   282
- Move to /usr/sfw to implement ARC decision.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   283
* Fri Nov 12 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   284
- move to /usr/demo/jds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   285
* Tue Oct 05 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   286
- Added localized help to l10n package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   287
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   288
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   289
* Mon Aug 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   290
- s/SUNWpl5u/SUNWperl584usr/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   291
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   292
- Changed install location to /usr/...
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   293
* Wed Jun  2 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   294
- Added %{_datadir}/locale to install l10n messages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   295
* Thu May 27 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   296
- Comment out SUNWcspu lines. Will uncomment when Metropolis branch created.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   297
* Wed May 26 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   298
- Add SUNWcspu (with libucb.so and scandir) to Requires and BuildRequires.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   299
  configure was breaking because of its absense.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   300
* Mon May 10 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   301
- Putting back %{_sysconfig}/gconf into packaging which got 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   302
  accidently simplified away in Laca's last change.  Now the
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   303
  games work again.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   304
* Tue Apr 20 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   305
- simlify %files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   306
- add javahelp
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   307
* Thu Apr 08 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   308
- added missing %defattr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   309
* Fri Mar 26 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   310
- Created,