]> git.pld-linux.org Git - packages/gcompris.git/blame - gcompris.spec
- up to 8.4.6
[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
776cb178 8Version: 8.4.6
267f1e10 9Release: 1
68a9327d 10License: GPL v3+
9fa4c457 11Group: X11/Applications/Games
13a04bb8 12Source0: http://dl.sourceforge.net/gcompris/%{name}-%{version}.tar.gz
776cb178 13# Source0-md5: fc8d8364b8faf77be8281d90af66a481
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
48dac87a 39Requires: python-gnome-canvas
40Requires: python-modules
776cb178 41Suggests: gnuchess
dcf4c2a6 42Obsoletes: gcompris-devel
2e89556e 43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9fa4c457 44
45%description
2e89556e 46GCompris / I Have Understood is an educational game for children
5e727704 47starting 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 59The game is included in the GNOME desktop under the Game menu.
9fa4c457 60
61You should install it only if you have children using this computer.
62
20990158
JR
63%description -l fr.UTF-8
64GCompris / J'ai Compris est un logiciel éducatif pour les enfants à
5e727704 65partir de 2 ans.
9fa4c457 66
20990158 67Aujourd'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 78Le 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
83GCompris / Zrozumiałem to gra edukacyjna dla dzieci od 2 lat.
2e89556e 84Aktualnie 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 96Gra jest włączana do menu Gry na pulpicie GNOME.
2e89556e 97
20990158 98Warto 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 106cp %{_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
120rm -rf $RPM_BUILD_ROOT
121
122%{__make} install \
486822a2 123 DESTDIR=$RPM_BUILD_ROOT
9fa4c457 124
27ad1f74
JB
125# replace fr with en one
126cp -f docs/C/gcompris.info $RPM_BUILD_ROOT%{_infodir}/gcompris.info
127
128rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
129
776cb178 130# remove unpackaged files
131rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
132rm -f $RPM_BUILD_ROOT%{_prefix}/lib/menu/%{name}
133
9fa4c457 134%find_lang %{name} --with-gnome
135
136%clean
137rm -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
This page took 0.153619 seconds and 4 git commands to generate.