gcompris-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. %description
  22. GCompris is a high quality educational software suite comprising of numerous activities for children aged 2 to 10.
  23. %description -l ja
  24. GCompris は、主に 2歳〜10歳位の子供を対象とした、多数の科目を含む高品質な
  25. 知育用ソフトウェア・スィートです。
  26. %prep
  27. %setup -q
  28. cp -f %{SOURCE1} po/ja.po
  29. %build
  30. %configure --enable-gnet
  31. %__make
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. %__make DESTDIR=$RPM_BUILD_ROOT install
  35. %{find_lang} %{name}
  36. %clean
  37. %__rm -rf ${RPM_BUILD_ROOT}
  38. %post
  39. /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz
  40. %preun
  41. /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz
  42. %files -f %{name}.lang
  43. %defattr(-,root,root)
  44. %doc README COPYING TODO ChangeLog
  45. %{_bindir}/*
  46. %{_infodir}/gcompris.info.gz
  47. %{_datadir}/pixmaps/*
  48. %{_datadir}/man/*
  49. %{_datadir}/gcompris/*
  50. %{_datadir}/applications/*
  51. %{_libdir}/*
  52. %changelog
  53. * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 8.4.12-2
  54. - build with python 2.6
  55. - add BuildRequires: texinfo: for info file
  56. - using find_lang rpm macro
  57. - using Requires(post,preun): replace Prereq for install-info
  58. * Sat Jul 4 2009 KATO Masashi <mkato@par.odn.ne.jp> 8.4.12-1
  59. - initial build for Vine Linux