gnome-klotski-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Name: gnome-klotski
  2. Summary: GNOME Klotski
  3. Summary(ja): GNOME Klotski
  4. Version: 3.20.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Klotski
  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: libgames-support-devel
  13. BuildRequires: librsvg2-devel
  14. BuildRequires: yelp-tools
  15. BuildRequires: vala
  16. Requires(postun,posttrans): desktop-file-utils
  17. Requires(postun,posttrans): gtk3
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. gnome-klotski is a clone of the Klotski game.
  23. The objective is to move the patterned block to the area bordered by green markers.
  24. %prep
  25. %setup -q
  26. %build
  27. %configure
  28. make %{?_smp_mflags}
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. make install DESTDIR=$RPM_BUILD_ROOT
  32. %find_lang %{name} --with-gnome
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %post
  36. touch %{_datadir}/icons/hicolor
  37. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  38. %postun
  39. if [ $1 -eq 0 ]; then
  40. touch %{_datadir}/icons/hicolor
  41. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  42. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  43. update-desktop-database -q > /dev/null || :
  44. fi
  45. %posttrans
  46. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  47. update-desktop-database -q > /dev/null || :
  48. %files -f %{name}.lang
  49. %defattr(-, root, root)
  50. %doc COPYING NEWS
  51. %{_bindir}/%{name}
  52. %{_datadir}/appdata/%{name}.appdata.xml
  53. %{_datadir}/applications/%{name}.desktop
  54. %{_datadir}/glib-2.0/schemas/org.gnome.klotski.gschema.xml
  55. %{_datadir}/%{name}
  56. %{_datadir}/icons/hicolor/*/apps/*
  57. %{_mandir}/man6/%{name}.6.gz
  58. %changelog
  59. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1
  60. - new upstream release
  61. - add BuildRequires: libgames-support-devel
  62. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  63. - new upstream release
  64. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  65. - new upstream release
  66. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  67. - new upstream release
  68. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  69. - new upstream release
  70. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  71. - new upstream release
  72. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  73. - new upstream release
  74. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  75. - new upstream release
  76. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  77. - new upstream release
  78. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  79. - new upstream release
  80. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  81. - new upstream release
  82. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2
  83. - rebuild with VineSeed environment
  84. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  85. - new upstream release
  86. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  87. - new upstream release
  88. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  89. - initial build