]> git.pld-linux.org Git - packages/gcompris.git/blob - gcompris.spec
- R: gstreamer-audio-formats, gstreamer-audiosink, gstreamer-vorbis
[packages/gcompris.git] / gcompris.spec
1 #
2 # Conditional build:
3 %bcond_without  gnet    # build without gnet support (disallow GCompris fetch content from a web server)
4 #
5 Summary:        Educational suite for kids 2-10 years old
6 Summary(pl.UTF-8):      Zestaw edukacyjny dla dzieci w wieku 2-10 lat
7 Name:           gcompris
8 Version:        8.4.6
9 Release:        1
10 License:        GPL v3+
11 Group:          X11/Applications/Games
12 Source0:        http://dl.sourceforge.net/gcompris/%{name}-%{version}.tar.gz
13 # Source0-md5:  fc8d8364b8faf77be8281d90af66a481
14 Patch0:         %{name}-info.patch
15 Patch1:         %{name}-desktop.patch
16 URL:            http://gcompris.net/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gettext-devel
20 BuildRequires:  gnet-devel
21 BuildRequires:  gstreamer-devel
22 BuildRequires:  intltool
23 BuildRequires:  libao-devel
24 BuildRequires:  libgnomeui-devel >= 2.2.0
25 BuildRequires:  libogg-devel
26 BuildRequires:  libstdc++-devel
27 BuildRequires:  libtool
28 BuildRequires:  libvorbis-devel
29 BuildRequires:  libxml2-devel
30 BuildRequires:  pkgconfig
31 BuildRequires:  popt-devel >= 1.5
32 BuildRequires:  python-devel
33 BuildRequires:  python-gnome-devel
34 BuildRequires:  python-sqlite
35 BuildRequires:  sqlite3-devel
36 BuildRequires:  tetex
37 BuildRequires:  texinfo
38 BuildRequires:  xorg-lib-libXxf86vm-devel
39 Requires:       gstreamer-audio-formats
40 Requires:       gstreamer-audiosink
41 Requires:       gstreamer-vorbis
42 Requires:       python-gnome-canvas
43 Requires:       python-modules
44 Requires:       python-sqlite
45 Suggests:       gnuchess
46 Suggests:       tuxpaint
47 Obsoletes:      gcompris-devel
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 GCompris / I Have Understood is an educational game for children
52 starting at 2. Today several Boards are implemented:
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
64 The game is included in the GNOME desktop under the Game menu.
65
66 You should install it only if you have children using this computer.
67
68 %description -l fr.UTF-8
69 GCompris / J'ai Compris est un logiciel éducatif pour les enfants à
70 partir de 2 ans.
71
72 Aujourd'hui, plusieurs tableaux sont implémentés :
73 - Cliquer sur les animaux => apprentissage du click et de la souris
74 - Entrer les lettres qui tombent => Apprentissage du clavier
75 - Les dés qui tombent
76 - Les mots qui tombent
77 - Algèbre simple
78 - Apprentissage de la lecture de l'heure sur une horloge analogique
79 - Puzzle avec des tableaux célèbres
80 - Pilote un avion pour attraper les nuages dans l'ordre
81 - Equilibre la balance
82
83 Le jeu est inclus dans le bureau GNOME sous le menu Jeux.
84
85 À installer si vous avez des enfants utilisant cet ordinateur.
86
87 %description -l pl.UTF-8
88 GCompris / Zrozumiałem to gra edukacyjna dla dzieci od 2 lat.
89 Aktualnie zaimplementowane jest kilka plansz:
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
94 - podstawowa algebra
95 - nauka czasu z zegarkiem analogowym
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...
100
101 Gra jest włączana do menu Gry na pulpicie GNOME.
102
103 Warto ją instalować tylko jeśli mamy dzieci używające komputera.
104
105 %prep
106 %setup -q
107 %patch0 -p1
108 %patch1 -p1
109
110 %build
111 cp %{_datadir}/gettext/config.rpath .
112 %{__glib_gettextize}
113 %{__intltoolize}
114 %{__libtoolize}
115 %{__aclocal}
116 %{__autoconf}
117 %{__autoheader}
118 %{__automake}
119 %configure \
120         GNUCHESS="%{_bindir}/gnuchess" \
121         --%{!?with_gnet:dis}%{?with_gnet:en}able-gnet
122 %{__make}
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126
127 %{__make} install \
128         DESTDIR=$RPM_BUILD_ROOT
129
130 # replace fr with en one
131 cp -f docs/C/gcompris.info $RPM_BUILD_ROOT%{_infodir}/gcompris.info
132
133 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
134
135 # remove unpackaged files
136 rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
137 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/menu/%{name}
138
139 %find_lang %{name} --with-gnome
140
141 %clean
142 rm -rf $RPM_BUILD_ROOT
143
144 %post   -p      /sbin/postshell
145 -/usr/sbin/fix-info-dir -c %{_infodir}
146
147 %postun -p      /sbin/postshell
148 -/usr/sbin/fix-info-dir -c %{_infodir}
149
150 %files -f %{name}.lang
151 %defattr(644,root,root,755)
152 %doc AUTHORS ChangeLog NEWS README THANKS TODO
153 %attr(755,root,root) %{_bindir}/*
154 %dir %{_libdir}/%{name}
155 %attr(755,root,root) %{_libdir}/%{name}/lib*.so
156 %dir %{_datadir}/gcompris
157 %{_datadir}/gcompris/boards
158 %{_datadir}/gcompris/python
159 %{_desktopdir}/*.desktop
160 %{_infodir}/*.info*
161 %{_mandir}/man6/*.6*
162 %{_pixmapsdir}/*.png
This page took 0.178559 seconds and 3 git commands to generate.