]>
Commit | Line | Data |
---|---|---|
95a7638f JB |
1 | Summary: GNOME Robots game |
2 | Summary(pl.UTF-8): Gra Robots dla GNOME | |
b6d826c9 | 3 | Name: gnome-robots |
b3393115 | 4 | Version: 3.20.2 |
b6d826c9 | 5 | Release: 1 |
b3393115 | 6 | License: GPL v3+ |
b6d826c9 | 7 | Group: X11/Applications/Games |
83560d77 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-robots/3.20/%{name}-%{version}.tar.xz |
b3393115 | 9 | # Source0-md5: 533b825799360d0e32b218273d7b3972 |
b6d826c9 | 10 | URL: https://wiki.gnome.org/Apps/Robots |
a55cbc8a | 11 | BuildRequires: appstream-glib-devel |
b6d826c9 MB |
12 | BuildRequires: autoconf >= 2.63 |
13 | BuildRequires: automake >= 1:1.11 | |
28ede32c | 14 | BuildRequires: glib2-devel >= 1:2.32.0 |
a55cbc8a | 15 | BuildRequires: gtk+3-devel >= 3.15.0 |
b6d826c9 MB |
16 | BuildRequires: intltool >= 0.50.0 |
17 | BuildRequires: libcanberra-gtk3-devel >= 0.26 | |
b3393115 | 18 | BuildRequires: libgames-support-devel >= 1.0 |
28ede32c | 19 | BuildRequires: librsvg-devel >= 2.36.2 |
b6d826c9 MB |
20 | BuildRequires: pkgconfig |
21 | BuildRequires: yelp-tools | |
22 | Requires(post,postun): gtk-update-icon-cache | |
a55cbc8a JB |
23 | Requires(post,postun): glib2 >= 1:2.32.0 |
24 | Requires: glib2 >= 1:2.32.0 | |
25 | Requires: gtk+3 >= 3.15.0 | |
b6d826c9 MB |
26 | Requires: hicolor-icon-theme |
27 | Requires: libcanberra-gtk3 >= 0.26 | |
b3393115 | 28 | Requires: libgames-support >= 1.0 |
28ede32c | 29 | Requires: librsvg >= 2.36.2 |
b6d826c9 MB |
30 | Provides: gnome-games-gnobots2 = 1:%{version}-%{release} |
31 | Obsoletes: gnome-games-gnobots2 < 1:3.8.0 | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
95a7638f JB |
35 | GNOME Robots is the classic robots game where you have to avoid the |
36 | robots and make them crash into each other. | |
b6d826c9 MB |
37 | |
38 | %description -l pl.UTF-8 | |
83560d77 MB |
39 | GNOME Robots to klasyczna gra z robotami, polegająca na unikaniu ich i |
40 | powodowaniu, żeby zderzały się ze sobą wzajemnie. | |
b6d826c9 MB |
41 | |
42 | %prep | |
43 | %setup -q | |
44 | ||
45 | %build | |
46 | %{__intltoolize} | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__automake} | |
50 | %configure \ | |
51 | --disable-silent-rules | |
52 | ||
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %find_lang %{name} --with-gnome | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post | |
67 | %glib_compile_schemas | |
b6d826c9 MB |
68 | %update_icon_cache hicolor |
69 | ||
70 | %postun | |
71 | %glib_compile_schemas | |
b6d826c9 MB |
72 | %update_icon_cache hicolor |
73 | ||
74 | %files -f %{name}.lang | |
75 | %defattr(644,root,root,755) | |
76 | %doc NEWS | |
77 | %attr(755,root,root) %{_bindir}/gnome-robots | |
78 | %{_datadir}/appdata/gnome-robots.appdata.xml | |
79 | %{_datadir}/glib-2.0/schemas/org.gnome.robots.gschema.xml | |
80 | %{_datadir}/gnome-robots | |
81 | %{_desktopdir}/gnome-robots.desktop | |
a4a19ad8 | 82 | %{_iconsdir}/hicolor/24x24/actions/teleport*.png |
a55cbc8a | 83 | %{_iconsdir}/hicolor/*x*/apps/gnome-robots.png |
a4a19ad8 | 84 | %{_iconsdir}/hicolor/scalable/apps/gnome-robots.svg |
a55cbc8a | 85 | %{_iconsdir}/hicolor/scalable/apps/gnome-robots-symbolic.svg |
b6d826c9 | 86 | %{_mandir}/man6/gnome-robots.6* |