]> git.pld-linux.org Git - packages/four-in-a-row.git/blob - four-in-a-row.spec
54bd3cf42c8f1d20076146cb913d1cdd9667ce99
[packages/four-in-a-row.git] / four-in-a-row.spec
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
4 Version:        3.12.3
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/four-in-a-row/3.12/%{name}-%{version}.tar.xz
9 # Source0-md5:  7b54457fab0ef19a23975e7c319115ed
10 URL:            https://wiki.gnome.org/Apps/Four-in-a-row
11 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  gnome-common
14 BuildRequires:  gtk+3-devel >= 3.10.0
15 BuildRequires:  intltool >= 0.50
16 BuildRequires:  libcanberra-gtk3-devel >= 0.26
17 BuildRequires:  librsvg-devel >= 2.32.0
18 BuildRequires:  pkgconfig
19 BuildRequires:  yelp-tools
20 Requires(post,postun):  gtk-update-icon-cache
21 Requires(post,postun):  glib2 >= 1:2.26.0
22 Requires:       gtk+3 >= 3.10.0
23 Requires:       hicolor-icon-theme
24 Requires:       libcanberra-gtk3 >= 0.26
25 Requires:       librsvg >= 2.32.0
26 Provides:       gnome-games-gnect = 1:%{version}-%{release}
27 Obsoletes:      gnome-games-gnect < 1:3.8.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Four-in-a-row is a GNOME game which objective is to build a line of
32 four of your marbles while trying to stop your opponent (human or
33 computer) from building a line of his or her own.
34
35 %description -l pl.UTF-8
36 Four-in-a-row to gra dla GNOME, której celem jest zbudowanie rzędu
37 czterech kafelków, a jednocześnie powstrzymanie przeciwnika (człowieka
38 lub komputera) od zbudowania własnego rzędu.
39
40 %prep
41 %setup -q
42
43 %build
44 %{__intltoolize}
45 %{__aclocal}
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 %configure \
50         --disable-silent-rules
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
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 HighContrast
68 %update_icon_cache hicolor
69
70 %postun
71 %glib_compile_schemas
72 %update_icon_cache HighContrast
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
83 %{_iconsdir}/HighContrast/*/apps/four-in-a-row.png
84 %{_iconsdir}/hicolor/*/apps/four-in-a-row.png
85 %{_iconsdir}/hicolor/scalable/apps/four-in-a-row.svg
86 %{_mandir}/man6/four-in-a-row.6*
This page took 0.055071 seconds and 2 git commands to generate.