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

Revision 7633, 1.9 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.8.1

Line 
1Name:                   gnome-sudoku
2Summary:                GNOME Sudoku
3Summary(ja):    GNOME 数独
4Version:                3.8.1
5Release:                1%{?_dist_release}
6License:                GPLv2
7Group:                  Applications/Games
8URL:                    https://live.gnome.org/
9Source:                 ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.8/%{name}-%{version}.tar.xz
10
11Patch0:                 0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  gtk3-devel
16BuildRequires:  pygobject3-devel
17BuildRequires:  yelp-tools
18
19Requires(postun,posttrans): desktop-file-utils
20Requires(postun,posttrans): gtk3
21
22Vendor:                 Project Vine
23Distribution:   Vine Linux
24Packager:               Takemikaduchi
25
26%description
27Gnome Sudoku is a logic game with a Japanese name that has recently exploded
28in popularity.
29
30
31%prep
32%setup -q
33%patch0 -p1 -b .NumberBox
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%{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
Note: See TracBrowser for help on using the repository browser.