]> git.pld-linux.org Git - packages/gcompris.git/blame - gcompris.spec
- updated to 9.5
[packages/gcompris.git] / gcompris.spec
CommitLineData
776cb178 1#
2# Conditional build:
3%bcond_without gnet # build without gnet support (disallow GCompris fetch content from a web server)
4#
5e727704 5Summary: Educational suite for kids 2-10 years old
f35d4735 6Summary(pl.UTF-8): Zestaw edukacyjny dla dzieci w wieku 2-10 lat
9fa4c457 7Name: gcompris
775b1df1 8Version: 9.5
6dea0b0e 9Release: 1
68a9327d 10License: GPL v3+
9fa4c457 11Group: X11/Applications/Games
01ef02b5 12Source0: http://downloads.sourceforge.net/gcompris/%{name}-%{version}.tar.gz
775b1df1 13# Source0-md5: 1653285f04a8bac4b73fc4243f7810f9
27ad1f74 14Patch0: %{name}-info.patch
f430e675 15Patch1: %{name}-desktop.patch
486822a2 16URL: http://gcompris.net/
a4a857f2
JK
17BuildRequires: autoconf
18BuildRequires: automake
19BuildRequires: gettext-devel
776cb178 20BuildRequires: gnet-devel
75eaddf6 21BuildRequires: gnome-common
68a9327d 22BuildRequires: gstreamer-devel
a4a857f2 23BuildRequires: intltool
27ad1f74 24BuildRequires: libao-devel
27ad1f74 25BuildRequires: libogg-devel
55930104 26BuildRequires: librsvg-devel
4145b06c 27BuildRequires: libstdc++-devel
a4a857f2 28BuildRequires: libtool
9fa4c457 29BuildRequires: libvorbis-devel
27ad1f74 30BuildRequires: libxml2-devel
4145b06c 31BuildRequires: pkgconfig
27ad1f74 32BuildRequires: popt-devel >= 1.5
9fa4c457 33BuildRequires: python-devel
55930104 34BuildRequires: python-pycairo-devel
139599a0 35BuildRequires: python-pygtk-devel
f430e675
JK
36BuildRequires: python-sqlite
37BuildRequires: sqlite3-devel
57d06fdb 38BuildRequires: texi2html
c89eb246 39BuildRequires: texinfo
34c323c5 40Requires: gstreamer-audio-formats
41Requires: gstreamer-audiosink
42Requires: gstreamer-vorbis
48dac87a 43Requires: python-gnome-canvas
44Requires: python-modules
9453e8d8 45Requires: python-sqlite
776cb178 46Suggests: gnuchess
34c323c5 47Suggests: tuxpaint
dcf4c2a6 48Obsoletes: gcompris-devel
2e89556e 49BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9fa4c457 50
51%description
2e89556e 52GCompris / I Have Understood is an educational game for children
5e727704 53starting 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 65The game is included in the GNOME desktop under the Game menu.
9fa4c457 66
67You should install it only if you have children using this computer.
68
20990158
JR
69%description -l fr.UTF-8
70GCompris / J'ai Compris est un logiciel éducatif pour les enfants à
5e727704 71partir de 2 ans.
9fa4c457 72
20990158 73Aujourd'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 84Le 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
89GCompris / Zrozumiałem to gra edukacyjna dla dzieci od 2 lat.
2e89556e 90Aktualnie 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 102Gra jest włączana do menu Gry na pulpicie GNOME.
2e89556e 103
20990158 104Warto 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 112cp %{_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" \
122 --%{!?with_gnet:dis}%{?with_gnet:en}able-gnet
9fa4c457 123%{__make}
124
125%install
126rm -rf $RPM_BUILD_ROOT
127
128%{__make} install \
486822a2 129 DESTDIR=$RPM_BUILD_ROOT
9fa4c457 130
27ad1f74 131# replace fr with en one
775b1df1 132cp -a docs/C/gcompris.info $RPM_BUILD_ROOT%{_infodir}/gcompris.info
27ad1f74 133
775b1df1 134%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
27ad1f74 135
776cb178 136# remove unpackaged files
775b1df1 137%{__rm} $RPM_BUILD_ROOT%{_datadir}/info/dir
776cb178 138
9fa4c457 139%find_lang %{name} --with-gnome
140
141%clean
142rm -rf $RPM_BUILD_ROOT
143
f79383d3
ER
144%post -p /sbin/postshell
145-/usr/sbin/fix-info-dir -c %{_infodir}
27ad1f74 146
f79383d3
ER
147%postun -p /sbin/postshell
148-/usr/sbin/fix-info-dir -c %{_infodir}
27ad1f74 149
9fa4c457 150%files -f %{name}.lang
151%defattr(644,root,root,755)
775b1df1 152%doc AUTHORS ChangeLog README README.translators THANKS TODO
9fa4c457 153%attr(755,root,root) %{_bindir}/*
9fa4c457 154%dir %{_libdir}/%{name}
3280a88b 155%attr(755,root,root) %{_libdir}/%{name}/lib*.so
9fa4c457 156%dir %{_datadir}/gcompris
776cb178 157%{_datadir}/gcompris/boards
3280a88b 158%{_datadir}/gcompris/python
f6903810 159%{_desktopdir}/*.desktop
27ad1f74 160%{_infodir}/*.info*
55930104 161# gcompris uses its own goocanvas libraries with some specific changes
162%attr(755,root,root) %{_libdir}/gcompris/libgoocanvas.so.0
163%attr(755,root,root) %{_libdir}/gcompris/libgoocanvas.so.0.0.0
8e11f886 164%{_mandir}/man6/gcompris.*
9fa4c457 165%{_pixmapsdir}/*.png
This page took 0.135662 seconds and 4 git commands to generate.