hitori-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. %define pkg_version 3.16.2
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: A logic game similar to Sudoku
  4. Summary(ja): 数独に類似した論理ゲーム
  5. Name: hitori
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/hitori/3.16/%{name}-%{version}.tar.xz
  9. License: GPLv3+
  10. Group: Applications/Games
  11. URL: http://live.gnome.org/Hitori
  12. BuildRequires: gtk3-devel
  13. BuildRequires: yelp-tools
  14. BuildRequires: which
  15. Requires(post,postun): desktop-file-utils
  16. Requires(postun,posttrans): glib2
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. Hitori is a small application written to allow one to play the eponymous puzzle game, which is similar in theme to more popular puzzles such as Sudoku.
  23. %description -l ja
  24. Hitori は数独のようなより人気のあるパズルとテーマにおいて類似した小さなゲームアプリケーションです。
  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. update-desktop-database -q
  38. touch --no-create %{_datadir}/icons/hicolor
  39. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  40. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  41. fi
  42. %postun
  43. update-desktop-database -q
  44. touch --no-create %{_datadir}/icons/hicolor
  45. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  46. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  47. fi
  48. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  49. %posttrans
  50. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  51. %files -f %{name}.lang
  52. %defattr(-,root,root)
  53. %doc COPYING ChangeLog NEWS README
  54. %{_bindir}/hitori
  55. %{_datadir}/appdata/hitori.appdata.xml
  56. %{_datadir}/applications/hitori.desktop
  57. %{_datadir}/glib-2.0/schemas/org.gnome.hitori.gschema.xml
  58. %{_datadir}/icons/hicolor/*/*/*
  59. %changelog
  60. * Wed Nov 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  61. - new upstream release
  62. * Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  63. - new upstream release
  64. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  65. - new upstream release
  66. * Sun Mar 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  67. - new upstream release
  68. * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2.1-1
  69. - new upstream release
  70. * Mon Nov 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  71. - new upstream release
  72. * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.4-1
  73. - new upstream release
  74. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1
  75. - new upstream release
  76. * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.2-1
  77. - new upstream release
  78. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
  79. - new upstream release
  80. * Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-1
  81. - new upstream release
  82. - change BuildRequires: yelp-tools instead of gome-doc-utils
  83. * Sat Aug 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1
  84. - new upstream release
  85. - change BuildRequires: gtk3-devel instead of gtk2-devel
  86. * Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.6-1
  87. - new upstream release
  88. * Thu Dec 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.5-1
  89. - new upstream release
  90. * Sun Jul 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.4-1
  91. - new upstream release
  92. - fix %install and %files
  93. * Sun Jan 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3-1
  94. - initial build for Vine Linux