1 | Name: gnome-sudoku |
---|
2 | Summary: GNOME Sudoku |
---|
3 | Summary(ja): GNOME 数独 |
---|
4 | Version: 3.8.1 |
---|
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.8/%{name}-%{version}.tar.xz |
---|
10 | |
---|
11 | Patch0: 0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: gtk3-devel |
---|
16 | BuildRequires: pygobject3-devel |
---|
17 | BuildRequires: yelp-tools |
---|
18 | |
---|
19 | Requires(postun,posttrans): desktop-file-utils |
---|
20 | Requires(postun,posttrans): gtk3 |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | Packager: Takemikaduchi |
---|
25 | |
---|
26 | %description |
---|
27 | Gnome Sudoku is a logic game with a Japanese name that has recently exploded |
---|
28 | in popularity. |
---|
29 | |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q |
---|
33 | %patch0 -p1 -b .NumberBox |
---|
34 | |
---|
35 | %build |
---|
36 | %configure |
---|
37 | make %{?_smp_mflags} |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
43 | |
---|
44 | %find_lang %{name} --with-gnome |
---|
45 | |
---|
46 | %clean |
---|
47 | rm -rf $RPM_BUILD_ROOT |
---|
48 | |
---|
49 | %post |
---|
50 | touch %{_datadir}/icons/hicolor |
---|
51 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
52 | |
---|
53 | %postun |
---|
54 | if [ $1 -eq 0 ]; then |
---|
55 | touch %{_datadir}/icons/hicolor |
---|
56 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
57 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
58 | update-desktop-database -q > /dev/null || : |
---|
59 | fi |
---|
60 | |
---|
61 | %posttrans |
---|
62 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
63 | update-desktop-database -q > /dev/null || : |
---|
64 | |
---|
65 | |
---|
66 | %files -f %{name}.lang |
---|
67 | %defattr(-, root, root) |
---|
68 | %doc COPYING NEWS |
---|
69 | %{_bindir}/%{name} |
---|
70 | %{python_sitelib}/gnome_sudoku |
---|
71 | %{_datadir}/applications/%{name}.desktop |
---|
72 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-sudoku.gschema.xml |
---|
73 | %{_datadir}/%{name} |
---|
74 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
75 | %{_datadir}/icons/HighContrast/*/apps/%{name}.* |
---|
76 | %{_mandir}/man6/%{name}.6.gz |
---|
77 | |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
81 | - initial build |
---|
82 | - add Patch0 (0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch) from fedora |
---|
83 | |
---|