gnome-robots-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Name: gnome-robots
  2. Summary: GNOME Robots
  3. Summary(ja): GNOME ロボット
  4. Version: 3.12.1
  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.12/%{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: yelp-tools
  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-robots game where you have to avoid a hoard of robots who are trying
  22. to kill you. Each step you take brings them closer toward you.
  23. Fortunately they aren't very smart and you also have a helpful teleportation gadget.
  24. %prep
  25. %setup -q
  26. %build
  27. %configure --localstatedir=/var/lib
  28. make %{?_smp_mflags}
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. make install DESTDIR=$RPM_BUILD_ROOT
  32. %find_lang %{name} --with-gnome
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %post
  36. touch %{_datadir}/icons/hicolor
  37. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  38. %postun
  39. if [ $1 -eq 0 ]; then
  40. touch %{_datadir}/icons/hicolor
  41. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  42. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  43. update-desktop-database -q > /dev/null || :
  44. fi
  45. %posttrans
  46. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  47. update-desktop-database -q > /dev/null || :
  48. %files -f %{name}.lang
  49. %defattr(-, root, root)
  50. %doc COPYING NEWS
  51. %{_bindir}/%{name}
  52. %{_datadir}/appdata/%{name}.appdata.xml
  53. %{_datadir}/applications/%{name}.desktop
  54. %{_datadir}/glib-2.0/schemas/org.gnome.robots.gschema.xml
  55. %{_datadir}/%{name}
  56. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  57. %{_datadir}/icons/hicolor/24x24/actions/teleport-random.png
  58. %{_datadir}/icons/hicolor/24x24/actions/teleport.png
  59. %{_datadir}/icons/HighContrast/*/apps/%{name}.*
  60. %{_mandir}/man6/%{name}.6.gz
  61. %changelog
  62. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  63. - new upstream release
  64. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  65. - new upstream release
  66. * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  67. - new upstream release
  68. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  69. - new upstream release
  70. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  71. - initial build