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