five-or-more-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Name: five-or-more
  2. Summary: GNOME "Five or More"
  3. Summary(ja): GNOME "Five or More"
  4. Version: 3.14.1
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Five%20or%20more
  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. Five or More is the GNOME port of the once popular Windows game called Color Lines.
  21. %prep
  22. %setup -q
  23. %build
  24. %configure --localstatedir=/var/lib
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make install DESTDIR=$RPM_BUILD_ROOT
  29. %find_lang %{name} --with-gnome
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %post
  33. touch %{_datadir}/icons/hicolor
  34. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  35. %postun
  36. if [ $1 -eq 0 ]; then
  37. touch %{_datadir}/icons/hicolor
  38. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  39. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  40. update-desktop-database -q > /dev/null || :
  41. fi
  42. %posttrans
  43. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  44. update-desktop-database -q > /dev/null || :
  45. %files -f %{name}.lang
  46. %defattr(-, root, root)
  47. %doc COPYING NEWS
  48. %{_bindir}/%{name}
  49. %{_datadir}/appdata/%{name}.appdata.xml
  50. %{_datadir}/applications/%{name}.desktop
  51. %{_datadir}/glib-2.0/schemas/org.gnome.five-or-more.gschema.xml
  52. %{_datadir}/%{name}
  53. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  54. %{_datadir}/icons/HighContrast/*/apps/%{name}.*
  55. %{_mandir}/man6/%{name}.6.gz
  56. %changelog
  57. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  58. - new upstream release
  59. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  60. - new upstream release
  61. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  62. - new upstream release
  63. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  64. - new upstream release
  65. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  66. - new upstream release
  67. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  68. - new upstream release
  69. * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  70. - new upstream release
  71. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  72. - initial build