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