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