~ubuntu-branches/ubuntu/trusty/gcompris/trusty

« back to all changes in this revision

Viewing changes to gcompris.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Yann Dirson
  • Date: 2002-04-21 16:16:27 UTC
  • Revision ID: james.westby@ubuntu.com-20020421161627-s07yahahm817qxs6
Tags: upstream-1.0.3
Import upstream version 1.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%define ver             @VERSION@
 
2
%define RELEASE         1
 
3
%define rel             %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
 
4
%define prefix          /usr
 
5
%define canvaspackage   %(if rpm -q redhat-release &> /dev/null; then echo gdk-pixbuf-gnome; elif rpm -q mandrake-release &> /dev/null; then echo gdk-pixbuf-gnomecanvas; else echo; fi)
 
6
 
 
7
Summary: GCompris / I Have Understood.
 
8
Name:           gcompris
 
9
Version:        %ver
 
10
Release:        %rel
 
11
Copyright:      GPL
 
12
Group:          Amusements/Games
 
13
Source:         ftp://gcompris.sourceforge.net/gcompris-%{PACKAGE_VERSION}.tgz
 
14
BuildRoot:      /var/tmp/gcompris-%{PACKAGE_VERSION}-root
 
15
URL:            http://savannah.gnu.org
 
16
Docdir:         %{prefix}/share/doc/gcompris-%{PACKAGE_VERSION}
 
17
Requires:       gnome-libs libxml2 gdk-pixbuf %canvaspackage
 
18
Packager:       Bruno Coudoin <bcoudoin.coudoin@free.fr>
 
19
 
 
20
%description
 
21
GCompris / I Have Understood is an educationnal game for children starting at 3.
 
22
Today several Boards are implemented:
 
23
* Click on the animals => learn the mouse/click usage
 
24
* Type the falling letters => learn the keyboard usage
 
25
* Falling Dices
 
26
* Falling words
 
27
* Basic algebra
 
28
* Time learning with an analog clock
 
29
* Puzzle game with famous paintings
 
30
* Drive Plane to catch clouds in increasing number
 
31
* Balance the scales
 
32
* And much more ...
 
33
 
 
34
The Game is included in the Gnome Desktop under the Game menu.
 
35
 
 
36
You should install it only if you have children using this computer.
 
37
 
 
38
%description -l fr
 
39
GCompris / J'ai Compris est un logiciel �ducatif pour les enfants 
 
40
� partir de 3 ans.
 
41
 
 
42
Aujourd'hui, plusieurs tableau sont impl�ment�s:
 
43
* Cliquer sur les animaux => apprentissage du clique et de la souris
 
44
* Entrer les lettre qui tombent => Apprentissage du clavier
 
45
* Les d�s qui tombent
 
46
* Les mots qui tombent
 
47
* Alg�bre simple
 
48
* Apprentissage de la lecture de l'heure sur une horloge analogique
 
49
* Puzzle avec des tableaux c�l�bres
 
50
* Pilote un avion pour attraper les nuages dans l'ordre
 
51
* Equilibre la balance
 
52
 
 
53
Le jeux est inclus dans le bureau Gnome sous le menu Jeux.
 
54
 
 
55
A installer si vous avez des enfants utilisant cet ordinateur.
 
56
 
 
57
%changelog
 
58
* Thu Dec 27 2001  Christian Rose  <menthos@menthos.com>
 
59
- gcompris.spec.in: Added fix for the different namings of
 
60
-                   the gnomecanvas packages on Mandrake
 
61
-                   and Red Hat systems. Also removed references
 
62
-                   to dependencies in the descriptions.
 
63
* Sun Sep 30 2001  Bruno Coudoin  <bruno.coudoin@free.fr>
 
64
- GCompris: Release 0.7.5
 
65
- TRANSLATION IS FIXED
 
66
 
 
67
* Fri May 25 2001  Bruno Coudoin  <bruno.coudoin@free.fr>
 
68
- TRANSLATION IS BROKEN
 
69
- WARNING: THE HIGHLIGHTING IS BROKEN
 
70
- ALL: Replace the imlib for images by the gdk-pixbuf library
 
71
- gcompris.spec.in: Added back the gcompris icon pixmap
 
72
- clickgame.c: Limit the number of fish to 5
 
73
- clickgame.c: Simplified the code by removing one hashtable.
 
74
- shapegame.c: Changed the board order to have the most difficult
 
75
               at the higher level (as suggested by Yann Dirson)
 
76
               Added the method shuffle_shape_list()
 
77
- gcompris.c (end_game): reset the timer in the status bar
 
78
- Makefile.am: Added DESTDIR prefix in the install hooks
 
79
- ALL: Boards are now separated from gcompris in src/
 
