gnome-robots-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: gnome-robots
  2. Summary: GNOME Robots
  3. Summary(ja): GNOME ロボット
  4. Version: 3.20.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Mines
  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: libcanberra-gtk3-devel
  14. BuildRequires: libgames-support-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. gnome-robots game where you have to avoid a hoard of robots who are trying
  23. to kill you. Each step you take brings them closer toward you.
  24. Fortunately they aren't very smart and you also have a helpful teleportation gadget.
  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.robots.gschema.xml
  56. %{_datadir}/%{name}
  57. %{_datadir}/icons/hicolor/*/*/*
  58. %{_mandir}/man6/%{name}.6.gz
  59. %changelog
  60. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1
  61. - new upstream release
  62. - add BuildRequires: libgames-support-devel
  63. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  64. - new upstream release
  65. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  66. - new upstream release
  67. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  68. - new upstream release
  69. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  70. - new upstream release
  71. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  72. - new upstream release
  73. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  74. - new upstream release
  75. * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.3-1
  76. - new upstream release
  77. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  78. - new upstream release
  79. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  80. - new upstream release
  81. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  82. - new upstream release
  83. * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  84. - new upstream release
  85. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  86. - new upstream release
  87. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  88. - initial build