]>
Commit | Line | Data |
---|---|---|
ef926131 MB |
1 | Summary: GNOME Tetravex |
2 | Name: gnome-tetravex | |
d6fee1d7 | 3 | Version: 3.12.2 |
ef926131 MB |
4 | Release: 1 |
5 | License: GPL v2 | |
6 | Group: X11/Applications/Games | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-tetravex/3.12/%{name}-%{version}.tar.xz | |
d6fee1d7 | 8 | # Source0-md5: d30b9c901f8492055780475244ae7ffb |
ef926131 MB |
9 | URL: https://wiki.gnome.org/Apps/Tetravex |
10 | BuildRequires: appdata-tools | |
11 | BuildRequires: autoconf >= 2.63 | |
12 | BuildRequires: automake >= 1:1.11 | |
13 | BuildRequires: glib2-devel >= 1:2.36.0 | |
14 | BuildRequires: gnome-common | |
15 | BuildRequires: gtk+3-devel >= 3.10.0 | |
16 | BuildRequires: intltool >= 0.50.0 | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: vala >= 2:0.22.0 | |
19 | BuildRequires: yelp-tools | |
20 | Requires(post,postun): gtk-update-icon-cache | |
21 | Requires(post,postun): glib2 >= 1:2.26.0 | |
22 | Requires: glib2 >= 1:2.36.0 | |
23 | Requires: gtk+3 >= 3.10.0 | |
24 | Requires: hicolor-icon-theme | |
25 | Provides: gnome-games-gnotravex = 1:%{version}-%{release} | |
26 | Obsoletes: gnome-games-gnotravex < 1:3.8.0 | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | Tetravex is a simple puzzle where pieces must be positioned so that | |
31 | the same numbers are touching each other. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | %{__intltoolize} | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__automake} | |
41 | %configure \ | |
42 | --disable-silent-rules | |
43 | ||
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %find_lang %{name} --with-gnome | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %post | |
58 | %glib_compile_schemas | |
59 | %update_icon_cache HighContrast | |
60 | %update_icon_cache hicolor | |
61 | ||
62 | %postun | |
63 | %glib_compile_schemas | |
64 | %update_icon_cache HighContrast | |
65 | %update_icon_cache hicolor | |
66 | ||
67 | %files -f %{name}.lang | |
68 | %defattr(644,root,root,755) | |
69 | %doc NEWS | |
70 | %attr(755,root,root) %{_bindir}/gnome-tetravex | |
71 | %{_datadir}/appdata/gnome-tetravex.appdata.xml | |
72 | %{_datadir}/glib-2.0/schemas/org.gnome.tetravex.gschema.xml | |
73 | #%{_datadir}/gnome-tetravex | |
74 | %{_desktopdir}/gnome-tetravex.desktop | |
75 | %{_iconsdir}/HighContrast/*/*/*.png | |
76 | %{_iconsdir}/hicolor/*/*/*.png | |
77 | %{_iconsdir}/hicolor/*/*/*.svg | |
78 | %{_mandir}/man6/gnome-tetravex.6* | |
79 |