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

Revision 10716, 3.1 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.20

Line 
1Name:                   gnome-sudoku
2Summary:                GNOME Sudoku
3Summary(ja):    GNOME 数独
4Version:                3.20.4
5Release:                1%{?_dist_release}
6License:                GPLv2
7Group:                  Applications/Games
8URL:                    https://live.gnome.org/
9Source:                 ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.20/%{name}-%{version}.tar.xz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  gtk3-devel
14BuildRequires:  libgee-devel
15BuildRequires:  json-glib-devel
16BuildRequires:  qqwing-devel
17BuildRequires:  yelp-tools
18
19Requires(postun,posttrans): desktop-file-utils
20Requires(postun,posttrans): gtk3
21Requires:               qqwing
22
23Vendor:                 Project Vine
24Distribution:   Vine Linux
25Packager:               Takemikaduchi
26
27%description
28Gnome Sudoku is a logic game with a Japanese name that has recently exploded
29in popularity.
30
31
32%prep
33%setup -q
34
35%build
36%configure
37make %{?_smp_mflags}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42make install DESTDIR=$RPM_BUILD_ROOT
43
44%find_lang %{name} --with-gnome
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%post
50touch %{_datadir}/icons/hicolor
51gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
52
53%postun
54if [ $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 || :
59fi
60
61%posttrans
62glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
63update-desktop-database -q > /dev/null || :
64
65
66%files -f %{name}.lang
67%defattr(-, root, root)
68%doc  COPYING NEWS
69%{_bindir}/%{name}
70%{_datadir}/appdata/%{name}.appdata.xml
71%{_datadir}/applications/%{name}.desktop
72%{_datadir}/glib-2.0/schemas/org.gnome.sudoku.gschema.xml
73%{_datadir}/%{name}
74%{_datadir}/icons/hicolor/*/apps/*
75%{_mandir}/man6/%{name}.6.gz
76
77
78%changelog
79* Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.4-1
80- new upstream release
81
82* Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
83- new upstream release
84
85* Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
86- new upstream release
87
88* Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
89- new upstream release
90
91* Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
92- new upstream release
93
94* Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
95- new upstream release
96
97* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
98- new upstream release
99- add BuildRequires: libgee-devel, json-glib-devel, qqwing-devel
100- remove Requires: pygobject3-devel, python3-pygobject
101- remove Requires: python3-pygobject, python3-pycairo
102
103* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
104- new upstream release
105
106* Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
107- new upstream release
108- add BuildRequires: python3-pygobject
109- add Requires: python3-pygobject, python3-pycairo
110
111* Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
112- new upstream release
113
114* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
115- new upstream release
116
117* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
118- initial build
119- add Patch0 (0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch) from fedora
120
Note: See TracBrowser for help on using the repository browser.