gnome-nibbles-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. Name: gnome-nibbles
  2. Summary: GNOME Nibbles
  3. Summary(ja): GNOME Nibbles
  4. Version: 3.20.2.1
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Nibbles
  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: clutter-gtk-devel
  14. BuildRequires: libcanberra-gtk3-devel
  15. BuildRequires: libgames-support-devel
  16. BuildRequires: yelp-tools
  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. Nibbles is a game where the user controls a snake. The snake moves around the board,
  24. eating diamonds while avoiding the walls placed around it. Nibbles also features
  25. network multiplayer, and up to six evil AI worms!
  26. %prep
  27. %setup -q
  28. %build
  29. %configure --localstatedir=/var/lib
  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/org.gnome.Nibbles.appdata.xml
  55. %{_datadir}/applications/org.gnome.Nibbles.desktop
  56. %{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml
  57. %{_datadir}/%{name}
  58. %{_datadir}/icons/hicolor/*/apps/*
  59. %{_mandir}/man6/%{name}.6.gz
  60. %changelog
  61. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2.1-1
  62. - new upstream release
  63. - add BuildRequires: libgames-support-devel
  64. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  65. - new upstream release
  66. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-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.1-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. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  85. - initial build