[521] | 1 | Summary: Gcompris educational software suite |
---|
| 2 | Summary(ja): Gcompris 知育用ソフトウェア・スィート |
---|
| 3 | Name: gcompris |
---|
[6431] | 4 | Version: 12.05 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: GPLv2 |
---|
| 7 | URL: http://gcompris.net/ |
---|
| 8 | Group: Applications/Edutainment |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[6431] | 10 | |
---|
| 11 | BuildRequires: gtk2-devel >= 2.12.0 |
---|
| 12 | BuildRequires: librsvg2-devel >= 2.26.0 |
---|
| 13 | BuildRequires: libxml2-devel >= 2.6.16 |
---|
| 14 | BuildRequires: SDL_mixer-devel |
---|
| 15 | BuildRequires: gstreamer-devel |
---|
| 16 | BuildRequires: gnet2-devel |
---|
| 17 | BuildRequires: sqlite3-devel |
---|
| 18 | BuildRequires: python-devel |
---|
| 19 | BuildRequires: pygtk2-devel |
---|
| 20 | BuildRequires: pycairo-devel |
---|
| 21 | BuildRequires: gnuchess |
---|
| 22 | BuildRequires: texi2html |
---|
[3296] | 23 | # for info file |
---|
| 24 | BuildRequires: texinfo |
---|
[6431] | 25 | |
---|
| 26 | Requires: sqlite3 gnuchess gtk2 SDL_mixer smpeg |
---|
| 27 | Requires: gnet2 tuxpaint |
---|
| 28 | |
---|
| 29 | Requires(post,postun): desktop-file-utils |
---|
[3296] | 30 | Requires(post,preun): install-info |
---|
[521] | 31 | |
---|
[6431] | 32 | Source0: http://sourceforge.net/projects/gcompris/files/gcompris/%{name}-%{version}.tar.bz2 |
---|
| 33 | |
---|
| 34 | |
---|
[521] | 35 | %description |
---|
| 36 | GCompris is a high quality educational software suite comprising of numerous activities for children aged 2 to 10. |
---|
| 37 | |
---|
| 38 | %description -l ja |
---|
| 39 | GCompris は、主に 2歳〜10歳位の子供を対象とした、多数の科目を含む高品質な |
---|
| 40 | 知育用ソフトウェア・スィートです。 |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | |
---|
| 45 | %build |
---|
| 46 | %configure --enable-gnet |
---|
[6431] | 47 | make %{?_smp_mflags} |
---|
[521] | 48 | |
---|
| 49 | |
---|
| 50 | %install |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
[6431] | 52 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 53 | |
---|
[6431] | 54 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 55 | |
---|
[3296] | 56 | %{find_lang} %{name} |
---|
[521] | 57 | |
---|
[6431] | 58 | |
---|
[521] | 59 | %clean |
---|
| 60 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 61 | |
---|
| 62 | %post |
---|
[6431] | 63 | update-desktop-database &> /dev/null ||: |
---|
[521] | 64 | /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz |
---|
| 65 | |
---|
| 66 | %preun |
---|
| 67 | /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz |
---|
| 68 | |
---|
[6431] | 69 | %postun |
---|
| 70 | update-desktop-database &> /dev/null ||: |
---|
| 71 | |
---|
| 72 | |
---|
[3296] | 73 | %files -f %{name}.lang |
---|
[521] | 74 | %defattr(-,root,root) |
---|
| 75 | %doc README COPYING TODO ChangeLog |
---|
| 76 | %{_bindir}/* |
---|
| 77 | %{_infodir}/gcompris.info.gz |
---|
[6431] | 78 | %{_datadir}/applications/* |
---|
| 79 | %{_datadir}/%{name}/* |
---|
| 80 | %{_datadir}/gnome/help/%{name} |
---|
[521] | 81 | %{_datadir}/pixmaps/* |
---|
| 82 | %{_libdir}/* |
---|
[6431] | 83 | %{_mandir}/* |
---|
[521] | 84 | |
---|
| 85 | %changelog |
---|
[6431] | 86 | * Tue Jun 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 12.05-1 |
---|
| 87 | - new upstream release |
---|
| 88 | |
---|
[3296] | 89 | * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 8.4.12-2 |
---|
| 90 | - build with python 2.6 |
---|
| 91 | - add BuildRequires: texinfo: for info file |
---|
| 92 | - using find_lang rpm macro |
---|
| 93 | - using Requires(post,preun): replace Prereq for install-info |
---|
| 94 | |
---|
[521] | 95 | * Sat Jul 4 2009 KATO Masashi <mkato@par.odn.ne.jp> 8.4.12-1 |
---|
| 96 | - initial build for Vine Linux |
---|
| 97 | |
---|