gnome-nibbles-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Name: gnome-nibbles
  2. Summary: GNOME Nibbles
  3. Summary(ja): GNOME Nibbles
  4. Version: 3.16.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.16/%{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: yelp-tools
  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. Nibbles is a game where the user controls a snake. The snake moves around the board,
  23. eating diamonds while avoiding the walls placed around it. Nibbles also features
  24. network multiplayer, and up to six evil AI worms!
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --localstatedir=/var/lib
  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. touch %{_datadir}/icons/hicolor
  38. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  39. %postun
  40. if [ $1 -eq 0 ]; then
  41. touch %{_datadir}/icons/hicolor
  42. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  43. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  44. update-desktop-database -q > /dev/null || :
  45. fi
  46. %posttrans
  47. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  48. update-desktop-database -q > /dev/null || :
  49. %files -f %{name}.lang
  50. %defattr(-, root, root)
  51. %doc COPYING NEWS
  52. %{_bindir}/%{name}
  53. %{_datadir}/appdata/%{name}.appdata.xml
  54. %{_datadir}/applications/%{name}.desktop
  55. %{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml
  56. %{_datadir}/%{name}
  57. %{_datadir}/icons/hicolor/*/apps/*
  58. %{_mandir}/man6/%{name}.6.gz
  59. %changelog
  60. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  61. - new upstream release
  62. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  63. - new upstream release
  64. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  65. - new upstream release
  66. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  67. - new upstream release
  68. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  69. - new upstream release
  70. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  71. - new upstream release
  72. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  73. - rebuild with VineSeed environment
  74. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  75. - new upstream release
  76. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  77. - initial build