]>
Commit | Line | Data |
---|---|---|
5c54608f JB |
1 | Summary: GNOME Iagno - disk flipping game derived from Reversi |
2 | Summary(pl.UTF-8): Iagno dla GNOME - gra w obracanie krążków wywodząca się z Reversi | |
40d06872 | 3 | Name: iagno |
b42a6204 | 4 | Version: 3.16.1 |
40d06872 | 5 | Release: 1 |
5c54608f | 6 | License: GPL v2+ |
40d06872 | 7 | Group: X11/Applications/Games |
b42a6204 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/iagno/3.16/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 3cdcf8c1aaeeec5e57090a0582d16328 | |
40d06872 | 10 | URL: https://wiki.gnome.org/Apps/Iagno |
b42a6204 | 11 | BuildRequires: appstream-glib-devel |
40d06872 MB |
12 | BuildRequires: autoconf >= 2.63 |
13 | BuildRequires: automake >= 1:1.11 | |
f95d0af1 | 14 | BuildRequires: glib2-devel >= 1:2.40.0 |
b42a6204 | 15 | BuildRequires: gtk+3-devel >= 3.15.0 |
40d06872 MB |
16 | BuildRequires: intltool >= 0.50.0 |
17 | BuildRequires: libcanberra-gtk3-devel >= 0.26 | |
18 | BuildRequires: librsvg-devel >= 2.32.0 | |
19 | BuildRequires: pkgconfig | |
b42a6204 | 20 | BuildRequires: vala >= 2:0.27.1 |
40d06872 MB |
21 | BuildRequires: yelp-tools |
22 | Requires(post,postun): gtk-update-icon-cache | |
b42a6204 | 23 | Requires(post,postun): glib2 >= 1:2.40.0 |
f95d0af1 | 24 | Requires: glib2 >= 1:2.40.0 |
b42a6204 | 25 | Requires: gtk+3 >= 3.15.0 |
40d06872 MB |
26 | Requires: hicolor-icon-theme |
27 | Requires: libcanberra-gtk3 >= 0.26 | |
28 | Requires: librsvg >= 2.32.0 | |
29 | Provides: gnome-games-iagno = 1:%{version}-%{release} | |
30 | Obsoletes: gnome-games-iagno < 1:3.8.0 | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
5c54608f | 34 | GNOME Iagno is a Reversi like game. |
40d06872 MB |
35 | |
36 | %description -l pl.UTF-8 | |
5c54608f | 37 | GNOME Iagno to gra podobna do Reversi. |
40d06872 MB |
38 | |
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | %{__intltoolize} | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__automake} | |
47 | %configure \ | |
48 | --disable-silent-rules | |
49 | ||
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %find_lang %{name} --with-gnome | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | %glib_compile_schemas | |
65 | %update_icon_cache hicolor | |
66 | ||
67 | %postun | |
68 | %glib_compile_schemas | |
69 | %update_icon_cache hicolor | |
70 | ||
71 | %files -f %{name}.lang | |
72 | %defattr(644,root,root,755) | |
73 | %doc NEWS | |
74 | %attr(755,root,root) %{_bindir}/iagno | |
75 | %{_datadir}/appdata/iagno.appdata.xml | |
76 | %{_datadir}/glib-2.0/schemas/org.gnome.iagno.gschema.xml | |
77 | %{_datadir}/iagno | |
78 | %{_desktopdir}/iagno.desktop | |
b42a6204 JB |
79 | %{_iconsdir}/hicolor/*x*/apps/iagno.png |
80 | %{_iconsdir}/hicolor/scalable/apps/iagno-symbolic.svg | |
40d06872 | 81 | %{_mandir}/man6/iagno.6* |