]>
Commit | Line | Data |
---|---|---|
55f626da JB |
1 | Summary: "Five or more" game for GNOME |
2 | Summary(pl.UTF-8): Gra "pięć lub więcej" dla GNOME | |
3 | Name: five-or-more | |
189b19cd | 4 | Version: 3.32.3 |
55f626da JB |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Games | |
189b19cd JB |
8 | Source0: https://download.gnome.org/sources/five-or-more/3.32/%{name}-%{version}.tar.xz |
9 | # Source0-md5: e5cd3d2020d80dbeb6e9d4c7aa8ea7e4 | |
55f626da | 10 | URL: https://wiki.gnome.org/Apps/Five%20or%20more |
d9cabc11 JB |
11 | BuildRequires: appstream-glib |
12 | BuildRequires: gettext-tools | |
b68d18c8 | 13 | BuildRequires: glib2-devel >= 1:2.32 |
80b7a24e | 14 | BuildRequires: gtk+3-devel >= 3.20.0 |
d9cabc11 JB |
15 | BuildRequires: libgee-devel >= 0.8 |
16 | BuildRequires: libgnome-games-support-devel >= 1 | |
55f626da | 17 | BuildRequires: librsvg-devel >= 2.32.0 |
189b19cd | 18 | BuildRequires: meson >= 0.50.0 |
d9cabc11 | 19 | BuildRequires: ninja >= 1.5 |
55f626da | 20 | BuildRequires: pkgconfig |
d9cabc11 JB |
21 | BuildRequires: rpmbuild(macros) >= 1.736 |
22 | BuildRequires: vala | |
23 | BuildRequires: vala-libgee >= 0.8 | |
24 | BuildRequires: vala-librsvg >= 2.32.0 | |
55f626da JB |
25 | BuildRequires: yelp-tools |
26 | Requires(post,postun): gtk-update-icon-cache | |
d9cabc11 | 27 | Requires(post,postun): glib2 >= 1:2.32 |
b68d18c8 | 28 | Requires: glib2 >= 1:2.32 |
80b7a24e | 29 | Requires: gtk+3 >= 3.20.0 |
55f626da | 30 | Requires: hicolor-icon-theme |
d9cabc11 | 31 | Requires: libgee >= 0.8 |
55f626da JB |
32 | Requires: librsvg >= 2.32.0 |
33 | Provides: gnome-games-glines = 1:%{version}-%{release} | |
34 | Obsoletes: gnome-games-glines < 1:3.8.0 | |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
38 | Five-or-more is a GNOME port of a once-popular computer game. Align | |
39 | five or more objects of the same color into a line to cause them to | |
40 | disappear and score points. | |
41 | ||
42 | %description -l pl.UTF-8 | |
43 | Five-or-more to port GNOME popularnej niegdyś gry komputerowej. Celem | |
44 | jest wyrównanie w rzędzie pięciu lub większej liczby obiektów jednego | |
45 | koloru, co powoduje zniknięcie ich i zdobycie punktów. | |
46 | ||
47 | %prep | |
48 | %setup -q | |
49 | ||
50 | %build | |
d9cabc11 | 51 | %meson build |
55f626da | 52 | |
d9cabc11 | 53 | %ninja_build -C build |
55f626da JB |
54 | |
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
d9cabc11 | 58 | %ninja_install -C build |
55f626da JB |
59 | |
60 | %find_lang %{name} --with-gnome | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %post | |
66 | %glib_compile_schemas | |
67 | %update_icon_cache hicolor | |
68 | ||
69 | %postun | |
70 | %glib_compile_schemas | |
71 | %update_icon_cache hicolor | |
72 | ||
73 | %files -f %{name}.lang | |
74 | %defattr(644,root,root,755) | |
75 | %doc NEWS | |
76 | %attr(755,root,root) %{_bindir}/five-or-more | |
55f626da JB |
77 | %{_datadir}/glib-2.0/schemas/org.gnome.five-or-more.gschema.xml |
78 | %{_datadir}/five-or-more | |
d9cabc11 JB |
79 | %{_datadir}/metainfo/org.gnome.five-or-more.appdata.xml |
80 | %{_desktopdir}/org.gnome.five-or-more.desktop | |
81 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.five-or-more.png | |
82 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.five-or-more-symbolic.svg | |
55f626da | 83 | %{_mandir}/man6/five-or-more.6* |