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