gnome-klotski-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Name: gnome-klotski
  2. Summary: GNOME Klotski
  3. Summary(ja): GNOME Klotski
  4. Version: 3.12.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.12/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: librsvg2-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. gnome-klotski is a clone of the Klotski game.
  22. The objective is to move the patterned block to the area bordered by green markers.
  23. %prep
  24. %setup -q
  25. %build
  26. %configure
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. %find_lang %{name} --with-gnome
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %post
  35. touch %{_datadir}/icons/hicolor
  36. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  37. %postun
  38. if [ $1 -eq 0 ]; then
  39. touch %{_datadir}/icons/hicolor
  40. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  41. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  42. update-desktop-database -q > /dev/null || :
  43. fi
  44. %posttrans
  45. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  46. update-desktop-database -q > /dev/null || :
  47. %files -f %{name}.lang
  48. %defattr(-, root, root)
  49. %doc COPYING NEWS
  50. %{_bindir}/%{name}
  51. %{_datadir}/appdata/%{name}.appdata.xml
  52. %{_datadir}/applications/%{name}.desktop
  53. %{_datadir}/glib-2.0/schemas/org.gnome.klotski.gschema.xml
  54. %{_datadir}/%{name}
  55. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  56. %{_datadir}/icons/HighContrast/*/apps/%{name}.*
  57. %{_mandir}/man6/%{name}.6.gz
  58. %changelog
  59. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  60. - new upstream release
  61. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  62. - new upstream release
  63. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  64. - new upstream release
  65. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2
  66. - rebuild with VineSeed environment
  67. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  68. - new upstream release
  69. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  70. - new upstream release
  71. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  72. - initial build