gnome-mahjongg-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: gnome-mahjongg
  2. Summary: GNOME Mahjongg
  3. Summary(ja): GNOME 上海
  4. Version: 3.10.1
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Mahjongg
  9. Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.10/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: librsvg2-devel
  13. BuildRequires: yelp-tools
  14. BuildRequires: vala
  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-mahjongg is a solitaire (one player) version of the classic Eastern tile game,
  22. Mahjongg. The objective is to select pairs of similar tiles.
  23. %prep
  24. %setup -q
  25. %build
  26. %configure
  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. #%attr(2551, root, games) %{_bindir}/%{name}
  51. %{_bindir}/%{name}
  52. %{_datadir}/appdata/gnome-mahjongg.appdata.xml
  53. %{_datadir}/applications/mahjongg.desktop
  54. %{_datadir}/glib-2.0/schemas/org.gnome.gnome-mahjongg.gschema.xml
  55. %{_datadir}/%{name}
  56. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  57. %{_datadir}/icons/HighContrast/*/apps/%{name}.*
  58. %{_mandir}/man6/%{name}.6.gz
  59. %changelog
  60. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  61. - new upstream release
  62. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-2
  63. - change permission
  64. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  65. - initial build