2 # - probably desktop file need fixes
3 # - the game runs only once just after install when gcompris_qlite.db file doesn't exist yet (?)
4 Summary: Educational suite for kids 2-10 years old
5 Summary(pl.UTF-8): Zestaw edukacyjny dla dzieci w wieku 2-10 lat
10 Group: X11/Applications/Games
11 Source0: http://dl.sourceforge.net/gcompris/%{name}-%{version}.tar.gz
12 # Source0-md5: 33e5882945f43232953478c93eacf0e6
13 Patch0: %{name}-info.patch
14 Patch1: %{name}-desktop.patch
15 URL: http://gcompris.net/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gettext-devel
19 BuildRequires: gstreamer-devel
20 BuildRequires: intltool
21 BuildRequires: libao-devel
22 BuildRequires: libgnomeui-devel >= 2.2.0
23 BuildRequires: libogg-devel
24 BuildRequires: libstdc++-devel
25 BuildRequires: libtool
26 BuildRequires: libvorbis-devel
27 BuildRequires: libxml2-devel
28 BuildRequires: pkgconfig
29 BuildRequires: popt-devel >= 1.5
30 BuildRequires: python-devel
31 BuildRequires: python-gnome-devel
32 BuildRequires: python-sqlite
33 BuildRequires: sqlite3-devel
35 BuildRequires: texinfo
36 Requires: python-gnome-canvas
37 Requires: python-modules
38 Obsoletes: gcompris-devel
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 GCompris / I Have Understood is an educational game for children
43 starting at 2. Today several Boards are implemented:
44 - Click on the animals => learn the mouse/click usage
45 - Type the falling letters => learn the keyboard usage
49 - Time learning with an analog clock
50 - Puzzle game with famous paintings
51 - Drive Plane to catch clouds in increasing number
55 The game is included in the GNOME desktop under the Game menu.
57 You should install it only if you have children using this computer.
59 %description -l fr.UTF-8
60 GCompris / J'ai Compris est un logiciel éducatif pour les enfants à
63 Aujourd'hui, plusieurs tableaux sont implémentés :
64 - Cliquer sur les animaux => apprentissage du click et de la souris
65 - Entrer les lettres qui tombent => Apprentissage du clavier
67 - Les mots qui tombent
69 - Apprentissage de la lecture de l'heure sur une horloge analogique
70 - Puzzle avec des tableaux célèbres
71 - Pilote un avion pour attraper les nuages dans l'ordre
72 - Equilibre la balance
74 Le jeu est inclus dans le bureau GNOME sous le menu Jeux.
76 À installer si vous avez des enfants utilisant cet ordinateur.
78 %description -l pl.UTF-8
79 GCompris / Zrozumiałem to gra edukacyjna dla dzieci od 2 lat.
80 Aktualnie zaimplementowane jest kilka plansz:
81 - klikanie na zwierzętach - nauka używania myszy/klikania
82 - wpisywanie spadających liter - nauka używania klawiatury
86 - nauka czasu z zegarkiem analogowym
87 - układanka ze słynnymi obrazami
88 - prowadzenie samolotu z łapaniem coraz większej liczby chmur
92 Gra jest włączana do menu Gry na pulpicie GNOME.
94 Warto ją instalować tylko jeśli mamy dzieci używające komputera.
102 cp /usr/share/gettext/config.rpath .
103 glib-gettextize --copy --force
104 intltoolize --copy --force
111 GNUCHESS="%{_bindir}/gnuchess"
115 rm -rf $RPM_BUILD_ROOT
118 DESTDIR=$RPM_BUILD_ROOT
120 # replace fr with en one
121 cp -f docs/C/gcompris.info $RPM_BUILD_ROOT%{_infodir}/gcompris.info
123 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
125 %find_lang %{name} --with-gnome
128 rm -rf $RPM_BUILD_ROOT
131 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
134 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
136 %files -f %{name}.lang
137 %defattr(644,root,root,755)
138 %doc AUTHORS ChangeLog NEWS README THANKS TODO
139 %attr(755,root,root) %{_bindir}/*
140 %dir %{_libdir}/%{name}
141 %attr(755,root,root) %{_libdir}/%{name}/lib*.so
142 %dir %{_datadir}/gcompris
143 %dir %{_datadir}/gcompris/boards
144 %{_datadir}/gcompris/boards/[!fs]*
145 %{_datadir}/gcompris/boards/f[iou]*
146 %{_datadir}/gcompris/boards/s[cekmu]*
147 %dir %{_datadir}/gcompris/boards/sounds
148 %{_datadir}/gcompris/boards/sounds/*.wav
149 %{_datadir}/gcompris/boards/flags
150 %{_datadir}/gcompris/boards/sounds/LuneRouge
151 %{_datadir}/gcompris/boards/sounds/chronos
152 %{_datadir}/gcompris/boards/sounds/melody
153 %{_datadir}/gcompris/boards/sounds/memory
154 %{_datadir}/gcompris/python
155 %{_desktopdir}/*.desktop