1 | Summary: Gcompris educational software suite |
---|
2 | Summary(ja): Gcompris 知育用ソフトウェア・スィート |
---|
3 | Name: gcompris |
---|
4 | Version: 8.4.12 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | License: GPLv2 |
---|
7 | URL: http://gcompris.net/ |
---|
8 | Group: Applications/Edutainment |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | BuildRequires: gtk2-devel gdk-pixbuf-devel libgnomecanvas-devel |
---|
11 | BuildRequires: glib2-devel intltool SDL-devel gnuchess sqlite3-devel |
---|
12 | BuildRequires: SDL_mixer-devel gnet2-devel pygtk2-devel texi2html |
---|
13 | BuildRequires: gstreamer-devel |
---|
14 | # for info file |
---|
15 | BuildRequires: texinfo |
---|
16 | Requires: sqlite3 gnuchess SDL gtk2 SDL_mixer smpeg |
---|
17 | Requires: libgnomecanvas gnet2 tuxpaint |
---|
18 | Requires(post,preun): install-info |
---|
19 | Source0: http://sourceforge.net/projects/gcompris/files/gcompris/%{name}-%{version}.tar.gz |
---|
20 | Source1: gcompris-ja-8.4.12-0.5.po |
---|
21 | |
---|
22 | %description |
---|
23 | GCompris is a high quality educational software suite comprising of numerous activities for children aged 2 to 10. |
---|
24 | |
---|
25 | %description -l ja |
---|
26 | GCompris は、主に 2歳〜10歳位の子供を対象とした、多数の科目を含む高品質な |
---|
27 | 知育用ソフトウェア・スィートです。 |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q |
---|
31 | cp -f %{SOURCE1} po/ja.po |
---|
32 | |
---|
33 | %build |
---|
34 | %configure --enable-gnet |
---|
35 | |
---|
36 | %__make |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | |
---|
41 | %__make DESTDIR=$RPM_BUILD_ROOT install |
---|
42 | %{find_lang} %{name} |
---|
43 | |
---|
44 | %clean |
---|
45 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
46 | |
---|
47 | %post |
---|
48 | /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz |
---|
49 | |
---|
50 | %preun |
---|
51 | /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz |
---|
52 | |
---|
53 | %files -f %{name}.lang |
---|
54 | %defattr(-,root,root) |
---|
55 | %doc README COPYING TODO ChangeLog |
---|
56 | %{_bindir}/* |
---|
57 | %{_infodir}/gcompris.info.gz |
---|
58 | %{_datadir}/pixmaps/* |
---|
59 | %{_datadir}/man/* |
---|
60 | %{_datadir}/gcompris/* |
---|
61 | %{_datadir}/applications/* |
---|
62 | %{_libdir}/* |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 8.4.12-2 |
---|
66 | - build with python 2.6 |
---|
67 | - add BuildRequires: texinfo: for info file |
---|
68 | - using find_lang rpm macro |
---|
69 | - using Requires(post,preun): replace Prereq for install-info |
---|
70 | |
---|
71 | * Sat Jul 4 2009 KATO Masashi <mkato@par.odn.ne.jp> 8.4.12-1 |
---|
72 | - initial build for Vine Linux |
---|
73 | |
---|