]>
Commit | Line | Data |
---|---|---|
b6d826c9 MB |
1 | Summary: GNOME Robots |
2 | Summary(pl.UTF-8): Robots dla GNOME | |
3 | Name: gnome-robots | |
fc55bd94 | 4 | Version: 3.12.2 |
b6d826c9 MB |
5 | Release: 1 |
6 | License: GPL v2 | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-robots/3.12/%{name}-%{version}.tar.xz | |
fc55bd94 | 9 | # Source0-md5: 61029bdaaa2162c492a9854b952d5a4f |
b6d826c9 MB |
10 | URL: https://wiki.gnome.org/Apps/Robots |
11 | BuildRequires: autoconf >= 2.63 | |
12 | BuildRequires: automake >= 1:1.11 | |
13 | BuildRequires: gnome-common | |
14 | BuildRequires: gtk+3-devel >= 3.4.0 | |
15 | BuildRequires: intltool >= 0.50.0 | |
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.4.0 | |
23 | Requires: hicolor-icon-theme | |
24 | Requires: libcanberra-gtk3 >= 0.26 | |
25 | Requires: librsvg >= 2.32.0 | |
26 | Provides: gnome-games-gnobots2 = 1:%{version}-%{release} | |
27 | Obsoletes: gnome-games-gnobots2 < 1:3.8.0 | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | Avoid the robots and make them crash into each other. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Gra polegająca na zapobieganiu zderzeniom robotów. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | %{__intltoolize} | |
41 | %{__aclocal} | |
42 | %{__autoconf} | |
43 | %{__automake} | |
44 | %configure \ | |
45 | --disable-silent-rules | |
46 | ||
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %find_lang %{name} --with-gnome | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %glib_compile_schemas | |
62 | %update_icon_cache HighContrast | |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %postun | |
66 | %glib_compile_schemas | |
67 | %update_icon_cache HighContrast | |
68 | %update_icon_cache hicolor | |
69 | ||
70 | %files -f %{name}.lang | |
71 | %defattr(644,root,root,755) | |
72 | %doc NEWS | |
73 | %attr(755,root,root) %{_bindir}/gnome-robots | |
74 | %{_datadir}/appdata/gnome-robots.appdata.xml | |
75 | %{_datadir}/glib-2.0/schemas/org.gnome.robots.gschema.xml | |
76 | %{_datadir}/gnome-robots | |
77 | %{_desktopdir}/gnome-robots.desktop | |
78 | %{_iconsdir}/HighContrast/*/*/*.png | |
79 | %{_iconsdir}/hicolor/*/*/*.png | |
80 | %{_iconsdir}/hicolor/*/*/*.svg | |
81 | %{_mandir}/man6/gnome-robots.6* |