[7633] | 1 | Name: gnome-sudoku |
---|
| 2 | Summary: GNOME Sudoku |
---|
| 3 | Summary(ja): GNOME 数独 |
---|
[12198] | 4 | Version: 3.30.0 |
---|
[10716] | 5 | Release: 1%{?_dist_release} |
---|
[7633] | 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: https://live.gnome.org/ |
---|
[12198] | 9 | %global shortver %(echo "%{version}" | sed -e 's/\.[0-9]*$//') |
---|
| 10 | Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
| 11 | Source1: https://raw.githubusercontent.com/GNOME/gnome-sudoku/master/po/ja.po |
---|
[7633] | 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
[12198] | 15 | BuildRequires: meson |
---|
| 16 | BuildRequires: vala |
---|
| 17 | BuildRequires: libgee-vala |
---|
| 18 | BuildRequires: libappstream-glib-devel |
---|
[7633] | 19 | BuildRequires: gtk3-devel |
---|
[9073] | 20 | BuildRequires: libgee-devel |
---|
| 21 | BuildRequires: json-glib-devel |
---|
| 22 | BuildRequires: qqwing-devel |
---|
[7633] | 23 | BuildRequires: yelp-tools |
---|
| 24 | |
---|
| 25 | Requires(postun,posttrans): desktop-file-utils |
---|
| 26 | Requires(postun,posttrans): gtk3 |
---|
[9073] | 27 | Requires: qqwing |
---|
[7633] | 28 | |
---|
| 29 | Vendor: Project Vine |
---|
| 30 | Distribution: Vine Linux |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | Gnome Sudoku is a logic game with a Japanese name that has recently exploded |
---|
| 34 | in popularity. |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
[12198] | 39 | cp -f %{SOURCE1} po/ |
---|
[7633] | 40 | |
---|
| 41 | %build |
---|
[12198] | 42 | %meson |
---|
| 43 | %meson_build |
---|
[7633] | 44 | |
---|
| 45 | %install |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
| 47 | |
---|
[12198] | 48 | %meson_install |
---|
[7633] | 49 | |
---|
| 50 | %find_lang %{name} --with-gnome |
---|
| 51 | |
---|
| 52 | %clean |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | |
---|
| 55 | %post |
---|
| 56 | touch %{_datadir}/icons/hicolor |
---|
| 57 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 58 | |
---|
| 59 | %postun |
---|
| 60 | if [ $1 -eq 0 ]; then |
---|
| 61 | touch %{_datadir}/icons/hicolor |
---|
| 62 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 63 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 64 | update-desktop-database -q > /dev/null || : |
---|
| 65 | fi |
---|
| 66 | |
---|
| 67 | %posttrans |
---|
| 68 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 69 | update-desktop-database -q > /dev/null || : |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %files -f %{name}.lang |
---|
| 73 | %defattr(-, root, root) |
---|
[12198] | 74 | %license COPYING |
---|
| 75 | %doc NEWS |
---|
[7633] | 76 | %{_bindir}/%{name} |
---|
[12198] | 77 | %{_datadir}/metainfo/gnome-sudoku.appdata.xml |
---|
| 78 | %{_datadir}/applications/gnome-sudoku.desktop |
---|
[9073] | 79 | %{_datadir}/glib-2.0/schemas/org.gnome.sudoku.gschema.xml |
---|
[9475] | 80 | %{_datadir}/icons/hicolor/*/apps/* |
---|
[7633] | 81 | %{_mandir}/man6/%{name}.6.gz |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | %changelog |
---|
[12198] | 85 | * Mon Sep 09 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.0-1 |
---|
| 86 | - new upstream release. |
---|
| 87 | - imported newest ja.po from upstream. |
---|
| 88 | |
---|
[10716] | 89 | * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.4-1 |
---|
| 90 | - new upstream release |
---|
[10493] | 91 | |
---|
[9804] | 92 | * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[9791] | 95 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
[9475] | 98 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 99 | - new upstream release |
---|
| 100 | |
---|
[9102] | 101 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[9073] | 104 | * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[8447] | 107 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
| 108 | - new upstream release |
---|
[9073] | 109 | - add BuildRequires: libgee-devel, json-glib-devel, qqwing-devel |
---|
| 110 | - remove Requires: pygobject3-devel, python3-pygobject |
---|
| 111 | - remove Requires: python3-pygobject, python3-pycairo |
---|
[8447] | 112 | |
---|
[8369] | 113 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 114 | - new upstream release |
---|
| 115 | |
---|
[8354] | 116 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
[8353] | 117 | - new upstream release |
---|
| 118 | - add BuildRequires: python3-pygobject |
---|
[8354] | 119 | - add Requires: python3-pygobject, python3-pycairo |
---|
[8353] | 120 | |
---|
[8011] | 121 | * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[7938] | 124 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
[7633] | 127 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 128 | - initial build |
---|
| 129 | - add Patch0 (0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch) from fedora |
---|
| 130 | |
---|