]>
Commit | Line | Data |
---|---|---|
5e727704 | 1 | Summary: Educational suite for kids 2-10 years old |
f35d4735 | 2 | Summary(pl.UTF-8): Zestaw edukacyjny dla dzieci w wieku 2-10 lat |
9fa4c457 | 3 | Name: gcompris |
f430e675 JK |
4 | Version: 8.2.2 |
5 | Release: 0.9 | |
9fa4c457 | 6 | License: GPL |
7 | Group: X11/Applications/Games | |
13a04bb8 | 8 | Source0: http://dl.sourceforge.net/gcompris/%{name}-%{version}.tar.gz |
f430e675 | 9 | # Source0-md5: 297d6507ed9a4c6558f8bce6b6f81406 |
27ad1f74 | 10 | Patch0: %{name}-info.patch |
f430e675 | 11 | Patch1: %{name}-desktop.patch |
486822a2 | 12 | URL: http://gcompris.net/ |
3280a88b | 13 | BuildRequires: SDL_mixer-devel |
a4a857f2 JK |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
16 | BuildRequires: gettext-devel | |
17 | BuildRequires: intltool | |
27ad1f74 | 18 | BuildRequires: libao-devel |
9fa4c457 | 19 | BuildRequires: libgnomeui-devel >= 2.2.0 |
27ad1f74 | 20 | BuildRequires: libogg-devel |
4145b06c | 21 | BuildRequires: libstdc++-devel |
a4a857f2 | 22 | BuildRequires: libtool |
9fa4c457 | 23 | BuildRequires: libvorbis-devel |
27ad1f74 | 24 | BuildRequires: libxml2-devel |
4145b06c | 25 | BuildRequires: pkgconfig |
27ad1f74 | 26 | BuildRequires: popt-devel >= 1.5 |
9fa4c457 | 27 | BuildRequires: python-devel |
36ee287d | 28 | BuildRequires: python-gnome-devel |
f430e675 JK |
29 | BuildRequires: python-sqlite |
30 | BuildRequires: sqlite3-devel | |
4145b06c | 31 | BuildRequires: tetex |
27ad1f74 | 32 | BuildRequires: texinfo |
48dac87a | 33 | Requires: python-gnome-canvas |
34 | Requires: python-modules | |
2e89556e | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9fa4c457 | 36 | |
37 | %description | |
2e89556e | 38 | GCompris / I Have Understood is an educational game for children |
5e727704 | 39 | starting at 2. Today several Boards are implemented: |
9fa4c457 | 40 | - Click on the animals => learn the mouse/click usage |
41 | - Type the falling letters => learn the keyboard usage | |
42 | - Falling Dices | |
43 | - Falling words | |
44 | - Basic algebra | |
45 | - Time learning with an analog clock | |
46 | - Puzzle game with famous paintings | |
47 | - Drive Plane to catch clouds in increasing number | |
48 | - Balance the scales | |
49 | - And much more ... | |
50 | ||
78406971 | 51 | The game is included in the GNOME desktop under the Game menu. |
9fa4c457 | 52 | |
53 | You should install it only if you have children using this computer. | |
54 | ||
20990158 JR |
55 | %description -l fr.UTF-8 |
56 | GCompris / J'ai Compris est un logiciel éducatif pour les enfants à | |
5e727704 | 57 | partir de 2 ans. |
9fa4c457 | 58 | |
20990158 | 59 | Aujourd'hui, plusieurs tableaux sont implémentés : |
9fa4c457 | 60 | - Cliquer sur les animaux => apprentissage du click et de la souris |
61 | - Entrer les lettres qui tombent => Apprentissage du clavier | |
20990158 | 62 | - Les dés qui tombent |
9fa4c457 | 63 | - Les mots qui tombent |
20990158 | 64 | - Algèbre simple |
9fa4c457 | 65 | - Apprentissage de la lecture de l'heure sur une horloge analogique |
20990158 | 66 | - Puzzle avec des tableaux célèbres |
9fa4c457 | 67 | - Pilote un avion pour attraper les nuages dans l'ordre |
68 | - Equilibre la balance | |
69 | ||
78406971 | 70 | Le jeu est inclus dans le bureau GNOME sous le menu Jeux. |
9fa4c457 | 71 | |
20990158 | 72 | À installer si vous avez des enfants utilisant cet ordinateur. |
9fa4c457 | 73 | |
20990158 JR |
74 | %description -l pl.UTF-8 |
75 | GCompris / Zrozumiałem to gra edukacyjna dla dzieci od 2 lat. | |
2e89556e | 76 | Aktualnie zaimplementowane jest kilka plansz: |
20990158 JR |
77 | - klikanie na zwierzętach - nauka używania myszy/klikania |
78 | - wpisywanie spadających liter - nauka używania klawiatury | |
79 | - spadające kostki | |
80 | - spadające słowa | |
2e89556e JB |
81 | - podstawowa algebra |
82 | - nauka czasu z zegarkiem analogowym | |
20990158 JR |
83 | - układanka ze słynnymi obrazami |
84 | - prowadzenie samolotu z łapaniem coraz większej liczby chmur | |
85 | - równoważenie wagi | |
86 | - i wiele więcej... | |
2e89556e | 87 | |
20990158 | 88 | Gra jest włączana do menu Gry na pulpicie GNOME. |
2e89556e | 89 | |
20990158 | 90 | Warto ją instalować tylko jeśli mamy dzieci używające komputera. |
2e89556e | 91 | |
3280a88b | 92 | %package devel |
9346e790 | 93 | Summary: gcompris development package |
f35d4735 | 94 | Summary(pl.UTF-8): Pliki dla programistów gcompris |
9346e790 | 95 | Group: Development/Libraries |
96 | Requires: %{name} = %{version}-%{release} | |
3280a88b | 97 | |
98 | %description devel | |
99 | gcompris development package. | |
100 | ||
20990158 JR |
101 | %description devel -l pl.UTF-8 |
102 | Pliki dla programistów gcompris. | |
3280a88b | 103 | |
9fa4c457 | 104 | %prep |
e8949cf9 | 105 | %setup -q |
27ad1f74 | 106 | %patch0 -p1 |
a4a857f2 | 107 | %patch1 -p1 |
a2494871 | 108 | |
9fa4c457 | 109 | %build |
f430e675 | 110 | cp /usr/share/gettext/config.rpath . |
3280a88b | 111 | glib-gettextize --copy --force |
a4a857f2 | 112 | intltoolize --copy --force |
3280a88b | 113 | %{__libtoolize} |
a4a857f2 JK |
114 | %{__aclocal} |
115 | %{__autoconf} | |
116 | %{__autoheader} | |
117 | %{__automake} | |
27ad1f74 | 118 | %configure \ |
3280a88b | 119 | GNUCHESS="%{_bindir}/gnuchess" |
9fa4c457 | 120 | %{__make} |
121 | ||
122 | %install | |
123 | rm -rf $RPM_BUILD_ROOT | |
124 | ||
125 | %{__make} install \ | |
486822a2 | 126 | DESTDIR=$RPM_BUILD_ROOT |
9fa4c457 | 127 | |
27ad1f74 JB |
128 | # replace fr with en one |
129 | cp -f docs/C/gcompris.info $RPM_BUILD_ROOT%{_infodir}/gcompris.info | |
130 | ||
131 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la | |
132 | ||
9fa4c457 | 133 | %find_lang %{name} --with-gnome |
134 | ||
135 | %clean | |
136 | rm -rf $RPM_BUILD_ROOT | |
137 | ||
27ad1f74 JB |
138 | %post |
139 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
3280a88b | 140 | /sbin/ldconfig |
27ad1f74 JB |
141 | |
142 | %postun | |
143 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
3280a88b | 144 | /sbin/ldconfig |
27ad1f74 | 145 | |
9fa4c457 | 146 | %files -f %{name}.lang |
147 | %defattr(644,root,root,755) | |
fcd357e8 | 148 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
9fa4c457 | 149 | %attr(755,root,root) %{_bindir}/* |
3280a88b | 150 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
9fa4c457 | 151 | %dir %{_libdir}/%{name} |
3280a88b | 152 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so |
9fa4c457 | 153 | %dir %{_datadir}/gcompris |
154 | %dir %{_datadir}/gcompris/boards | |
2e89556e | 155 | %{_datadir}/gcompris/boards/[!fs]* |
011f5041 | 156 | %{_datadir}/gcompris/boards/f[iou]* |
157 | %{_datadir}/gcompris/boards/s[cekmu]* | |
2e89556e | 158 | %dir %{_datadir}/gcompris/boards/sounds |
9fa4c457 | 159 | %{_datadir}/gcompris/boards/sounds/*.ogg |
3280a88b | 160 | %{_datadir}/gcompris/boards/sounds/chronos |
161 | %{_datadir}/gcompris/boards/sounds/melody | |
162 | %{_datadir}/gcompris/python | |
f6903810 | 163 | %{_desktopdir}/*.desktop |
27ad1f74 | 164 | %{_infodir}/*.info* |
9fa4c457 | 165 | %{_pixmapsdir}/*.png |
166 | ||
3280a88b | 167 | %files devel |
168 | %defattr(644,root,root,755) | |
169 | %attr(755,root,root) %{_libdir}/lib*.so | |
170 | %{_libdir}/lib*.la | |
171 | %{_includedir}/libgcompris-1.0 | |
172 | %{_pkgconfigdir}/*.pc |