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