1 | Name: gnome-sudoku |
---|
2 | Summary: GNOME Sudoku |
---|
3 | Summary(ja): GNOME 数独 |
---|
4 | Version: 3.30.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2 |
---|
7 | Group: Applications/Games |
---|
8 | URL: https://live.gnome.org/ |
---|
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 |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: meson |
---|
16 | BuildRequires: vala |
---|
17 | BuildRequires: libgee-vala |
---|
18 | BuildRequires: libappstream-glib-devel |
---|
19 | BuildRequires: gtk3-devel |
---|
20 | BuildRequires: libgee-devel |
---|
21 | BuildRequires: json-glib-devel |
---|
22 | BuildRequires: qqwing-devel |
---|
23 | BuildRequires: yelp-tools |
---|
24 | |
---|
25 | Requires(postun,posttrans): desktop-file-utils |
---|
26 | Requires(postun,posttrans): gtk3 |
---|
27 | Requires: qqwing |
---|
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 |
---|
39 | cp -f %{SOURCE1} po/ |
---|
40 | |
---|
41 | %build |
---|
42 | %meson |
---|
43 | %meson_build |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf $RPM_BUILD_ROOT |
---|
47 | |
---|
48 | %meson_install |
---|
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) |
---|
74 | %license COPYING |
---|
75 | %doc NEWS |
---|
76 | %{_bindir}/%{name} |
---|
77 | %{_datadir}/metainfo/gnome-sudoku.appdata.xml |
---|
78 | %{_datadir}/applications/gnome-sudoku.desktop |
---|
79 | %{_datadir}/glib-2.0/schemas/org.gnome.sudoku.gschema.xml |
---|
80 | %{_datadir}/icons/hicolor/*/apps/* |
---|
81 | %{_mandir}/man6/%{name}.6.gz |
---|
82 | |
---|
83 | |
---|
84 | %changelog |
---|
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 | |
---|
89 | * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.4-1 |
---|
90 | - new upstream release |
---|
91 | |
---|
92 | * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
108 | - new upstream release |
---|
109 | - add BuildRequires: libgee-devel, json-glib-devel, qqwing-devel |
---|
110 | - remove Requires: pygobject3-devel, python3-pygobject |
---|
111 | - remove Requires: python3-pygobject, python3-pycairo |
---|
112 | |
---|
113 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
117 | - new upstream release |
---|
118 | - add BuildRequires: python3-pygobject |
---|
119 | - add Requires: python3-pygobject, python3-pycairo |
---|
120 | |
---|
121 | * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
125 | - new upstream release |
---|
126 | |
---|
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 | |
---|