Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gcompris.spec.in
blob: b1f8a6ffa8e7b31c0d32443d7d3c26143ff7d353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
%define ver      	@VERSION@
%define RELEASE 	1
%define rel     	%{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define verassetml     	1.0
%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)

Summary: Educational suite for kids 3-10 years old
Name: 		gcompris
Version: 	%ver
Release: 	%rel
Copyright: 	GPL
Group: 		Amusements/Games
Source:		ftp://gcompris.sourceforge.net/gcompris-%{PACKAGE_VERSION}.tar.gz
BuildRoot: 	/var/tmp/gcompris-%{PACKAGE_VERSION}-root
URL: 		http://ofset.sf.net/gcompris
Docdir: 	%{prefix}/share/doc/gcompris-%{PACKAGE_VERSION}
Requires:	gnome-libs libxml2 gdk-pixbuf %canvaspackage
Requires:       gnuchess >= 5.02
Requires:       python gnome-python gnome-python-canvas pygtk2.0
Requires:       gcompris-libassetml
Requires:	gcompris-assetml-flags
Packager:       Bruno Coudoin <bcoudoin.coudoin@free.fr>

%description
GCompris / I Have Understood is an educationnal game for children starting at 3.
More than 40 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 3 ans.

Plus de 40 activités sont proposées :
* Cliquer sur les animaux => apprentissage du click et de la souris
* Entrer les lettres qui tombent => Apprentissage du clavier
* Les dés qui tombent
* Les mots qui tombent
* Algèbre simple
* Apprentissage de la lecture de l'heure sur une horloge analogique
* Puzzle avec des tableaux célèbres
* 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 -n assetml-voices-alphabet-de
Summary:        Alphabet voices in German
Group: 		Amusements/Games
Version: @VERSION_VOICES_ALPHABET_DE@

%description -n assetml-voices-alphabet-de
Alphabet voices in German

%package -n assetml-voices-colors-de
Summary:        Colors voices in German
Group: 		Amusements/Games
Version: @VERSION_VOICES_COLORS_DE@

%description -n assetml-voices-colors-de
Colors voices in German

%package -n assetml-voices-geography-de
Summary:        Country name voices in German
Group: 		Amusements/Games
Version: @VERSION_VOICES_GEOGRAPHY_DE@

%description -n assetml-voices-geography-de
Country name voices in German

%package -n assetml-voices-misc-de
Summary:        Miscelaneous voices in German
Group: 		Amusements/Games
Version: @VERSION_VOICES_MISC_DE@

%description -n assetml-voices-misc-de
Miscelaneous voices in German


%package -n assetml-voices-alphabet-en
Summary:        Alphabet voices in English
Group: 		Amusements/Games
Version: @VERSION_VOICES_ALPHABET_EN@

%description -n assetml-voices-alphabet-en
Alphabet voices in English

%package -n assetml-voices-colors-en
Summary:        Colors voices in English
Group: 		Amusements/Games
Version: @VERSION_VOICES_COLORS_EN@

%description -n assetml-voices-colors-en
Colors voices in English

%package -n assetml-voices-geography-en
Summary:        Country name voices in English
Group: 		Amusements/Games
Version: @VERSION_VOICES_GEOGRAPHY_EN@

%description -n assetml-voices-geography-en
Country name voices in English

%package -n assetml-voices-misc-en
Summary:        Miscelaneous voices in English
Group: 		Amusements/Games
Version: @VERSION_VOICES_MISC_EN@

%description -n assetml-voices-misc-en
Miscelaneous voices in English


%package -n assetml-voices-alphabet-es
Summary:        Alphabet voices in Spanish
Group: 		Amusements/Games
Version: @VERSION_VOICES_ALPHABET_ES@

%description -n assetml-voices-alphabet-es
Alphabet voices in Spanish

%package -n assetml-voices-colors-es
Summary:        Colors voices in Spanish
Group: 		Amusements/Games
Version: @VERSION_VOICES_COLORS_ES@

%description -n assetml-voices-colors-es
Colors voices in Spanish

