gcompris-vl.spec 2.4 KB

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