]>
Commit | Line | Data |
---|---|---|
95a7638f JB |
1 | Summary: GNOME Robots game |
2 | Summary(pl.UTF-8): Gra Robots dla GNOME | |
b6d826c9 | 3 | Name: gnome-robots |
87dd4b01 | 4 | Version: 40.0 |
59337f8d | 5 | Release: 2 |
b3393115 | 6 | License: GPL v3+ |
b6d826c9 | 7 | Group: X11/Applications/Games |
87dd4b01 JB |
8 | Source0: https://download.gnome.org/sources/gnome-robots/40/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 041b5df6329df23434edb267bafab3eb | |
b6d826c9 | 10 | URL: https://wiki.gnome.org/Apps/Robots |
397a3b12 JB |
11 | BuildRequires: appstream-glib |
12 | BuildRequires: gettext-tools | |
28ede32c | 13 | BuildRequires: glib2-devel >= 1:2.32.0 |
397a3b12 | 14 | BuildRequires: gsound-devel >= 1.0.2 |
f890e625 | 15 | BuildRequires: gtk+3-devel >= 3.24.0 |
87dd4b01 | 16 | BuildRequires: libgee-devel >= 0.8 |
f890e625 | 17 | BuildRequires: libgnome-games-support-devel >= 1.7.1 |
28ede32c | 18 | BuildRequires: librsvg-devel >= 2.36.2 |
397a3b12 JB |
19 | BuildRequires: meson |
20 | BuildRequires: ninja >= 1.5 | |
b6d826c9 | 21 | BuildRequires: pkgconfig |
397a3b12 JB |
22 | BuildRequires: python3 >= 1:3 |
23 | BuildRequires: rpmbuild(macros) >= 1.736 | |
24 | BuildRequires: tar >= 1:1.22 | |
87dd4b01 | 25 | BuildRequires: vala |
ad940d4a JB |
26 | BuildRequires: vala-gsound >= 1.0.2 |
27 | BuildRequires: vala-libgee >= 0.8 | |
28 | BuildRequires: vala-libgnome-games-support >= 1.7.1 | |
29 | BuildRequires: vala-librsvg >= 2.36.2 | |
397a3b12 | 30 | BuildRequires: xz |
b6d826c9 | 31 | BuildRequires: yelp-tools |
a55cbc8a | 32 | Requires(post,postun): glib2 >= 1:2.32.0 |
87dd4b01 | 33 | Requires(post,postun): gtk-update-icon-cache |
a55cbc8a | 34 | Requires: glib2 >= 1:2.32.0 |
397a3b12 | 35 | Requires: gsound >= 1.0.2 |
f890e625 | 36 | Requires: gtk+3 >= 3.24.0 |
b6d826c9 | 37 | Requires: hicolor-icon-theme |
87dd4b01 | 38 | Requires: libgee >= 0.8 |
f890e625 | 39 | Requires: libgnome-games-support >= 1.7.1 |
28ede32c | 40 | Requires: librsvg >= 2.36.2 |
b6d826c9 MB |
41 | Provides: gnome-games-gnobots2 = 1:%{version}-%{release} |
42 | Obsoletes: gnome-games-gnobots2 < 1:3.8.0 | |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
44 | ||
45 | %description | |
95a7638f JB |
46 | GNOME Robots is the classic robots game where you have to avoid the |
47 | robots and make them crash into each other. | |
b6d826c9 MB |
48 | |
49 | %description -l pl.UTF-8 | |
83560d77 MB |
50 | GNOME Robots to klasyczna gra z robotami, polegająca na unikaniu ich i |
51 | powodowaniu, żeby zderzały się ze sobą wzajemnie. | |
b6d826c9 MB |
52 | |
53 | %prep | |
54 | %setup -q | |
55 | ||
56 | %build | |
397a3b12 | 57 | %meson build |
b6d826c9 | 58 | |
397a3b12 | 59 | %ninja_build -C build |
b6d826c9 MB |
60 | |
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
397a3b12 | 64 | %ninja_install -C build |
b6d826c9 MB |
65 | |
66 | %find_lang %{name} --with-gnome | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post | |
72 | %glib_compile_schemas | |
b6d826c9 MB |
73 | %update_icon_cache hicolor |
74 | ||
75 | %postun | |
76 | %glib_compile_schemas | |
b6d826c9 MB |
77 | %update_icon_cache hicolor |
78 | ||
79 | %files -f %{name}.lang | |
80 | %defattr(644,root,root,755) | |
81 | %doc NEWS | |
82 | %attr(755,root,root) %{_bindir}/gnome-robots | |
f890e625 | 83 | %{_datadir}/dbus-1/services/org.gnome.Robots.service |
397a3b12 | 84 | %{_datadir}/glib-2.0/schemas/org.gnome.Robots.gschema.xml |
b6d826c9 | 85 | %{_datadir}/gnome-robots |
397a3b12 JB |
86 | %{_datadir}/metainfo/org.gnome.Robots.appdata.xml |
87 | %{_desktopdir}/org.gnome.Robots.desktop | |
a4a19ad8 | 88 | %{_iconsdir}/hicolor/24x24/actions/teleport*.png |
397a3b12 JB |
89 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Robots.svg |
90 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Robots-symbolic.svg | |
b6d826c9 | 91 | %{_mandir}/man6/gnome-robots.6* |