%package -n assetml-voices-geography-es
Summary:        Country name voices in Spanish
Group: 		Amusements/Games
Version: @VERSION_VOICES_GEOGRAPHY_ES@

%description -n assetml-voices-geography-es
Country name voices in Spanish

%package -n assetml-voices-misc-es
Summary:        Miscelaneous voices in Spanish
Group: 		Amusements/Games
Version: @VERSION_VOICES_MISC_ES@

%description -n assetml-voices-misc-es
Miscelaneous voices in Spanish


%package -n assetml-voices-alphabet-fr
Summary:        Alphabet voices in French
Group: 		Amusements/Games
Version: @VERSION_VOICES_ALPHABET_FR@

%description -n assetml-voices-alphabet-fr
Alphabet voices in French

%package -n assetml-voices-colors-fr
Summary:        Colors voices in French
Group: 		Amusements/Games
Version: @VERSION_VOICES_COLORS_FR@

%description -n assetml-voices-colors-fr
Colors voices in French

%package -n assetml-voices-geography-fr
Summary:        Country name voices in French
Group: 		Amusements/Games
Version: @VERSION_VOICES_GEOGRAPHY_FR@

%description -n assetml-voices-geography-fr
Country name voices in French

%package -n assetml-voices-misc-fr
Summary:        Miscelaneous voices in French
Group: 		Amusements/Games
Version: @VERSION_VOICES_MISC_FR@

%description -n assetml-voices-misc-fr
Miscelaneous voices in French


%package -n assetml-voices-alphabet-pt
Summary:        Alphabet voices in Portuguese
Group: 		Amusements/Games
Version: @VERSION_VOICES_ALPHABET_PT@

%description -n assetml-voices-alphabet-pt
Alphabet voices in Portuguese

%package -n assetml-voices-colors-pt
Summary:        Colors voices in Portuguese
Group: 		Amusements/Games
Version: @VERSION_VOICES_COLORS_PT@

%description -n assetml-voices-colors-pt
Colors voices in Portuguese

%package -n assetml-voices-geography-pt
Summary:        Country name voices in Portuguese
Group: 		Amusements/Games
Version: @VERSION_VOICES_GEOGRAPHY_PT@

%description -n assetml-voices-geography-pt
Country name voices in Portuguese

%package -n assetml-voices-misc-pt
Summary:        Miscelaneous voices in Portuguese
Group: 		Amusements/Games
Version: @VERSION_VOICES_MISC_PT@

%description -n assetml-voices-misc-pt
Miscelaneous voices in Portuguese


%package -n assetml-flags
Summary:        Contains png 60x40 country flags and an assetml description file
Group: 		Pixmaps
Version: 	1.0

%description -n assetml-flags
Contains png 60x40 country flags and an assetml description file

%package libassetml
Summary:        Library assetml to share image and audio file between project
Group: 		System/Libraries
Version: 	%verassetml
Requires:       libxml2 glib

%description libassetml
AssetML Library

%package libassetml-devel
Summary:        Devel Library assetml to share image and audio file between project
Group: 		System/Libraries
Version: 	%verassetml
Requires:       libassetml

%description libassetml-devel
AssetML Devel Library

%prep
%setup -q

%build
%ifarch alpha
  MYARCH_FLAGS="--host=alpha-redhat-linux"
%endif

CFLAGS="$RPM_OPT_FLAGS" ./configure --quiet $MYARCH_FLAGS --prefix=%{prefix} \
	 --localstatedir=/var/lib

if [ "$SMP" != "" ]; then
  make -j$SMP MAKE="make -j$SMP"
else
  make
fi

%install
rm -rf $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT%{prefix} install >install.log 2>&1

%clean
rm -rf $RPM_BUILD_ROOT

%post 

%postun 

