%define glib2_version 2.0.0
%define gtk2_version 2.0.2
%define libgnomeui_version 1.117.2
Summary: GNOME games.
Name: gnome-games
Version: 1.93.0
Release: 1
Epoch: 1
Copyright: LGPL
Group: Amusements/Games
Source: ftp://ftp.gnome.org/pub/GNOME/sources/pre-gnome2/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: gnome
URL: http://www.gnome.org
Prereq: scrollkeeper >= 0.1.4
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: guile-devel
%description
The gnome-games package includes some small games that come with the
GNOME desktop environment but can be used under any desktop.
The games are mostly puzzle or solitaire games.
%prep
%setup -q
%build
%configure --localstatedir=/var/lib
make
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall localstatedir=$RPM_BUILD_ROOT/var/lib
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
#
# lawyers are fun
# lawyers are fun little
#
rm -rf $RPM_BUILD_ROOT%{_datadir}/xbill
rm -f $RPM_BUILD_ROOT%{_bindir}/gnome-xbill
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
scrollkeeper-update
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="iagno.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
done
%postun
/sbin/ldconfig
scrollkeeper-update
%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog
%{_datadir}/gnome
%{_datadir}/applications
%{_datadir}/pixmaps
%{_datadir}/gnobots2
%{_datadir}/sounds
%{_datadir}/gnome-stones
%{_datadir}/mime-info
%{_datadir}/gnome-stonesrc*
%{_datadir}/gnibbles
%{_datadir}/sol-games
%{_datadir}/omf
%{_libdir}/gnome-stones
%{_libdir}/*.so.*
%{_sysconfdir}/gconf/schemas/*
%config(noreplace) %attr(664, games, games) /var/lib/games/*
%config(noreplace) %{_sysconfdir}/sound/events/*
# %{_bindir}/*
# these are setgid games
%attr(2551, root, games) %{_bindir}/gnomine
%attr(2551, root, games) %{_bindir}/same-gnome
%attr(2551, root, games) %{_bindir}/mahjongg
%attr(2551, root, games) %{_bindir}/gtali
%attr(2551, root, games) %{_bindir}/gnobots2
%attr(2551, root, games) %{_bindir}/gnome-stones
%attr(2551, root, games) %{_bindir}/gataxx
%attr(2551, root, games) %{_bindir}/gnotravex
%attr(2551, root, games) %{_bindir}/gnotski
%attr(2551, root, games) %{_bindir}/gnibbles
%attr(2551, root, games) %{_bindir}/glines
%attr(2551, root, games) %{_bindir}/iagno
%attr(2551, root, games) %{_bindir}/freecell
%attr(2551, root, games) %{_bindir}/sol
# these are not setgid
%{_bindir}/ctali
# would be a devel package if it was worth it (nothing links to this anyhow)
%{_includedir}/gdkcardimage
%{_libdir}/*.so
%changelog
* Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
- 1.93.0
- remove empty NEWS/README
- fix ldconfig in post
* Sun May 26 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- 1.92.0
* Fri May 3 2002 Havoc Pennington <hp@redhat.com>
- 1.91.0
* Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
- GNOME 2 version
- spec file cleanups
- no devel package
- don't run auto*, just use the "rm from buildroot" approach to lose xbill
* Tue Apr 09 2002 Phil Knirsch <pknirsch@redhat.com>
- Bumped version number for rebuild and relink agains new guile lib
* Tue Aug 14 2001 Jonathan Blandford <jrb@redhat.com>
- Add BuildRequires on ncurses-devel
* Mon Jul 23 2001 Jonathan Blandford <jrb@redhat.com>
- Add BuildRequires
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Fri Apr 20 2001 <jrb@redhat.com>
- New version (1.4.0)
* Tue Apr 17 2001 Jonathan Blandford <jrb@redhat.com>
- New Version.
* Tue Feb 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
- use %%{_tmppath}
- langify
* Mon Aug 21 2000 Nalin Dahyabhai <nalin@redhat.com>
- run ldconfig in post and postun (#16589)
- don't put the post and postun scripts in the middle of the files list --
that tends to break things (oops)
* Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com>
- Up Epoch and release
* Fri Aug 04 2000 Havoc Pennington <hp@redhat.com>
- Remove .desktop for gturing
* Mon Jul 17 2000 Jonathan Blandford <jrb@redhat.com>
- Mark high-score files as %config(noreplace).
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Tue Jul 11 2000 Nalin Dahyabhai <nalin@redhat.com>
- rebuild in new environment
* Sat Jul 8 2000 Havoc Pennington <hp@redhat.com>
- Remove Docdir
* Tue Jul 03 2000 Nalin Dahyabhai <nalin@redhat.com>
- rebuild in new environment
* Thu Jun 15 2000 Owen Taylor <otaylor@redhat.com>
- 1.2.0
- remove gnometris, xbill from subdirs since we don't install
them and they cause problems with new C compiler
- update autoconf stuff
- remove gturing, add gnotski to the file list
* Thu May 11 2000 Matt Wilson <msw@redhat.com>
- 1.1.90
* Thu Feb 10 2000 Preston Brown <pbrown@redhat.com>
- mark sound event files as config files
* Tue Sep 21 1999 Michael Fulbright <drmike@redhat.com>
- fixed gnotravex to not loop infinitely
* Mon Sep 20 1999 Elliot Lee <sopwith@redhat.com>
- Update to 1.0.40
* Sat Apr 10 1999 Jonathan Blandford <jrb@redhat.com>
- added new sol games and a fix for the old ones.
* Mon Mar 29 1999 Michael Fulbright <drmike@redhat.com>
- removed more offending t*tris stuff
* Thu Mar 18 1999 Michael Fulbright <drmike@redhat.com>
- version 1.0.2
- made gnibbles have correct attr since its setgid
- strip binaries
* Sun Mar 14 1999 Michael Fulbright <drmike@redhat.com>
- added score files to file list
* Thu Mar 04 1999 Michael Fulbright <drmike@redhat.com>
- Version 1.0.1
* Fri Feb 19 1999 Michael Fulbright <drmike@redhat.com>
- removed *tris games
* Mon Feb 15 1999 Michael Fulbright <drmike@redhat.com>
- version 0.99.8
- added sound event lists to file list
- touched up file list some more
* Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
- added gnibbles data to file list
* Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
- updated to 0.99.7
* Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
- updated to 0.99.5
* Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com>
- updated to 0.99.3
* Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com>
- updated to 0.99.1
* Thu Dec 16 1998 Michael Fulbright <drmike@redhat.com>
- updated to 0.99.0 in prep for GNOME 1.0
* Sat Nov 21 1998 Michael Fulbright <drmike@redhat.com>
- updated for 0.30 tree
* Fri Nov 20 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
- use --localstatedir=/var/lib in config state (score files for games
for exemple will go there).
* Mon Mar 16 1998 Marc Ewing <marc@redhat.com>
- Integrate into gnome-games CVS source tree