80
- boards/*: All boards are defined as independant plugins
 
81
- gcompris/*: Added the necessary glue to load the plugins
 
82
- configure.in: Removed PACKAGE_PIXMAPS_DIR
 
83
- data/*: The data directory has been renamed in boards
 
84
- pixmaps/*: The pixmaps directory has been moved to board/gcompris
 
85
             This will be the default gcompris icons. Other icons
 
86
             have been moved in a dir specific to their boards.
 
87
- boards/planegame.c: Set a max speed for the plane because children
 
88
                      have difficulties to manipulate it.
 
89
- docs/C/gcompris.texi: Update of the doc to explain the new plugin
 
90
                        mecanism
 
91
 
 
92
* Wed Apr 11 2001  Bruno Coudoin  <bruno.coudoin@free.fr>
 
93
- GCompris: Release 0.4.2
 
94
- gcompris.c: adjusted main window size calculation.
 
95
              it fixes a bug was making gcompris hardly
 
96
              unusable under 640x400
 
97
              Changed to not use the Gnome standard menu for loading
 
98
              help. Implemented my own to be able to be relocatable.
 
99
              This hack does not implement I18N for the help file.
 
100
- fi.po: Created by Jyrki Kuoppala <jkp@kaapeli.fi>
 
101
- data/wordsgame/*.fi:Created by Jyrki Kuoppala <jkp@kaapeli.fi>
 
102
- gcompris.soundlist: deleted. I now use direct sound call instead
 
103
                              of gnome .soundlist API
 
104
- sounds/*: now sounds are local to gcompris.
 
105
- configure.in: Changed to use local relative pixmaps and sounds
 
106
                        instead of gnome api
 
107
- src/*.c: Changed to use relative pixmaps and sounds
 
108
 
 
109
%package sounds-fr
 
110
Summary:        French sounds for GCompris
 
111
Group:          Amusements/Games
 
112
Requires:       %name
 
113
 
 
114
%description sounds-fr
 
115
French sounds for gcompris.
 
116
 
 
117
%package sounds-es
 
118
Summary:        Spanish sounds for GCompris
 
119
Group:          Amusements/Games
 
120
Requires:       %name
 
121
 
 
122
%description sounds-es
 
123
Spanish sounds for gcompris.
 
124
 
 
125
%package sounds-de
 
126
Summary:        German sounds for GCompris
 
127
Group:          Amusements/Games
 
128
Requires:       %name
 
129
 
 
130
%description sounds-de
 
131
German sounds for gcompris.
 
132
 
 
133
%package sounds-en
 
134
Summary:        English sounds for GCompris
 
135
Group:          Amusements/Games
 
136
Requires:       %name
 
137
 
 
138
%description sounds-en
 
139
English sounds for gcompris.
 
140
 
 
141
%prep
 
142
%setup -q
 
143
 
 
144
%build
 
145
%ifarch alpha
 
146
  MYARCH_FLAGS="--host=alpha-redhat-linux"
 
147
%endif
 
148
 
 
149
CFLAGS="$RPM_OPT_FLAGS" ./configure --quiet $MYARCH_FLAGS --prefix=%{prefix} \
 
150
         --localstatedir=/var/lib
 
151
 
 
152
if [ "$SMP" != "" ]; then
 
153
  make -j$SMP MAKE="make -j$SMP"
 
154
else
 
155
  make
 
156
fi
 
157
 
 
158
%install
 
159
rm -rf $RPM_BUILD_ROOT
 
160
 
 
161
make prefix=$RPM_BUILD_ROOT%{prefix} install >install.log 2>&1
 
162
 
 
163
%clean
 
164
rm -rf $RPM_BUILD_ROOT
 
165
 
 
166
%post 
 
167
 
 
168
%postun 
 
169
 
 
170
%files
 
171
%defattr(-, root, root)
 
172
%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO THANKS
 
173
%attr(-, root, games) %{prefix}/bin/*
 
174
%{prefix}/lib/gcompris
 
175
%{prefix}/lib/menu/*
 
176
%dir %{prefix}/share/gcompris
 
177
%dir %{prefix}/share/gcompris/boards
 
178
%{prefix}/share/gcompris/boards/[^s]*
 
179
%{prefix}/share/gcompris/boards/s[cm]*
 
180
%dir %{prefix}/share/gcompris/boards/sounds
 
181
%{prefix}/share/gcompris/boards/sounds/HOWTO_ENCODE
 
182
%{prefix}/share/gcompris/sounds
 
183
%{prefix}/share/gnome/apps/Games/*
 
184
%{prefix}/share/gnome/help/*
 
185
%{prefix}/info/*
 
186
%{prefix}/share/locale/*/*/*
 
187
%{prefix}/share/pixmaps/*
 
188
 
 
189
%files sounds-de
 
190
%defattr(-, root, root)
 
191
%{prefix}/share/gcompris/boards/sounds/de
 
192
 
 
193
%files sounds-en
 
194
%defattr(-, root, root)
 
195
%{prefix}/share/gcompris/boards/sounds/en
 
196
 
 
197
%files sounds-es
 
198
%defattr(-, root, root)
 
199
%{prefix}/share/gcompris/boards/sounds/es
 
200
 
 
201
%files sounds-fr
 
202
%defattr(-, root, root)
 
203
%{prefix}/share/gcompris/boards/sounds/fr