]>
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 | |
ebc6c796 | 4 | Version: 3.18.1 |
021b89b5 JB |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Games | |
ebc6c796 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/four-in-a-row/3.18/%{name}-%{version}.tar.xz |
9 | # Source0-md5: f6118c7685980349bff06de850f8f66e | |
021b89b5 | 10 | URL: https://wiki.gnome.org/Apps/Four-in-a-row |
2e9cd5a8 | 11 | BuildRequires: appstream-glib-devel |
021b89b5 JB |
12 | BuildRequires: autoconf >= 2.63 |
13 | BuildRequires: automake >= 1:1.11 | |
14 | BuildRequires: gnome-common | |
2e9cd5a8 | 15 | BuildRequires: gtk+3-devel >= 3.13.2 |
021b89b5 JB |
16 | BuildRequires: intltool >= 0.50 |
17 | BuildRequires: libcanberra-gtk3-devel >= 0.26 | |
18 | BuildRequires: librsvg-devel >= 2.32.0 | |
19 | BuildRequires: pkgconfig | |
2e9cd5a8 | 20 | BuildRequires: vala >= 2:0.22 |
021b89b5 JB |
21 | BuildRequires: yelp-tools |
22 | Requires(post,postun): gtk-update-icon-cache | |
23 | Requires(post,postun): glib2 >= 1:2.26.0 | |
2e9cd5a8 | 24 | Requires: gtk+3 >= 3.13.2 |
021b89b5 JB |
25 | Requires: hicolor-icon-theme |
26 | Requires: libcanberra-gtk3 >= 0.26 | |
27 | Requires: librsvg >= 2.32.0 | |
28 | Provides: gnome-games-gnect = 1:%{version}-%{release} | |
29 | Obsoletes: gnome-games-gnect < 1:3.8.0 | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | Four-in-a-row is a GNOME game which objective is to build a line of | |
34 | four of your marbles while trying to stop your opponent (human or | |
35 | computer) from building a line of his or her own. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Four-in-a-row to gra dla GNOME, której celem jest zbudowanie rzędu | |
39 | czterech kafelków, a jednocześnie powstrzymanie przeciwnika (człowieka | |
40 | lub komputera) od zbudowania własnego rzędu. | |
41 | ||
42 | %prep | |
43 | %setup -q | |
44 | ||
45 | %build | |
46 | %{__intltoolize} | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
51 | %configure \ | |
52 | --disable-silent-rules | |
53 | ||
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | %find_lang %{name} --with-gnome | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %post | |
68 | %glib_compile_schemas | |
021b89b5 JB |
69 | %update_icon_cache hicolor |
70 | ||
71 | %postun | |
72 | %glib_compile_schemas | |
021b89b5 JB |
73 | %update_icon_cache hicolor |
74 | ||
75 | %files -f %{name}.lang | |
76 | %defattr(644,root,root,755) | |
77 | %doc NEWS README | |
78 | %attr(755,root,root) %{_bindir}/four-in-a-row | |
79 | %{_datadir}/appdata/four-in-a-row.appdata.xml | |
80 | %{_datadir}/glib-2.0/schemas/org.gnome.four-in-a-row.gschema.xml | |
81 | %{_datadir}/four-in-a-row | |
82 | %{_desktopdir}/four-in-a-row.desktop | |
2e9cd5a8 | 83 | %{_iconsdir}/hicolor/*x*/apps/four-in-a-row.png |
021b89b5 | 84 | %{_iconsdir}/hicolor/scalable/apps/four-in-a-row.svg |
2e9cd5a8 | 85 | %{_iconsdir}/hicolor/scalable/apps/four-in-a-row-symbolic.svg |
021b89b5 | 86 | %{_mandir}/man6/four-in-a-row.6* |