tali-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Name: tali
  2. Summary: GNOME Tali
  3. Summary(ja): GNOME Tali
  4. Version: 3.14.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Tali
  9. Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.14/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: librsvg2-devel
  13. BuildRequires: yelp-tools
  14. Requires(postun,posttrans): desktop-file-utils
  15. Requires(postun,posttrans): gtk3
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. Tali is a sort of poker with dice and less money. You roll five dice three times
  21. and try to create the best hand. Your two rerolls may include any or all of your
  22. dice. Tali also supports playing Kismet.
  23. %prep
  24. %setup -q
  25. %build
  26. %configure --localstatedir=/var/lib
  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.tali.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. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  60. - new upstream release
  61. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  62. - new upstream release
  63. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  64. - new upstream release
  65. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  66. - new upstream release
  67. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  68. - new upstream release
  69. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  70. - new upstream release
  71. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  72. - initial build