10139N/A# spec file for package SUNWgnome-games
10139N/A#
19798N/A# includes module(s): gnome-games
10139N/A#
20890N/A# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner migi
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%define makeinstall make install DESTDIR=$RPM_BUILD_ROOT
10139N/A%use gnome_games = gnome-games.spec
10139N/A
10139N/AName: SUNWgnome-games
18688N/AIPS_package_name: games/gnome-games
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Games
10139N/ASummary: GNOME games
20056N/AVersion: %{gnome_games.version}
10139N/ASUNW_BaseDir: %{_basedir}
12880N/ASUNW_Copyright: %{name}.copyright
19798N/ALicense: %{gnome_games.license}
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
20890N/ABuildRequires: library/desktop/gtk2
20890N/ABuildRequires: image/library/librsvg
20890N/ABuildRequires: runtime/python-26
20890N/ABuildRequires: library/python-2/setuptools-26
20890N/ABuildRequires: library/gnome/gnome-libs
20890N/ABuildRequires: library/gnome/gnome-vfs
20890N/ABuildRequires: gnome/config/gconf
20890N/ABuildRequires: library/python-2/python-gnome-desktop-26
20890N/ABuildRequires: library/sdl
20890N/ABuildRequires: library/audio/gstreamer
20890N/ABuildRequires: developer/gnome/gnome-doc-utils
20890N/ARequires: library/desktop/gtk2
20890N/ARequires: library/gnome/gnome-libs
20890N/ARequires: gnome/config/gconf
20890N/ARequires: system/library/math
20890N/ARequires: library/python-2/python-gnome-desktop-26
20890N/ARequires: image/library/librsvg
20890N/ARequires: runtime/python-26
20890N/ARequires: service/gnome/desktop-cache
20890N/ARequires: library/audio/gstreamer
20890N/ARequires: library/desktop/clutter
20892N/ARequires: library/desktop/clutter/clutter-gtk
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%gnome_games.prep -d %name-%version
13360N/Acd %{_builddir}/%name-%version
10139N/A
10139N/A%build
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
12244N/Aexport ACLOCAL_FLAGS="-I%{_datadir}/aclocal"
12231N/A
12231N/A# find GNU xgettext
12231N/AIFS=:
12231N/Afor dir in $PATH; do
12231N/A test -x "$dir/xgettext" && \
12231N/A "$dir/xgettext" --version 2>&1 | egrep -s 'GNU gettext' && \
12231N/A XGETTEXT="$dir/xgettext"
12231N/Adone
12231N/Aexport XGETTEXT
10139N/A
10139N/A%gnome_games.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
13360N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/A%gnome_games.install -d %name-%version
10139N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_localstatedir}/lib/games
10139N/Armdir $RPM_BUILD_ROOT%{_localstatedir}/lib
10139N/Armdir $RPM_BUILD_ROOT%{_localstatedir}
13360N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
16307N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
16307N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
18655N/A%doc -d gnome-games-%{gnome_games.version} MAINTAINERS README gnome-sudoku/README gnotski/README gnomine/README gtali/README glchess/README gnotravex/README COPYING COPYING-DOCS AUTHORS gnome-sudoku/AUTHORS glines/AUTHORS gnotski/AUTHORS gnomine/AUTHORS gnect/AUTHORS gtali/AUTHORS gnobots2/AUTHORS gnotravex/AUTHORS gnibbles/AUTHORS iagno/AUTHORS
15882N/A%doc(bzip2) -d gnome-games-%{gnome_games.version} NEWS ChangeLog
18655N/A
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
18655N/A
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10778N/A%{_libdir}/gnome-games
10139N/A%{_libdir}/python?.?/vendor-packages
18655N/A
10139N/A%dir %attr (0755, root, sys) %{_datadir}
14440N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%{_datadir}/gnome/help/*/C
10139N/A%{_datadir}/glchess
15566N/A%{_datadir}/gnome-games
10139N/A%{_datadir}/gnome-sudoku
10139N/A%attr (-, root, other) %{_datadir}/icons
18693N/A%{_datadir}/omf/*/*-C.omf
12148N/A%dir %attr(0755, root, bin) %{_mandir}
12148N/A%dir %attr(0755, root, bin) %{_mandir}/man6
12148N/A%{_mandir}/man6/*
18655N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%{_datadir}/gnome/help/[a-z]*/[a-z]*
18706N/A%{_datadir}/omf/*/*-[a-z][a-z].omf
18706N/A%{_datadir}/omf/*/*-[a-z][a-z][_@]*.omf
10139N/A
10139N/A%files root
10139N/A%defattr (-, root, sys)
10139N/A%attr(0755, root, sys) %dir %{_sysconfdir}
18655N/A%{_sysconfdir}/gconf/schemas/*.schemas
10139N/A
10139N/A%changelog
20890N/A* Mon Feb 13 2012 - padraig.obriain@oracle.com
20890N/A- Update Requires and BuildRequires to be IPS package names.
19798N/A* Wed Jul 07 2010 - brian.cameron@oracle.com
19798N/A- Remove GGZ, it is no longer used by gnome-games.
18655N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
18655N/A- Fix %files.
18490N/A* Mon Mar 22 2010 - christian.kelly@sun.com
18490N/A- Add Requires: SUNWclutter-gtk.
18451N/A* Sat Mar 14 2010 - christian.kelly@sun.com
18451N/A- Add Requires: SUNWclutter.
17651N/A* Mon Nov 02 2009 - Michal.Pryc@Sun.Com
17651N/A- Move deos from Python2.4 to Python2.6.
16883N/A* Mon Jul 27 2009 - christian.kelly@sun.com
16885N/A- Minor changes to %files.
16885N/A* Mon Jul 27 2009 - christian.kelly@sun.com
16883N/A- Correct PKG_CONFIG_PATH again.
16866N/A* Sun Jul 26 2009 - christian.kelly@sun.com
16866N/A- Add path to PKG_CONFIG_PATH.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
16039N/A* Tue Mar 03 2009 - brian.cameron@sun.com
16039N/A- Remove gnometris again.
15882N/A* Wed Feb 18 2009 - dave.lin@sun.com
16039N/A- Removed %doc gnome-games:same-gnome/help/ChangeLog po/ChangeLog which are n/a
16039N/A in 2.25.91.
15162N/A* Thu Oct 02 2008 - brian.cameron@sun.com
15162N/A- Add blackjack and gnometris back to gnome-games.
14440N/A* Sat Sep 20 2008 - christian.kelly@sun.com
14440N/A- Set perms on /usr/share/doc.
13360N/A* Fri Jun 6 2008 - michal.pryc@sun.com
13360N/A- Added additional manual pages: libggz, libggzmod, libggzcore
13294N/A* Fri May 30 2008 - damien.carbery@sun.com
13294N/A- Delete %{_sysconfdir}/ggz.modules in %install. It is only created by gnect
13294N/A game when it finds /usr/bin/ggz-config. This happens when the module is built
13294N/A but already installed, not on first build.
13029N/A* Tue May 13 2008 - damien.carbery@sun.com
13029N/A- Comment out %{_sysconfdir}/ggz.modules in %files as it's not being installed
13029N/A this week.
13020N/A* Sun May 11 2008 - Michal.Pryc@Sun.Com
13020N/A- Adjusted %files after enabling encryption for libggz
12641N/A* Mon Mar 24 2008 - patrick.ale@gmail.com
12641N/A- Add %_datadir/gnome-games/sounds to the package list
12621N/A* Wed Mar 19 2008 - damien.carbery@sun.com
12621N/A- Add Build/Requires SUNWgnome-games/-devel as sounds require gstreamer.
12610N/A* Fri Mar 14 2008 - damien.carbery@sun.com
12610N/A- Remove 'sounds' dir from %files as it is not installed by 2.22 tarball.
12565N/A* Sun Mar 09 2008 - damien.carbery@sun.com
12565N/A- Fix perms for -devel package.
12564N/A* Thu Mar 06 2008 - Michal.Pryc@Sun.Com
12564N/A- Moved man packages for headers to the devel package.
12503N/A* Thu Feb 28 2008 - brian.cameron@sun.com
12503N/A- Remove ggz-python since it isn't needed. Sorry about the churn.
12500N/A* Wed Feb 27 2008 - brian.cameron@sun.com
12500N/A- Add gst-python, since glchess needs it. Rename %{ggzmod_build_dir} to
12500N/A %{ggzclient_build_dir} since this is more accurate - the module is named
12500N/A ggz_client_libs. Also add the ggzcore library to LD_LIBRARY_PATH and
12500N/A LDFLAGS since this is needed by gst-python.
12404N/A* Mon Feb 18 2008 - Michal.Pryc@Sun.Com
12404N/A- Update %files for ggz-client-libs patch, which removes ggzwrap manpages
12395N/A* Fri Feb 15 2008 - damien.carbery@sun.com
12395N/A- Update %files for new tarball.
12288N/A* Tue Jan 29 2008 - damien.carbery@sun.com
12288N/A- Remove empty %{_libdir}/ggz dir.
12268N/A* Fri Jan 25 2008 - damien.carbery@sun.com
12268N/A- Add BuildRequires SUNWlibsdl-devel so that the modified sdl.m4 will be
12268N/A available to configure.
12231N/A* Sun Jan 20 2008 - patrick.ale@gmail.com
12231N/A- Rework the XGETTEXT detection.
12231N/A* Thu Jan 17 2008 - patrick.ale@gmail.com
19798N/A- Add export XGETTEXT=`which` to pickup GNU gettext shipped by CBE
12171N/A* Wed Jan 09 2008 - damien.carbery@sun.com
12171N/A- Set ACLOCAL_FLAGS to pick up modified intltool.m4.
12144N/A* Mon Jan 07 2008 - damien.carbery@sun.com
12148N/A- Update CFLAGS to find ggzcore.h. Update %files. Add devel package but don't
12148N/A enable it as it is probably not useful.
12148N/A* Mon Jan 07 2008 - damien.carbery@sun.com
12144N/A- Add variable to specify location of ggzmod sources (in ggz-client-libs) and
12144N/A add info to CFLAGS and LDFLAGS.
12112N/A* Thu Jan 3 2008 - laca@sun.com
12112N/A- use gconf-install.script instead of an inline script
12108N/A* Wed Jan 02 2008 - damien.carbery@sun.com
12109N/A- Add ggz-client-libs module.
12108N/A- Add variable to specify location of libggz sources. Add info to CFLAGS and
12108N/A LDFLAGS.
12077N/A* Tue Dec 18 2007 - damien.carbery@sun.com
12077N/A- Add libggz module.
11969N/A* Wed Nov 21 2007 - damien.carbery@sun.com
11969N/A- Correct non-l10n build.
10778N/A* Mon Jun 11 2007 - damien.carbery@sun.com
11001N/A- Update %files to 2.19.6 tarball - add %{_datadir}/gnome-games/gnotski.
11001N/A* Mon Jun 11 2007 - damien.carbery@sun.com
10778N/A- Update %files to 2.19.3 tarball.
10749N/A* Wed Jun 06 2007 - damien.carbery@sun.com
10749N/A- Add $CXX dir to PATH so that configure can find it. Set $CXX to 'CC', again so
10749N/A configure can find it (via PATH).
10360N/A* Fri Mar 23 2007 - damien.carbery@sun.com
10360N/A- Add en_GB omf files to %files.
10139N/A* Tue Feb 20 2007 - damien.carbery@sun.com
10139N/A- Remove %if/%endif with_guile code as aisleriot is no longer built - it is
10139N/A excluded via a configure option in gnome-games.spec.
10139N/A* Fri Feb 16 2007 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWgnome-python-desktop/-devel.
10139N/A* Mon Feb 12 2007 - damien.carbery@sun.com
10139N/A- aisleriot game is only built when SFEguile is installed. Use %if/%endif to
10139N/A include its files only when SFEguile is installed.
10139N/A* Sat Feb 10 2007 - damien.carbery@sun.com
10139N/A- Add sol-games dir to %files and aisleriot.schemas to %files and %preun root.
10139N/A* Sun Jan 28 2007 - laca@sun.com
10139N/A- add -xc99 to CFLAGS
10139N/A* Tue Jan 09 2007 - damien.carbery@sun.com
10139N/A- Add glchess.schemas to %preun root and to %files.
10139N/A* Thu Dec 07 2006 - damien.carbery@sun.com
10139N/A- Add python libs dir and glchess/gnome-sudoku dirs.
10139N/A* Fri Nov 24 2006 - damien.carbery@sun.com
10139N/A- Remove empty %{_libdir}. Remove glchess and gnome-sudoku games as they were
10139N/A not installed.
10139N/A* Wed Nov 22 2006 - damien.carbery@sun.com
10139N/A- 2.17.1 changes - remove gataxx references; add glchess, gnome-sudoku and ggz
10139N/A games.
10139N/A* Thu Nov 09 2006 - damien.carbery@sun.com
10139N/A- Add BuildRequires SUNWgnome-vfs-devel as gnome-libs pc file requires
10139N/A gnome-vfs.
10139N/A* Mon Aug 21 2006 - damien.carbery@sun.com
10139N/A- Fix l10n package - C locale omf file was in base and l10n package.
10139N/A* Thu Aug 17 2006 - damien.carbery@sun.com
10139N/A- Change 'icons' line in %files to pick up files.
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- delete some unnecessary env variables
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- change datadir/icons permissions back to root:other since it's a stable
10139N/A interface and wasn't supposed to be changed
10139N/A* Fri Jul 14 2006 - laca@sun.com
10139N/A- update %post/%postun/etc scripts to support diskless client setup,
10139N/A part of 6448317
10139N/A* Thu Jun 29 2006 - laca@sun.com
10139N/A- update postrun scripts
10139N/A* Mon Jun 26 2006 - laca@sun.com
10139N/A- move back to /usr, part of CR 6412650
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Sat Jun 10 2006 - laca@sun.com
10139N/A- delete -devel pkg: it was empty
10139N/A* Thu May 25 2006 - laca@sun.com
10139N/A- use post/preun scripts to install schemas into the merged gconf files
10139N/A* Wed May 10 2006 - laca@sun.com
10139N/A- merge -share pkg(s) into the base pkg(s)
10139N/A* Mon Feb 20 2006 - damien.carbery@sun.com
10139N/A- Complete update of Build/Requires after running check-deps.pl script.
10139N/A* Thu Feb 16 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Fri Jan 06 2006 - damien.carbery@sun.com
10139N/A- Fix %files for updated file list.
10139N/A* Sat Dec 3 2005 - laca@sun.com
10139N/A- add %post script that runs update-desktop-database
10139N/A* Tue Nov 29 2005 - laca@sun.com
10139N/A- remove javahelp stuff
10139N/A* Tue Sep 13 2005 - laca@sun.com
10139N/A- Remove unpackaged files or add to %files
10139N/A* Thu Jul 28 2005 - damien.carbery@sun.com
10139N/A- Add SUNWlibrsvg-devel build dependency. Add SUNWlibrsvg runtime dependency.
10139N/A* Tue May 24 2005 - brian.cameron@sun.com
10139N/A- Bump to 2.10 and fix packaging.
10139N/A* Mon Dec 13 2004 - damien.carbery@sun.com
10139N/A- Move to /usr/sfw to implement ARC decision.
10139N/A* Fri Nov 12 2004 - laca@sun.com
10139N/A- move to /usr/demo/jds
10139N/A* Tue Oct 05 2004 - matt.keenan@sun.com
10139N/A- Added localized help to l10n package
10139N/A* Sat Oct 02 2004 - laca@sun.com
10139N/A- added %pkgbuild_postprocess
10139N/A* Mon Aug 23 2004 - laca@sun.com
10139N/A- s/SUNWpl5u/SUNWperl584usr/
10139N/A* Sat Jun 26 2004 shirley.woo@sun.com
10139N/A- Changed install location to /usr/...
10139N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
10139N/A- Added %{_datadir}/locale to install l10n messages
10139N/A* Thu May 27 2004 - damien.carbery@sun.com
10139N/A- Comment out SUNWcspu lines. Will uncomment when Metropolis branch created.
10139N/A* Wed May 26 2004 - damien.carbery@sun.com
10139N/A- Add SUNWcspu (with libucb.so and scandir) to Requires and BuildRequires.
10139N/A configure was breaking because of its absense.
10139N/A* Mon May 10 2004 - brian.cameron@sun.com
10139N/A- Putting back %{_sysconfig}/gconf into packaging which got
10139N/A accidently simplified away in Laca's last change. Now the
10139N/A games work again.
10139N/A* Tue Apr 20 2004 - laca@sun.com
10139N/A- simlify %files
10139N/A- add javahelp
10139N/A* Thu Apr 08 2004 - laca@sun.com
10139N/A- added missing %defattr
10139N/A* Fri Mar 26 2004 - brian.cameron@sun.com
10139N/A- Created,
16401N/A