source: projects/specs/trunk/g/gnome-sudoku/gnome-sudoku-vl.spec @ 12198

Revision 12198, 3.4 KB checked in by tomop, 5 years ago (diff)

updated games

Line 
1Name:                   gnome-sudoku
2Summary:                GNOME Sudoku
3Summary(ja):    GNOME 数独
4Version:                3.30.0
5Release:                1%{?_dist_release}
6License:                GPLv2
7Group:                  Applications/Games
8URL:                    https://live.gnome.org/
9%global                 shortver %(echo "%{version}" | sed -e 's/\.[0-9]*$//')
10Source:                 https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
11Source1:                https://raw.githubusercontent.com/GNOME/gnome-sudoku/master/po/ja.po
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  meson
16BuildRequires:  vala
17BuildRequires:  libgee-vala
18BuildRequires:  libappstream-glib-devel
19BuildRequires:  gtk3-devel
20BuildRequires:  libgee-devel
21BuildRequires:  json-glib-devel
22BuildRequires:  qqwing-devel
23BuildRequires:  yelp-tools
24
25Requires(postun,posttrans): desktop-file-utils
26Requires(postun,posttrans): gtk3
27Requires:               qqwing
28
29Vendor:                 Project Vine
30Distribution:   Vine Linux
31
32%description
33Gnome Sudoku is a logic game with a Japanese name that has recently exploded
34in popularity.
35
36
37%prep
38%setup -q
39cp -f %{SOURCE1} po/
40
41%build
42%meson
43%meson_build
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%meson_install
49
50%find_lang %{name} --with-gnome
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%post
56touch %{_datadir}/icons/hicolor
57gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
58
59%postun
60if [ $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 || :
65fi
66
67%posttrans
68glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
69update-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
Note: See TracBrowser for help on using the repository browser.