%files
%defattr(-, root, root)
%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO THANKS
%attr(-, root, games) %{prefix}/bin/*
%{prefix}/lib/gcompris
%{_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/[^fs]*
%{prefix}/share/gcompris/boards/f[iu]*
%{prefix}/share/gcompris/boards/s[cmu]*
%dir %{prefix}/share/gcompris/boards/sounds
%{prefix}/share/gcompris/boards/sounds/*.ogg
%{prefix}/share/gcompris/boards/sounds/HOWTO_ENCODE
%{prefix}/share/gnome/apps/Games/*
%{prefix}/share/gnome/help/*
%{prefix}/share/locale/*/*/*
%{prefix}/share/pixmaps/*.png
%{prefix}/info/*

%files -n assetml-voices-alphabet-de
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/de/alphabet
%{prefix}/share/@ASSETML_DIR@/gcompris_alphabet_de.assetml

%files -n assetml-voices-colors-de
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/de/colors
%{prefix}/share/@ASSETML_DIR@/gcompris_colors_de.assetml

%files -n assetml-voices-geography-de
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/de/geography
%{prefix}/share/@ASSETML_DIR@/gcompris_geography_de.assetml

%files -n assetml-voices-misc-de
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/de/misc
%{prefix}/share/@ASSETML_DIR@/gcompris_misc_de.assetml


%files -n assetml-voices-alphabet-en
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/en/alphabet
%{prefix}/share/@ASSETML_DIR@/gcompris_alphabet_en.assetml

%files -n assetml-voices-colors-en
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/en/colors
%{prefix}/share/@ASSETML_DIR@/gcompris_colors_en.assetml

%files -n assetml-voices-geography-en
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/en/geography
%{prefix}/share/@ASSETML_DIR@/gcompris_geography_en.assetml

%files -n assetml-voices-misc-en
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/en/misc
%{prefix}/share/@ASSETML_DIR@/gcompris_misc_en.assetml


%files -n assetml-voices-alphabet-es
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/es/alphabet
%{prefix}/share/@ASSETML_DIR@/gcompris_alphabet_es.assetml

%files -n assetml-voices-colors-es
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/es/colors
%{prefix}/share/@ASSETML_DIR@/gcompris_colors_es.assetml

%files -n assetml-voices-geography-es
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/es/geography
%{prefix}/share/@ASSETML_DIR@/gcompris_geography_es.assetml

%files -n assetml-voices-misc-es
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/es/misc
%{prefix}/share/@ASSETML_DIR@/gcompris_misc_es.assetml


%files -n assetml-voices-alphabet-fr
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/fr/alphabet
%{prefix}/share/@ASSETML_DIR@/gcompris_alphabet_fr.assetml

%files -n assetml-voices-colors-fr
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/fr/colors
%{prefix}/share/@ASSETML_DIR@/gcompris_colors_fr.assetml

%files -n assetml-voices-geography-fr
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/fr/geography
%{prefix}/share/@ASSETML_DIR@/gcompris_geography_fr.assetml

%files -n assetml-voices-misc-fr
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/fr/misc
%{prefix}/share/@ASSETML_DIR@/gcompris_misc_fr.assetml


%files -n assetml-voices-alphabet-pt
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/pt/alphabet
%{prefix}/share/@ASSETML_DIR@/gcompris_alphabet_pt.assetml

%files -n assetml-voices-colors-pt
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/pt/colors
%{prefix}/share/@ASSETML_DIR@/gcompris_colors_pt.assetml

%files -n assetml-voices-geography-pt
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/pt/geography
%{prefix}/share/@ASSETML_DIR@/gcompris_geography_pt.assetml

%files -n assetml-voices-misc-pt
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/sounds/pt/misc
%{prefix}/share/@ASSETML_DIR@/gcompris_misc_pt.assetml

%files -n assetml-flags
%defattr(-, root, root)
%{prefix}/share/gcompris/boards/flags/*
%{prefix}/share/@ASSETML_DIR@/gcompris_flags.assetml

%files libassetml
%defattr(-, root, root)
%{prefix}/lib/libassetml.so.*
%{prefix}/bin/assetml-query

%files libassetml-devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_libdir}/*a
%{_includedir}/libassetml*/*
%{_libdir}/pkgconfig/libassetml.pc