Commit c99d0889 authored by Bruno Coudoin's avatar Bruno Coudoin

- From trunk r2983 - removed unmaitained spec file - fixed menu file not

	- From trunk r2983
	- removed unmaitained spec file
	- fixed menu file not to include icon extension
	- fixed bug#475301 missing freetype includes to compile libgnomecanvas


svn path=/branches/gcomprixo/; revision=2986
parent de3e07ca
2007-09-10 Bruno coudoin <bruno.coudoin@free.fr>
- From trunk r2983
- removed unmaitained spec file
- fixed menu file not to include icon extension
- fixed bug#475301 missing freetype includes to compile libgnomecanvas
* configure.in:
* gcompris-edit.desktop.in:
* gcompris.desktop.in:
* src/libgnomecanvas/Makefile.am:
* Makefile.am: no more distribute an rpm spec file
* gcompris.spec.in: deleted
2007-08-22 Bruno coudoin <bruno.coudoin@free.fr>
Improved the per activity startup script, it now works
......
......@@ -43,7 +43,6 @@ EXTRA_DIST = \
$(Applications_in_files) \
$(icon_DATA) \
$(Menu_DATA) \
gcompris.spec.in \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
......@@ -81,17 +80,13 @@ clean-local:
rm -f intltool-extract intltool-merge intltool-update
-rm -fr $(BUNDLE_APPDIR)
# Creates separates distribution files for the sounds by locale
dist-sounds:
./create_dist_sounds en @ALL_LINGUAS@
# Create a core dist file without localized sounds file
dist-core:
cp $(distdir).tar.gz $(distcore).tar.gz
gzip -df $(distcore).tar.gz
tar f $(distcore).tar --delete $(distdir)/boards/sounds
gzip --best $(distcore).tar
@echo Created $(distcore).tar.gz
update-voices:
@if test -d $(PACKAGE_DATA_DIR)/voices; then \
svn up $(PACKAGE_DATA_DIR)/voices; \
else \
mkdir $(PACKAGE_DATA_DIR)/voices; \
svn co http://svn.gnome.org/svn/gcompris/voices $(PACKAGE_DATA_DIR)/voices; \
fi
all-local:
......
......@@ -151,19 +151,15 @@ PKG_CHECK_MODULES(XML, libxml-2.0)
AC_SUBST(XML_CFLAGS)
AC_SUBST(XML_LIBS)
dnl Freetype2 flags (needed for libgnomecanvas)
PKG_CHECK_MODULES(FT2, freetype2)
AC_SUBST(FT2_CFLAGS)
dnl glib-genmarshal
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
AM_ICONV
dnl XF86VidMode allows us to set the screen resolution dynamically
AC_PATH_X
XLIBADD=
if test "x$x_libraries" != "x"; then
XLIBADD=" -L$x_libraries "
fi
LDFLAGS="${LDFLAGS}"
dnl Add the languages which your application supports here.
......@@ -545,9 +541,8 @@ fi
dnl Autoconf output
AC_OUTPUT([ gcompris.spec
AC_OUTPUT([ Makefile.mingw
Makefile
Makefile.mingw
autopackage/Makefile
autopackage/default.apspec
boards/Makefile
......
......@@ -3,7 +3,7 @@ Encoding=UTF-8
Name=GCompris Administration
_Comment=Administration for gcompris
Exec=gcompris -a --nolockcheck
Icon=gcompris-edit.png
Icon=gcompris-edit
Terminal=false
Type=Application
Categories=Education;
......
......@@ -4,7 +4,7 @@ _Name=Educational suite GCompris
_GenericName=Multi-activity educational game
_Comment=Educational game for ages 2 to 10
Exec=gcompris
Icon=gcompris.png
Icon=gcompris
Terminal=false
Type=Application
Categories=Game;KidsGame;
......
%define name gcompris
%define version @VERSION@
%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define prefix /usr
%define canvaspackage %(if rpm -q redhat-release &> /dev/null; then echo gdk-pixbuf-gnome; elif rpm -q mandrake-release &> /dev/null; then echo gdk-pixbuf-gnomecanvas; else echo; fi)
%define canvaslib %(if rpm -q mandriva-release &> /dev/null; then echo libgnomecanvas2; else echo libgnomecanvas; fi)
Summary: Educational suite for kids 2-10 years old
Name: %name
Version: %version
Release: %rel
License: GPL
Group: Games/Other
Source: ftp://gcompris.sourceforge.net/gcompris-%{PACKAGE_VERSION}.tar.gz
BuildRoot: %_tmppath/%name-%version-buildroot
Buildrequires: gnuchess gnucap
Buildrequires: libxml2-devel libgnomeui2-devel libsqlite3_0-devel
Buildrequires: texinfo
# (misc) needed for python support
Buildrequires: python-devel pygtk2.0-devel
Requires: gnome-libs libxml2 gdk-pixbuf %canvaspackage %canvaslib
Requires: gnuchess >= 5.02
Requires: @REQUIRE_PYTHON@
Requires: libSDL_mixer1.2
Requires: libsqlite3_0
Packager: Bruno Coudoin <bcoudoin.coudoin@free.fr>
URL: http://gcompris.net
%description
GCompris / I Got IT is an educationnal game for children starting at 2.
More than 100 different activities are proposed:
* Click on the animals => learn the mouse/click usage
* Type the falling letters => learn the keyboard usage
* Falling Dices
* Falling words
* Basic algebra
* Time learning with an analog clock
* Puzzle game with famous paintings
* Drive Plane to catch clouds in increasing number
* Balance the scales
* And much more ...
The Game is included in the Main desktop menu in 'Games'.
You should install it only if you have children using this computer.
%description -l fr
GCompris / J'ai Compris est un logiciel ducatif pour les enfants
partir de 2 ans.
Plus de 100 activits sont proposes :
* Cliquer sur les animaux => apprentissage du click et de la souris
* Entrer les lettres qui tombent => Apprentissage du clavier
* Les ds qui tombent
* Les mots qui tombent
* Algbre simple
* Apprentissage de la lecture de l'heure sur une horloge analogique
* Puzzle avec des tableaux clbres
* Pilote un avion pour attraper les nuages dans l'ordre
* Equilibre la balance
* ...
Le jeu est inclus dans les icones sous le menu Jeux.
A installer si vous avez des enfants utilisant cet ordinateur.
%package devel
Summary: Development package for gcompris
Group: Amusements/Games
Version: %version
%description devel
Development package for gcompris
%package -n gcompris-voices-cs
Summary: GCompris Czech voices
Group: Amusements/Games
Version: @VERSION_VOICES_CS@
%description -n gcompris-voices-cs
Czech voices for the GCompris game
%package -n gcompris-voices-da
Summary: GCompris Danish voices
Group: Amusements/Games
Version: @VERSION_VOICES_DA@
%description -n gcompris-voices-da
Danish voices for the GCompris game
%package -n gcompris-voices-de
Summary: GCompris voices in German
Group: Amusements/Games
Version: @VERSION_VOICES_DE@
%description -n gcompris-voices-de
Alphabet voices in German
%package -n gcompris-voices-en
Summary: GCompris voices in English
Group: Amusements/Games
Version: @VERSION_VOICES_EN@
%description -n gcompris-voices-en
English voices for the GCompris game
%package -n gcompris-voices-es
Summary: GCompris voices in Spanish
Group: Amusements/Games
Version: @VERSION_VOICES_ES@
%description -n gcompris-voices-es
Spanish voices for the GCompris game
%package -n gcompris-voices-eu
Summary: GCompris voices in Basque
Group: Amusements/Games
Version: @VERSION_VOICES_EU@
%description -n gcompris-voices-eu
Basque voices for the GCompris game
%package -n gcompris-voices-fi
Summary: GCompris voices in Finish
Group: Amusements/Games
Version: @VERSION_VOICES_FI@
%description -n gcompris-voices-fi
Finish voices for the GCompris game
%package -n gcompris-voices-fr
Summary: GCompris voices in French
Group: Amusements/Games
Version: @VERSION_VOICES_FR@
%description -n gcompris-voices-fr
French voices for the GCompris game
%package -n gcompris-voices-hu
Summary: GCompris voices in Hungarian
Group: Amusements/Games
Version: @VERSION_VOICES_HU@
%description -n gcompris-voices-hu
Hungarian voices for the GCompris game
%package -n gcompris-voices-it
Summary: GCompris voices in Italian
Group: Amusements/Games
Version: @VERSION_VOICES_IT@
%description -n gcompris-voices-it
Italian voices for the GCompris game
%package -n gcompris-voices-nl
Summary: GCompris voices in Dutch
Group: Amusements/Games
Version: @VERSION_VOICES_NL@
%description -n gcompris-voices-nl
Dutch voices for the GCompris game
%package -n gcompris-voices-mr
Summary: GCompris voices in Marathi
Group: Amusements/Games
Version: @VERSION_VOICES_MR@
%description -n gcompris-voices-mr
Marathi voices for the GCompris game
%package -n gcompris-voices-pt
Summary: GCompris voices in Portuguese
Group: Amusements/Games
Version: @VERSION_VOICES_PT@
%description -n gcompris-voices-pt
Portuguese voices for the GCompris game
%package -n gcompris-voices-pt-br
Summary: GCompris voices in Brasilian
Group: Amusements/Games
Version: @VERSION_VOICES_PT_BR@
%description -n gcompris-voices-pt-br
Brasilian voices for the GCompris game
%package -n gcompris-voices-ru
Summary: GCompris voices in Russian
Group: Amusements/Games
Version: @VERSION_VOICES_RU@
%description -n gcompris-voices-ru
Russian voices for the GCompris game
%package -n gcompris-voices-sv
Summary: Alphabet voices in Swedish
Group: Amusements/Games
Version: @VERSION_VOICES_SV@
%description -n gcompris-voices-sv
Alphabet voices in Swedish
%package -n gcompris-voices-tr
Summary: Alphabet voices in Turkish
Group: Amusements/Games
Version: @VERSION_VOICES_TR@
%description -n gcompris-voices-tr
Alphabet voices in Turkish
%prep
%setup -q
%build
%ifarch alpha
MYARCH_FLAGS="--host=alpha-redhat-linux"
%endif
%configure
%make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std
%clean
rm -rf $RPM_BUILD_ROOT
%post
%update_menus
%_install_info %{name}.info
%postun
%clean_menus
%preun
%_remove_install_info %{name}.info
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%_bindir/*
%dir %_libdir/%{name}/
%_libdir/%{name}/*
%_libdir/libgcompris-1.so.0.0.0
%_libdir/libgcompris-1.so.0
%_menudir/*
%dir %{prefix}/share/gcompris
%dir %{prefix}/share/gcompris/boards
%dir %{prefix}/share/gcompris/boards/skins
%{prefix}/share/gcompris/boards/skins/*
%{prefix}/share/gcompris/boards/[^s]*
%{prefix}/share/gcompris/boards/s[tcemu]*
%{prefix}/share/gcompris/boards/sound_group*
%dir %{prefix}/share/gcompris/boards/sounds
%{prefix}/share/gcompris/boards/sounds/*.ogg
%{prefix}/share/gcompris/boards/sounds/melody/*/*.ogg
%{prefix}/share/gcompris/boards/sounds/memory/*.ogg
%{prefix}/share/gcompris/boards/sounds/chronos/space/*.ogg
%{prefix}/share/gcompris/boards/sounds/LuneRouge/*
%{prefix}/share/gcompris/boards/sounds/HOWTO_ENCODE
%dir %{prefix}/share/gcompris/python
%{prefix}/share/gcompris/python/*
%{prefix}/share/applications/*
%{prefix}/share/locale/*/*/*
%{prefix}/share/pixmaps/*.png
%_infodir/*
%_mandir/*
%files devel
%dir %_includedir/libgcompris-1.0/libgcompris
%_includedir/libgcompris-1.0/libgcompris/*
%dir %_libdir
%_libdir/libgcompris-1.la
%_libdir/libgcompris-1.so
%_libdir/pkgconfig/libgcompris-1.0.pc
%files -n gcompris-voices-cs
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/cs
%files -n gcompris-voices-da
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/da
%files -n gcompris-voices-de
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/de
%files -n gcompris-voices-en
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/en
%files -n gcompris-voices-es
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/es
%files -n gcompris-voices-eu
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/eu
%files -n gcompris-voices-fi
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/fi
%files -n gcompris-voices-fr
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/fr
%files -n gcompris-voices-hu
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/hu
%files -n gcompris-voices-it
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/it
%files -n gcompris-voices-mr
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/mr
%files -n gcompris-voices-nl
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/nl
%files -n gcompris-voices-pt
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/pt
%files -n gcompris-voices-pt-br
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/pt_BR
%files -n gcompris-voices-ru
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/ru
%files -n gcompris-voices-sv
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/sv
%files -n gcompris-voices-tr
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/tr
......@@ -5,6 +5,7 @@ INCLUDES = \
-I$(top_srcdir)/src \
$(WARN_CFLAGS) \
$(GCOMPRIS_CFLAGS) \
$(FT2_CFLAGS) \
-DGNOMECANVASLIBDIR=\""$(libdir)"\" \
-DGNOMECANVASDATADIR=\""$(datadir)"\" \
-DGNOMECANVASPIXMAPDIR=\""$(datadir)/pixmaps"\" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment