gnome-chess-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. Name: gnome-chess
  2. Summary: GNOME Chess
  3. Summary(ja): GNOME チェス
  4. Version: 3.20.1
  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.20/%{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}/%{name}/engines.conf
  53. %{_bindir}/%{name}
  54. %{_datadir}/appdata/%{name}.appdata.xml
  55. %{_datadir}/applications/%{name}.desktop
  56. %{_datadir}/glib-2.0/schemas/org.gnome.chess.gschema.xml
  57. %{_datadir}/%{name}
  58. %{_datadir}/icons/hicolor/*/*/*
  59. %{_mandir}/man6/%{name}.6.gz
  60. %changelog
  61. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1
  62. - new upstream release
  63. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  64. - new upstream release
  65. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  66. - new upstream release
  67. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  68. - new upstream release
  69. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  70. - new upstream release
  71. * Sun Mar 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  72. - new upstream release
  73. * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  74. - new upstream release
  75. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  76. - new upstream release
  77. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  78. - new upstream release
  79. * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.3-1
  80. - new upstream release
  81. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  82. - new upstream release
  83. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  84. - new upstream release
  85. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  86. - new upstream release
  87. * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.3-1
  88. - new upstream release
  89. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  90. - new upstream release
  91. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1.1-1
  92. - new upstream release
  93. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.4-1
  94. - new upstream release
  95. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  96. - new upstream release
  97. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2.1-1
  98. - new upstream release
  99. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  100. - initial build