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