]>
Commit | Line | Data |
---|---|---|
40d06872 MB |
1 | Summary: GNOME Iagno |
2 | Summary(pl.UTF-8): Iagno dla GNOME | |
3 | Name: iagno | |
4 | Version: 3.12.1 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/iagno/3.12/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 8363f71af8385f2855a2c46d3293a985 | |
10 | URL: https://wiki.gnome.org/Apps/Iagno | |
11 | BuildRequires: appdata-tools | |
12 | BuildRequires: autoconf >= 2.63 | |
13 | BuildRequires: automake >= 1:1.11 | |
14 | BuildRequires: glib2-devel >= 1:2.36.0 | |
15 | BuildRequires: gtk+3-devel >= 3.10.0 | |
16 | BuildRequires: intltool >= 0.50.0 | |
17 | BuildRequires: libcanberra-gtk3-devel >= 0.26 | |
18 | BuildRequires: librsvg-devel >= 2.32.0 | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: vala >= 2:0.22.0 | |
21 | BuildRequires: yelp-tools | |
22 | Requires(post,postun): gtk-update-icon-cache | |
23 | Requires(post,postun): glib2 >= 1:2.26.0 | |
24 | Requires: glib2 >= 1:2.36.0 | |
25 | Requires: gtk+3 >= 3.10.0 | |
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 | |
34 | Reversi like game. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Gra podobna do Reversi. | |
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 | |
79 | %{_iconsdir}/hicolor/*/*/*.png | |
80 | %{_mandir}/man6/iagno.6* |