Summary: GNOME games
-Summary(pl): GNOME - Gry
+Summary(es): Juegos de GNOME
+Summary(fr): Jeux pour GNOME
+Summary(pl): GNOME - gry
+Summary(ru): éÇÒÙ ÐÏÄ GNOME
+Summary(uk): ¶ÇÒÉ Ð¦Ä GNOME
+Summary(wa): Djeus po GNOME
Name: gnome-games
-Version: 1.0.2
-Release: 1
-Copyright: LGPL
-Group: X11/GNOME
-Group(pl): X11/GNOME
-Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
+Version: 2.4.1.1
+Release: 2
+Epoch: 1
+License: LGPL
+Group: X11/Applications/Games
+Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
+# Source0-md5: 78f9ea8374be8bb7b681a9fd16dc8d3f
+Patch0: %{name}-schemas.patch
+Patch1: %{name}-desktop.patch
Icon: gnome-games.gif
-Requires: gnome-libs >= 1.0.0, ORBit >= 0.4.3, libaudiofile >= 0.1.5
-Requires: glib >= 1.2.0, gtk+ >= 1.2.0, guile >= 1.3, esound >= 0.2.7
-BuildPrereq: gnome-libs-devel
-URL: http://www.gnome.org
-BuildRoot: /tmp/%{name}-%{version}-root
+URL: http://www.gnome.org/
+BuildRequires: GConf2-devel >= 2.4.0
+BuildRequires: gnome-vfs2-devel >= 2.4.0
+BuildRequires: guile-devel >= 1.4.1
+BuildRequires: libgnome-devel >= 2.4.0
+BuildRequires: libgnomeui-devel >= 2.4.0
+BuildRequires: libltdl-devel
+BuildRequires: libstdc++-devel
+BuildRequires: scrollkeeper
+BuildRequires: rpm-build >= 4.1-10
+Requires(post): GConf2
+Requires(post,postun): /sbin/ldconfig
+Requires(post,postun): scrollkeeper
+Requires: gnome-vfs2 >= 2.4.0
+Obsoletes: gnect
Obsoletes: gnome
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _localstatedir /var
%description
GNOME games.
-GNOME is the GNU Network Object Model Environment. That's a fancy
-name but really GNOME is a nice GUI desktop environment. It makes
-using your computer easy, powerful, and easy to configure.
+GNOME is the GNU Network Object Model Environment. That's a fancy name
+but really GNOME is a nice GUI desktop environment. It makes using
+your computer easy, powerful, and easy to configure.
%description -l pl
Gry pod GNOME.
+%description -l uk
+ðÁËÅÔ gnome-games ×ËÌÀÞÁ¤ ¦ÇÒÉ ÄÌÑ ÓÅÒÅÄÏ×ÉÝÁ ÒÏÂÏÞÏÇÏ ÓÔÏÌÕ GNOME,
+ÓÅÒÅÄ ÑËÉÈ GnomeScott, freecell, gnibbles, gnobots, gnobots2,
+gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
+same-gnome ÔÁ sol.
+
+%description -l ru
+ðÁËÅÔ gnome-games ×ËÌÀÞÁÅÔ ÉÇÒÙ ÄÌÑ ÓÒÅÄÙ ÒÁÂÏÞÅÇÏ ÓÔÏÌÁ GNOME, ÓÒÅÄÉ
+ËÏÔÏÒÙÈ GnomeScott, freecell, gnibbles, gnobots, gnobots2,
+gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
+same-gnome É sol.
+
%package devel
Summary: GNOME games libraries - header files
-Summary(pl): Pliki nag³ówkowedo tworzenia programów opartych o GNOME games
-Group: X11/GNOME/Development/Libraries
-Group(pl): X11/GNOME/Programowanie/Biblioteki
-Requires: %{name} = %{version}
+Summary(pl): Pliki nag³ówkowe do tworzenia programów opartych o GNOME games
+Summary(ru): æÁÊÌÙ ÒÁÚÒÁÂÏÔËÉ ÉÇÒ ÐÏÄ GNOME
+Summary(uk): æÁÊÌÉ ÒÏÚÒÏÂËÉ ¦ÇÒ Ð¦Ä GNOME
+Group: X11/Development/Libraries
+Requires: %{name} = %{epoch}:%{version}
+Requires: gtk+2-devel >= 2.2.4
%description devel
GNOME games libraries - header files.
Right now this is just stuff to develop care games. I think.
-%description -l pl devel
-Pliki nag³ówkowedo tworzenia programów opartych o GNOME games.
+%description devel -l pl
+Pliki nag³ówkowe do tworzenia programów opartych o GNOME games.
+
+%description devel -l uk
+ðÁËÅÔ gnome-games-devel ×ÓÔÁÎÏ×ÌÀ¤ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ¦ÇÏÒ
+Ð¦Ä GNOME.
+
+%description devel -l ru
+ðÁËÅÔ gnome-games-devel ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ
+ÒÁÚÒÁÂÏÔËÉ ÉÇÒ ÐÏÄ GNOME.
%package static
Summary: GNOME games static libraries
Summary(pl): Biblioteki statyczne do GNOME games
-Group: X11/GNOME/Development/Libraries
-Group(pl): X11/GNOME/Programowanie/Biblioteki
-Requires: %{name}-devel = %{version}
+Group: X11/Development/Libraries
+Requires: %{name}-devel = %{epoch}:%{version}
%description static
GNOME games static libraries.
-%description static
-Biblioteki statyczne do GNOME games
+%description static -l pl
+Biblioteki statyczne do GNOME games.
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
-autoconf
-gettextize --copy --force
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target_platform} \
- --prefix=/usr/X11R6 \
- --sysconfdir=/etc/X11/GNOME \
- --localstatedir=/var
-
-make
+%configure
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT \
- localstatedir=$RPM_BUILD_ROOT/var \
- same_gnome_helpdir=$RPM_BUILD_ROOT/usr/X11R6/share/gnome/help/samegnome/C
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-strip $RPM_BUILD_ROOT/usr/X11R6/{bin/*,lib/lib*so.*.*}
-
-gzip -9nf AUTHORS ChangeLog NEWS README
-
-%find_lang %{name}
-
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%find_lang %{name} --with-gnome --all-name
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+/sbin/ldconfig
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+%postun
+/sbin/ldconfig
+/usr/bin/scrollkeeper-update
+
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS.gz ChangeLog.gz NEWS.gz README.gz
-%config /etc/X11/GNOME/sound/events/*
-
-%attr(755,root, root) /usr/X11R6/bin/GnomeScott
-%attr(755,root, root) /usr/X11R6/bin/cyahtzee
-%attr(755,root, root) /usr/X11R6/bin/freecell
-%attr(755,root, root) /usr/X11R6/bin/sol
-%attr(2755, games, games) /usr/X11R6/bin/gnobots
-%attr(2755, games, games) /usr/X11R6/bin/gnome-stones
-%attr(2755, games, games) /usr/X11R6/bin/gnomine
-%attr(2755, games, games) /usr/X11R6/bin/gnothello
-%attr(2755, games, games) /usr/X11R6/bin/gnotravex
-%attr(2755, games, games) /usr/X11R6/bin/gturing
-%attr(2755, games, games) /usr/X11R6/bin/gyahtzee
-%attr(2755, games, games) /usr/X11R6/bin/mahjongg
-%attr(2755, games, games) /usr/X11R6/bin/same-gnome
-
-%attr(755,root, root) /usr/X11R6/lib/lib*.so.*.*
-
-/usr/X11R6/share/pixmaps/*
-/usr/X11R6/share/sol-games
-/usr/X11R6/share/apps/Games/*
-/usr/X11R6/share/gnome/help/*
-
-%attr(664, games, games) /var/games/*
+%doc AUTHORS ChangeLog NEWS README
+%config %{_sysconfdir}/sound/events/*
+%{_sysconfdir}/gconf/schemas/*
+
+%attr(755,root,root) %{_bindir}/gataxx
+%attr(755,root,root) %{_bindir}/sol
+%attr(755,root,root) %{_bindir}/gnect
+%attr(755,root,root) %{_bindir}/gnibbles
+%attr(755,root,root) %{_bindir}/gnobots2
+%attr(755,root,root) %{_bindir}/blackjack
+%attr(2755,root,games) %{_bindir}/glines
+%attr(2755,root,games) %{_bindir}/gnome-stones
+%attr(2755,root,games) %{_bindir}/gnometris
+%attr(2755,root,games) %{_bindir}/gnomine
+%attr(2755,root,games) %{_bindir}/gnotravex
+%attr(2755,root,games) %{_bindir}/gnotski
+%attr(2755,root,games) %{_bindir}/gtali
+%attr(2755,root,games) %{_bindir}/iagno
+%attr(2755,root,games) %{_bindir}/mahjongg
+%attr(2755,root,games) %{_bindir}/same-gnome
+
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%dir %{_libdir}/gnome-stones
+%dir %{_libdir}/gnome-stones/objects
+%attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.so*
+%{_libdir}/gnome-stones/objects/lib*.la
+
+%{_datadir}/gnome-stones
+%{_datadir}/sol-games
+%{_datadir}/blackjack
+
+%{_datadir}/gnome-stonesrc
+%lang(ko) %{_datadir}/gnome-stonesrc.ko
+
+%{_datadir}/mime-info/*
+%{_pixmapsdir}/*
+%{_datadir}/sounds/*
+%{_desktopdir}/*
+%{_datadir}/gnect
+%{_datadir}/gnibbles
+%{_datadir}/gnobots2
+
+%{_omf_dest_dir}/%{name}
+%attr(664,root,games) %ghost %{_localstatedir}/games/*
%files devel
%defattr(644,root,root,755)
-%attr(0755,root, root) /usr/X11R6/lib/lib*.so
-/usr/X11R6/include/*
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/*
%files static
-%attr(664,root,root) /usr/X11R6/lib/lib*.a
-
-%changelog
-* Wed Jun 9 1999 Jan Rêkorajski <baggins@pld.org.pl>
- [1.0.2-1]
-- added find_lang macro
-
-* Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [0.99.1-1]
-- added LDFLAGS="-s" to ./configure enviroment,
-- added more Requires,
-- changed permission to %attr(2755, games, games) on some
- executables and to %attr(664, games, games) on game score
- files (/var/games/*),
-- more locales (fi, pl).
-
-* Fri Sep 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [0.27-3]
-- added package Icon,
-- changed prefix to /usr/X11R6.
-
-* Mon Aug 31 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
- [0.27-2]
-- added pl translation.
-
-* Mon Aug 24 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [0.27-1]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added static subpackage,
-- changed dependencies to "Requires: %%{name} = %%{version}" in devel
- subpackage,
-- added %post{un} with runing /sbin/ldconfig,
-- added "Requires: gnome-libs >= %%{version}" to main package,
-- added stripping shared libraries.
-
-* Mon Mar 16 1998 Marc Ewing <marc@redhat.com>
-- Integrate into gnome-games CVS source tree
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+%{_libdir}/gnome-stones/objects/lib*.a