]>
Commit | Line | Data |
---|---|---|
a96b450e JB |
1 | Summary: Video games for GNOME |
2 | Summary(pl.UTF-8): Gry wideo dla GNOME | |
1fe95821 | 3 | Name: gnome-games |
a96b450e JB |
4 | Version: 3.34.2 |
5 | Release: 1 | |
8b8bf796 | 6 | Epoch: 1 |
a96b450e | 7 | License: GPL v3+ |
22fa9ef6 | 8 | Group: X11/Applications/Games |
a96b450e JB |
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-games/3.34/%{name}-%{version}.tar.xz |
10 | # Source0-md5: f9cdbaaecab5100bb2c84f2210c07fe0 | |
11 | URL: https://wiki.gnome.org/Apps/Games | |
4bf2fee0 | 12 | BuildRequires: gettext-tools |
a96b450e JB |
13 | BuildRequires: glib2-devel >= 1:2.38 |
14 | BuildRequires: grilo-devel >= 0.3 | |
15 | BuildRequires: gtk+3-devel >= 3.0 | |
16 | BuildRequires: libarchive-devel | |
17 | BuildRequires: libhandy-devel >= 0.0.10 | |
18 | BuildRequires: libmanette-devel >= 0.2.0 | |
d98e0888 | 19 | BuildRequires: librsvg-devel >= 1:2.32.0 |
a96b450e JB |
20 | BuildRequires: libxml2-devel >= 2.0 |
21 | BuildRequires: meson >= 0.46.1 | |
22 | BuildRequires: ninja >= 1.5 | |
23 | BuildRequires: pkgconfig | |
24 | BuildRequires: retro-gtk-devel >= 0.18.0 | |
25 | BuildRequires: rpmbuild(macros) >= 1.736 | |
0c2cb79f | 26 | BuildRequires: tar >= 1:1.22 |
a96b450e | 27 | BuildRequires: tracker-devel >= 2.0 |
f3308006 | 28 | BuildRequires: vala >= 2:0.15.1 |
a96b450e JB |
29 | BuildRequires: vala-grilo >= 0.3 |
30 | BuildRequires: vala-libhandy >= 0.0.10 | |
31 | BuildRequires: vala-libmanette >= 0.2.0 | |
32 | BuildRequires: vala-librsvg >= 1:2.32.0 | |
33 | BuildRequires: vala-retro-gtk >= 0.18.0 | |
34 | BuildRequires: vala-tracker >= 2.0 | |
0c2cb79f | 35 | BuildRequires: xz |
faf554c0 | 36 | Requires(post,postun): gtk-update-icon-cache |
a96b450e JB |
37 | Requires(post,postun): glib2 >= 1:2.38 |
38 | Requires: glib2-devel >= 1:2.38 | |
d98e0888 | 39 | Requires: hicolor-icon-theme |
a96b450e | 40 | Requires: libhandy >= 0.0.10 |
d98e0888 | 41 | Requires: librsvg >= 1:2.32.0 |
617bfb5a | 42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7f3383bc | 43 | |
44 | %description | |
a96b450e JB |
45 | Games is a GNOME 3 application to browse your video games library and |
46 | to easily pick and play a game from it. It aims to do for games what | |
47 | Music already does for your music library. | |
7f3383bc | 48 | |
829f10ae | 49 | %description -l pl.UTF-8 |
a96b450e JB |
50 | GNOME Games to aplikacja GNOME 3 do przeglądania biblioteki gier wideo |
51 | i łatwego wybierania gier i grania w nie. Celem jest, aby robić z | |
52 | grami to, co GNOME Music robi z biblioteką muzyczną. | |
67946874 | 53 | |
7f3383bc | 54 | %prep |
55 | %setup -q | |
2bb74d1a | 56 | |
7f3383bc | 57 | %build |
a96b450e JB |
58 | %meson build \ |
59 | -Dmame-plugin=true | |
67946874 | 60 | |
a96b450e | 61 | %ninja_build -C build |
7f3383bc | 62 | |
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
a96b450e | 66 | %ninja_install -C build |
f9d19920 | 67 | |
f3308006 | 68 | %find_lang %{name} |
1fe95821 | 69 | |
0add80e9 JB |
70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
d98e0888 MB |
73 | %post |
74 | %glib_compile_schemas | |
f3308006 | 75 | %update_icon_cache hicolor |
d98e0888 MB |
76 | |
77 | %postun | |
78 | %glib_compile_schemas | |
f3308006 | 79 | %update_icon_cache hicolor |
d98e0888 | 80 | |
3cf32ce7 | 81 | %files -f %{name}.lang |
6bc1ab0e | 82 | %defattr(644,root,root,755) |
a96b450e JB |
83 | %doc AUTHORS NEWS README.md |
84 | %attr(755,root,root) %{_bindir}/gnome-games | |
85 | %dir %{_libdir}/gnome-games | |
86 | %dir %{_libdir}/gnome-games/plugins | |
87 | %attr(755,root,root) %{_libdir}/gnome-games/plugins/libgames-*-plugin.so | |
88 | %attr(755,root,root) %{_libdir}/gnome-games/plugins/*.plugin | |
89 | %{_datadir}/glib-2.0/schemas/org.gnome.Games.gschema.xml | |
90 | %{_datadir}/gnome-games | |
91 | %{_datadir}/metainfo/org.gnome.Games.appdata.xml | |
92 | %{_desktopdir}/org.gnome.Games.desktop | |
93 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Games.svg | |
94 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Games-symbolic.svg |