swell-foop-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Name: swell-foop
  2. Summary: GNOME Swell Foop (Same GNOME)
  3. Summary(ja): さめ GNOME
  4. Version: 3.20.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Swell%20Foop
  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: clutter-gtk-devel
  13. BuildRequires: yelp-tools
  14. BuildRequires: vala
  15. Requires(postun,posttrans): desktop-file-utils
  16. Requires(postun,posttrans): gtk3
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. Swell Foop is a puzzle game, previously known as Same GNOME. The goal is to
  22. remove the objects in as few moves as possible. Similar objects that are
  23. adjacent to each other are removed as a group. The remaining objects then
  24. collapse to fill in the gaps and new groups are formed. You cannot remove
  25. single objects.
  26. %prep
  27. %setup -q
  28. %build
  29. %configure
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. make install DESTDIR=$RPM_BUILD_ROOT
  34. %find_lang %{name} --with-gnome
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %post
  38. touch %{_datadir}/icons/hicolor
  39. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  40. %postun
  41. if [ $1 -eq 0 ]; then
  42. touch %{_datadir}/icons/hicolor
  43. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  44. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  45. update-desktop-database -q > /dev/null || :
  46. fi
  47. %posttrans
  48. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  49. update-desktop-database -q > /dev/null || :
  50. %files -f %{name}.lang
  51. %defattr(-, root, root)
  52. %doc COPYING NEWS
  53. %{_bindir}/%{name}
  54. %{_datadir}/appdata/%{name}.appdata.xml
  55. %{_datadir}/applications/%{name}.desktop
  56. %{_datadir}/glib-2.0/schemas/org.gnome.swell-foop.gschema.xml
  57. %{_datadir}/%{name}
  58. %{_datadir}/icons/hicolor/*/*/*
  59. %changelog
  60. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1
  61. - new upstream release
  62. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  63. - new upstream release
  64. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  65. - new upstream release
  66. * Sun Aug 30 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. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  73. - new upstream release
  74. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  75. - new upstream release
  76. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  77. - new upstream release
  78. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  79. - new upstream release
  80. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  81. - rebuild with VineSeed environment
  82. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  83. - new upstream release
  84. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  85. - new upstream release
  86. - change permission
  87. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  88. - initial build