gnome-chess-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: gnome-chess
  2. Summary: GNOME Chess
  3. Summary(ja): GNOME チェス
  4. Version: 3.10.3
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Mines
  9. Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.10/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: librsvg2-devel
  13. BuildRequires: sqlite3-devel
  14. BuildRequires: mesa-libGLU-devel
  15. BuildRequires: yelp-tools
  16. BuildRequires: vala
  17. Requires(postun,posttrans): desktop-file-utils
  18. Requires(postun,posttrans): gtk3
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. gnome-chess is a 2D/3D chess game, where games can be played between
  24. a combination of human and computer players.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. %find_lang %{name} --with-gnome
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %post
  37. touch %{_datadir}/icons/hicolor
  38. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  39. %postun
  40. if [ $1 -eq 0 ]; then
  41. touch %{_datadir}/icons/hicolor
  42. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  43. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  44. update-desktop-database -q > /dev/null || :
  45. fi
  46. %posttrans
  47. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  48. update-desktop-database -q > /dev/null || :
  49. %files -f %{name}.lang
  50. %defattr(-, root, root)
  51. %doc COPYING NEWS
  52. %{_sysconfdir}/chess-engines.conf
  53. %{_bindir}/%{name}
  54. %{_datadir}/appdata/gnome-chess.appdata.xml
  55. %{_datadir}/applications/glchess.desktop
  56. %{_datadir}/glib-2.0/schemas/org.gnome.gnome-chess.gschema.xml
  57. %{_datadir}/%{name}
  58. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  59. %{_mandir}/man6/%{name}.6.gz
  60. %changelog
  61. * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.3-1
  62. - new upstream release
  63. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  64. - new upstream release
  65. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1.1-1
  66. - new upstream release
  67. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.4-1
  68. - new upstream release
  69. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  70. - new upstream release
  71. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2.1-1
  72. - new upstream release
  73. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  74. - initial build