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