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