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