%define name gcompris %define version 2.3 %define release 1mdk Summary: GCompris Name: %name Version: %version Release: %release License: GPL Group: Games/Other Source: %name-%version.tar.bz2 BuildRoot: %_tmppath/%name-buildroot Buildrequires: gnuchess URL: http://gcompris.sourceforge.net %description GCompris / I Have Understood is an educationnal game for children starting at 3. Today several Boards are implemented: * Click on the falling animals => learn the mouse/click usage * Type the falling letters => learn the keyboard usage * Falling Dices * Falling words * Basic algebra The Game is included in the Gnome Desktop under the Game menu. You should install it only if you have children using this computer. You will also need to install the gnome-libs package. %prep %setup -q -n %name-%version %build %ifarch alpha MYARCH_FLAGS="--host=alpha-redhat-linux" %endif %define _libdir /usr/lib/%name #%define _menudir /usr/lib/menu CFLAGS="%optflags -I%_includedir/gdk-pixbuf-1.0 -I%_includedir/libxml2/libxml" %configure %make %install %makeinstall (cd $RPM_BUILD_ROOT mkdir -p ./usr/lib/menu cat > ./usr/lib/menu/%{name} <<EOF ?package(%{name}): \ command="/usr/bin/gcompris" \ title="Gcompris" \ longtitle="Educationnal game" \ icon="amusement_section.png" \ needs="x11" \ section="Amusement/Other" EOF ) %find_lang %name rm -rf $RPM_BUILD_ROOT%_datadir/locale/*/LC_MESSAGES/*GETTEXT* %clean rm -rf $RPM_BUILD_ROOT %post %update_menus %_install_info %{name}.info %postun %clean_menus %preun %_remove_install_info %{name}.info %files -f %name.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %_bindir/* %_libdir/* %_datadir/gnome/apps/Games/* %_datadir/gnome/help/gcompris/ %_datadir/gcompris/ %_datadir/pixmaps/* %_menudir/* %_infodir/* %changelog * Tue Feb 18 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.3-1mdk - 2.3 * Fri Feb 07 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.1-1mdk - 2.1 * Tue Jan 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.0.5-2mdk - rebuild * Tue May 28 2002 Christian Belisle <cbelisle@mandrakesoft.com> 1.0.5-1mdk - 1.0.5 * Mon May 06 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.0.4-1mdk - 1.0.4 * Tue Apr 23 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.0.3-1mdk - 1.0.3 * Tue Apr 09 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.0.2-1mdk - 1.0.2 - fix buid ( libxml2 headers ) * Tue Mar 19 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.0.1-1mdk - 1.0.1 * Fri Mar 01 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.0.0-0.2mdk - 1.0.0Pre4 * Mon Jan 28 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.0.0-0.1mdk - 1.0.0Pre2 - fix build (libxml) * Tue Dec 25 2001 David BAUDENS <baudens@mandrakesoft.com> 0.7.5-2mdk - Use standard icon for menu - Fix build * Wed Sep 26 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.7.5-1mdk - 0.7.5 * Tue Sep 11 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.7.1-1mdk - 0.7.1 * Mon Aug 27 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.6.5-1mdk - updated to 0.6.5 * Tue Jul 24 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.6.3-2mdk - moved plugins to a subdir of /usr/lib to avoid conflict with ncurses-devel. * Fri Jul 13 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.6.3-1mdk - updated to 0.6.3 * Thu Dec 28 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.3.5-1mdk - updated to 0.3.5 * Mon Dec 11 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.3.4-1mdk - new in contribs