]>
Commit | Line | Data |
---|---|---|
021b89b5 JB |
1 | Summary: "Four in a row" game for GNOME |
2 | Summary(pl.UTF-8): Gra "cztery w rzędzie" dla GNOME | |
3 | Name: four-in-a-row | |
ce6b9e7c | 4 | Version: 3.38.1 |
49ca95f7 | 5 | Release: 1 |
021b89b5 JB |
6 | License: GPL v2+ |
7 | Group: X11/Applications/Games | |
9b3b63c6 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/four-in-a-row/3.38/%{name}-%{version}.tar.xz |
ce6b9e7c | 9 | # Source0-md5: 123e4aadd4a69f8788777e2f691b12d3 |
021b89b5 | 10 | URL: https://wiki.gnome.org/Apps/Four-in-a-row |
c4ebc5ed JB |
11 | BuildRequires: appstream-glib |
12 | BuildRequires: glib2-devel >= 1:2.40.0 | |
13 | BuildRequires: gsound-devel >= 1.0.2 | |
9b3b63c6 | 14 | BuildRequires: gtk+3-devel >= 3.24.0 |
021b89b5 | 15 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
52049f0a | 16 | BuildRequires: librsvg-devel >= 1:2.32.0 |
c4ebc5ed JB |
17 | BuildRequires: meson |
18 | BuildRequires: ninja >= 1.5 | |
021b89b5 | 19 | BuildRequires: pkgconfig |
9b3b63c6 | 20 | BuildRequires: python3 >= 1:3 |
c4ebc5ed | 21 | BuildRequires: rpmbuild(macros) >= 1.736 |
087839c6 | 22 | BuildRequires: tar >= 1:1.22 |
2e9cd5a8 | 23 | BuildRequires: vala >= 2:0.22 |
52049f0a | 24 | BuildRequires: vala-librsvg >= 1:2.32.0 |
087839c6 | 25 | BuildRequires: xz |
021b89b5 JB |
26 | BuildRequires: yelp-tools |
27 | Requires(post,postun): gtk-update-icon-cache | |
c4ebc5ed JB |
28 | Requires(post,postun): glib2 >= 1:2.40.0 |
29 | Requires: glib2 >= 1:2.40.0 | |
30 | Requires: gsound >= 1.0.2 | |
9b3b63c6 | 31 | Requires: gtk+3 >= 3.24.0 |
021b89b5 JB |
32 | Requires: hicolor-icon-theme |
33 | Requires: libcanberra-gtk3 >= 0.26 | |
52049f0a | 34 | Requires: librsvg >= 1:2.32.0 |
021b89b5 | 35 | Provides: gnome-games-gnect = 1:%{version}-%{release} |
087839c6 | 36 | Obsoletes: gnect |
021b89b5 JB |
37 | Obsoletes: gnome-games-gnect < 1:3.8.0 |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
39 | ||
40 | %description | |
41 | Four-in-a-row is a GNOME game which objective is to build a line of | |
42 | four of your marbles while trying to stop your opponent (human or | |
43 | computer) from building a line of his or her own. | |
44 | ||
45 | %description -l pl.UTF-8 | |
46 | Four-in-a-row to gra dla GNOME, której celem jest zbudowanie rzędu | |
47 | czterech kafelków, a jednocześnie powstrzymanie przeciwnika (człowieka | |
48 | lub komputera) od zbudowania własnego rzędu. | |
49 | ||
50 | %prep | |
51 | %setup -q | |
52 | ||
53 | %build | |
c4ebc5ed | 54 | %meson build |
021b89b5 | 55 | |
c4ebc5ed | 56 | %ninja_build -C build |
021b89b5 JB |
57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
c4ebc5ed | 61 | %ninja_install -C build |
021b89b5 JB |
62 | |
63 | %find_lang %{name} --with-gnome | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post | |
69 | %glib_compile_schemas | |
021b89b5 JB |
70 | %update_icon_cache hicolor |
71 | ||
72 | %postun | |
73 | %glib_compile_schemas | |
021b89b5 JB |
74 | %update_icon_cache hicolor |
75 | ||
76 | %files -f %{name}.lang | |
77 | %defattr(644,root,root,755) | |
52049f0a | 78 | %doc COPYING.themes NEWS README.md |
021b89b5 | 79 | %attr(755,root,root) %{_bindir}/four-in-a-row |
52049f0a | 80 | %{_datadir}/dbus-1/services/org.gnome.Four-in-a-row.service |
c4ebc5ed | 81 | %{_datadir}/glib-2.0/schemas/org.gnome.Four-in-a-row.gschema.xml |
021b89b5 | 82 | %{_datadir}/four-in-a-row |
52049f0a | 83 | %{_datadir}/metainfo/org.gnome.Four-in-a-row.appdata.xml |
c4ebc5ed JB |
84 | %{_desktopdir}/org.gnome.Four-in-a-row.desktop |
85 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.Four-in-a-row.png | |
86 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Four-in-a-row-symbolic.svg | |
021b89b5 | 87 | %{_mandir}/man6/four-in-a-row.6* |