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