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