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

Revision 8011, 2.0 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release

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