]>
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 | |
0c66b1d7 | 19 | BuildRequires: librsvg-devel >= 1:2.46 |
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 | |
0c66b1d7 | 34 | BuildRequires: vala-librsvg >= 1:2.46 |
a96b450e JB |
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 |
0c66b1d7 JB |
43 | Requires: librsvg >= 1:2.46 |
44 | # requires "rusted" librsvg | |
45 | ExclusiveArch: %{x8664} %{ix86} | |
617bfb5a | 46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7f3383bc | 47 | |
48 | %description | |
a96b450e JB |
49 | Games is a GNOME 3 application to browse your video games library and |
50 | to easily pick and play a game from it. It aims to do for games what | |
51 | Music already does for your music library. | |
7f3383bc | 52 | |
829f10ae | 53 | %description -l pl.UTF-8 |
a96b450e JB |
54 | GNOME Games to aplikacja GNOME 3 do przeglądania biblioteki gier wideo |
55 | i łatwego wybierania gier i grania w nie. Celem jest, aby robić z | |
56 | grami to, co GNOME Music robi z biblioteką muzyczną. | |
67946874 | 57 | |
7f3383bc | 58 | %prep |
59 | %setup -q | |
2bb74d1a | 60 | |
7f3383bc | 61 | %build |
a96b450e JB |
62 | %meson build \ |
63 | -Dmame-plugin=true | |
67946874 | 64 | |
a96b450e | 65 | %ninja_build -C build |
7f3383bc | 66 | |
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
a96b450e | 70 | %ninja_install -C build |
f9d19920 | 71 | |
f3308006 | 72 | %find_lang %{name} |
1fe95821 | 73 | |
0add80e9 JB |
74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
d98e0888 MB |
77 | %post |
78 | %glib_compile_schemas | |
f3308006 | 79 | %update_icon_cache hicolor |
d98e0888 MB |
80 | |
81 | %postun | |
82 | %glib_compile_schemas | |
f3308006 | 83 | %update_icon_cache hicolor |
d98e0888 | 84 | |
3cf32ce7 | 85 | %files -f %{name}.lang |
6bc1ab0e | 86 | %defattr(644,root,root,755) |
a96b450e JB |
87 | %doc AUTHORS NEWS README.md |
88 | %attr(755,root,root) %{_bindir}/gnome-games | |
89 | %dir %{_libdir}/gnome-games | |
90 | %dir %{_libdir}/gnome-games/plugins | |
91 | %attr(755,root,root) %{_libdir}/gnome-games/plugins/libgames-*-plugin.so | |
92 | %attr(755,root,root) %{_libdir}/gnome-games/plugins/*.plugin | |
93 | %{_datadir}/glib-2.0/schemas/org.gnome.Games.gschema.xml | |
94 | %{_datadir}/gnome-games | |
95 | %{_datadir}/metainfo/org.gnome.Games.appdata.xml | |
96 | %{_desktopdir}/org.gnome.Games.desktop | |
97 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Games.svg | |
98 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Games-symbolic.svg |