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