]> git.pld-linux.org Git - packages/gcompris.git/blob - gcompris.spec
- Obsoletes for gcompris-devel, removed obsolete ldconfig
[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 Obsoletes:      gcompris-devel
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 GCompris / I Have Understood is an educational game for children
43 starting at 2. Today several Boards are implemented:
44 - Click on the animals => learn the mouse/click usage
45 - Type the falling letters => learn the keyboard usage
46 - Falling Dices
47 - Falling words
48 - Basic algebra
49 - Time learning with an analog clock
50 - Puzzle game with famous paintings
51 - Drive Plane to catch clouds in increasing number
52 - Balance the scales
53 - And much more ...
54
55 The game is included in the GNOME desktop under the Game menu.
56
57 You should install it only if you have children using this computer.
58
59 %description -l fr.UTF-8
60 GCompris / J'ai Compris est un logiciel éducatif pour les enfants à
61 partir de 2 ans.
62
63 Aujourd'hui, plusieurs tableaux sont implémentés :
64 - Cliquer sur les animaux => apprentissage du click et de la souris
65 - Entrer les lettres qui tombent => Apprentissage du clavier
66 - Les dés qui tombent
67 - Les mots qui tombent
68 - Algèbre simple
69 - Apprentissage de la lecture de l'heure sur une horloge analogique
70 - Puzzle avec des tableaux célèbres
71 - Pilote un avion pour attraper les nuages dans l'ordre
72 - Equilibre la balance
73
74 Le jeu est inclus dans le bureau GNOME sous le menu Jeux.
75
76 À installer si vous avez des enfants utilisant cet ordinateur.
77
78 %description -l pl.UTF-8
79 GCompris / Zrozumiałem to gra edukacyjna dla dzieci od 2 lat.
80 Aktualnie zaimplementowane jest kilka plansz:
81 - klikanie na zwierzętach - nauka używania myszy/klikania
82 - wpisywanie spadających liter - nauka używania klawiatury
83 - spadające kostki
84 - spadające słowa
85 - podstawowa algebra
86 - nauka czasu z zegarkiem analogowym
87 - układanka ze słynnymi obrazami
88 - prowadzenie samolotu z łapaniem coraz większej liczby chmur
89 - równoważenie wagi
90 - i wiele więcej...
91
92 Gra jest włączana do menu Gry na pulpicie GNOME.
93
94 Warto ją instalować tylko jeśli mamy dzieci używające komputera.
95
96 %prep
97 %setup -q
98 %patch0 -p1
99 %patch1 -p1
100
101 %build
102 cp /usr/share/gettext/config.rpath .
103 glib-gettextize --copy --force
104 intltoolize --copy --force
105 %{__libtoolize}
106 %{__aclocal}
107 %{__autoconf}
108 %{__autoheader}
109 %{__automake}
110 %configure \
111         GNUCHESS="%{_bindir}/gnuchess"
112 %{__make}
113
114 %install
115 rm -rf $RPM_BUILD_ROOT
116
117 %{__make} install \
118         DESTDIR=$RPM_BUILD_ROOT
119
120 # replace fr with en one
121 cp -f docs/C/gcompris.info $RPM_BUILD_ROOT%{_infodir}/gcompris.info
122
123 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
124
125 %find_lang %{name} --with-gnome
126
127 %clean
128 rm -rf $RPM_BUILD_ROOT
129
130 %post
131 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
132
133 %postun
134 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
135
136 %files -f %{name}.lang
137 %defattr(644,root,root,755)
138 %doc AUTHORS ChangeLog NEWS README THANKS TODO
139 %attr(755,root,root) %{_bindir}/*
140 %dir %{_libdir}/%{name}
141 %attr(755,root,root) %{_libdir}/%{name}/lib*.so
142 %dir %{_datadir}/gcompris
143 %dir %{_datadir}/gcompris/boards
144 %{_datadir}/gcompris/boards/[!fs]*
145 %{_datadir}/gcompris/boards/f[iou]*
146 %{_datadir}/gcompris/boards/s[cekmu]*
147 %dir %{_datadir}/gcompris/boards/sounds
148 %{_datadir}/gcompris/boards/sounds/*.wav
149 %{_datadir}/gcompris/boards/flags
150 %{_datadir}/gcompris/boards/sounds/LuneRouge
151 %{_datadir}/gcompris/boards/sounds/chronos
152 %{_datadir}/gcompris/boards/sounds/melody
153 %{_datadir}/gcompris/boards/sounds/memory
154 %{_datadir}/gcompris/python
155 %{_desktopdir}/*.desktop
156 %{_infodir}/*.info*
157 %{_mandir}/man6/*.6*
158 %{_pixmapsdir}/*.png
This page took 0.048132 seconds and 4 git commands to generate.