gnome-sudoku-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: gnome-sudoku
  2. Summary: GNOME Sudoku
  3. Summary(ja): GNOME 数独
  4. Version: 3.10.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/
  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: pygobject3-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. Gnome Sudoku is a logic game with a Japanese name that has recently exploded
  21. in popularity.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. %find_lang %{name} --with-gnome
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %post
  34. touch %{_datadir}/icons/hicolor
  35. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  36. %postun
  37. if [ $1 -eq 0 ]; then
  38. touch %{_datadir}/icons/hicolor
  39. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  40. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  41. update-desktop-database -q > /dev/null || :
  42. fi
  43. %posttrans
  44. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  45. update-desktop-database -q > /dev/null || :
  46. %files -f %{name}.lang
  47. %defattr(-, root, root)
  48. %doc COPYING NEWS
  49. %{_bindir}/%{name}
  50. %{python_sitelib}/gnome_sudoku
  51. %{_datadir}/appdata/gnome-sudoku.appdata.xml
  52. %{_datadir}/applications/%{name}.desktop
  53. %{_datadir}/glib-2.0/schemas/org.gnome.gnome-sudoku.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. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  60. - new upstream release
  61. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  62. - new upstream release
  63. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  64. - initial build
  65. - add Patch0 (0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch) from fedora