]> git.pld-linux.org Git - packages/gcompris.git/blob - gcompris.spec
- locale todo
[packages/gcompris.git] / gcompris.spec
1 # TODO
2 # - error: gcompris-8.4.2-1: req /usr/share/locale/ar_TN/LC_MESSAGES not found
3 Summary:        Educational suite for kids 2-10 years old
4 Summary(pl.UTF-8):      Zestaw edukacyjny dla dzieci w wieku 2-10 lat
5 Name:           gcompris
6 Version:        8.4.2
7 Release:        1
8 License:        GPL v3+
9 Group:          X11/Applications/Games
10 Source0:        http://dl.sourceforge.net/gcompris/%{name}-%{version}.tar.gz
11 # Source0-md5:  226508072c72c0d78a66e918ef82715d
12 Patch0:         %{name}-info.patch
13 Patch1:         %{name}-desktop.patch
14 URL:            http://gcompris.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gstreamer-devel
19 BuildRequires:  intltool
20 BuildRequires:  libao-devel
21 BuildRequires:  libgnomeui-devel >= 2.2.0
22 BuildRequires:  libogg-devel
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  libtool
25 BuildRequires:  libvorbis-devel
26 BuildRequires:  libxml2-devel
27 BuildRequires:  pkgconfig
28 BuildRequires:  popt-devel >= 1.5
29 BuildRequires:  python-devel
30 BuildRequires:  python-gnome-devel
31 BuildRequires:  python-sqlite
32 BuildRequires:  sqlite3-devel
33 BuildRequires:  tetex
34 BuildRequires:  texinfo
35 Requires:       python-gnome-canvas
36 Requires:       python-modules
37 Obsoletes:      gcompris-devel
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 %prep
96 %setup -q
97 %patch0 -p1
98 %patch1 -p1
99
100 %build
101 cp /usr/share/gettext/config.rpath .
102 glib-gettextize --copy --force
103 intltoolize --copy --force
104 %{__libtoolize}
105 %{__aclocal}
106 %{__autoconf}
107 %{__autoheader}
108 %{__automake}
109 %configure \
110         GNUCHESS="%{_bindir}/gnuchess"
111 %{__make}
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115
116 %{__make} install \
117         DESTDIR=$RPM_BUILD_ROOT
118
119 # replace fr with en one
120 cp -f docs/C/gcompris.info $RPM_BUILD_ROOT%{_infodir}/gcompris.info
121
122 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
123
124 %find_lang %{name} --with-gnome
125
126 %clean
127 rm -rf $RPM_BUILD_ROOT
128
129 %post   -p      /sbin/postshell
130 -/usr/sbin/fix-info-dir -c %{_infodir}
131
132 %postun -p      /sbin/postshell
133 -/usr/sbin/fix-info-dir -c %{_infodir}
134
135 %files -f %{name}.lang
136 %defattr(644,root,root,755)
137 %doc AUTHORS ChangeLog NEWS README THANKS TODO
138 %attr(755,root,root) %{_bindir}/*
139 %dir %{_libdir}/%{name}
140 %attr(755,root,root) %{_libdir}/%{name}/lib*.so
141 %dir %{_datadir}/gcompris
142 %dir %{_datadir}/gcompris/boards
143 %{_datadir}/gcompris/boards/[!fs]*
144 %{_datadir}/gcompris/boards/f[iou]*
145 %{_datadir}/gcompris/boards/s[cekmu]*
146 %dir %{_datadir}/gcompris/boards/sounds
147 %{_datadir}/gcompris/boards/sounds/*.wav
148 %{_datadir}/gcompris/boards/flags
149 %{_datadir}/gcompris/boards/sounds/LuneRouge
150 %{_datadir}/gcompris/boards/sounds/chronos
151 %{_datadir}/gcompris/boards/sounds/melody
152 %{_datadir}/gcompris/boards/sounds/memory
153 %{_datadir}/gcompris/python
154 %{_desktopdir}/*.desktop
155 %{_infodir}/*.info*
156 %{_mandir}/man6/*.6*
157 %{_pixmapsdir}/*.png
This page took 0.112359 seconds and 3 git commands to generate.