]>
Commit | Line | Data |
---|---|---|
1 | Summary: Video games for GNOME | |
2 | Summary(pl.UTF-8): Gry wideo dla GNOME | |
3 | Name: gnome-games | |
4 | Version: 40.0 | |
5 | Release: 2 | |
6 | Epoch: 1 | |
7 | License: GPL v3+ | |
8 | Group: X11/Applications/Games | |
9 | Source0: https://download.gnome.org/sources/gnome-games/40/%{name}-%{version}.tar.xz | |
10 | # Source0-md5: c39e68fa7e42ca0b9377de3f6af206eb | |
11 | URL: https://wiki.gnome.org/Apps/Games | |
12 | BuildRequires: gettext-tools | |
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: libhandy1-devel >= 1.1.90 | |
18 | BuildRequires: libmanette-devel >= 0.2.0 | |
19 | BuildRequires: librsvg-devel >= 1:2.46 | |
20 | BuildRequires: libsoup-devel >= 2.4 | |
21 | BuildRequires: libxml2-devel >= 2.0 | |
22 | BuildRequires: meson >= 0.50.0 | |
23 | BuildRequires: ninja >= 1.5 | |
24 | BuildRequires: pkgconfig | |
25 | BuildRequires: retro-gtk-devel >= 1.0 | |
26 | BuildRequires: rpmbuild(macros) >= 1.736 | |
27 | BuildRequires: sqlite3-devel >= 3 | |
28 | BuildRequires: tar >= 1:1.22 | |
29 | BuildRequires: tracker-devel >= 2.0 | |
30 | BuildRequires: vala >= 2:0.15.1 | |
31 | BuildRequires: vala-grilo >= 0.3 | |
32 | BuildRequires: vala-libhandy1 >= 1.1.90 | |
33 | BuildRequires: vala-libmanette >= 0.2.0 | |
34 | BuildRequires: vala-librsvg >= 1:2.46 | |
35 | BuildRequires: vala-retro-gtk >= 1.0 | |
36 | BuildRequires: vala-tracker >= 2.0 | |
37 | BuildRequires: xz | |
38 | Requires(post,postun): gtk-update-icon-cache | |
39 | Requires(post,postun): glib2 >= 1:2.38 | |
40 | Requires: glib2-devel >= 1:2.38 | |
41 | Requires: hicolor-icon-theme | |
42 | Requires: libhandy1 >= 1.1.90 | |
43 | Requires: librsvg >= 1:2.46 | |
44 | Requires: retro-gtk >= 1.0 | |
45 | # requires "rusted" librsvg | |
46 | ExclusiveArch: %{x8664} %{ix86} x32 | |
47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
48 | ||
49 | %description | |
50 | Games is a GNOME 3 application to browse your video games library and | |
51 | to easily pick and play a game from it. It aims to do for games what | |
52 | Music already does for your music library. | |
53 | ||
54 | %description -l pl.UTF-8 | |
55 | GNOME Games to aplikacja GNOME 3 do przeglądania biblioteki gier wideo | |
56 | i łatwego wybierania gier i grania w nie. Celem jest, aby robić z | |
57 | grami to, co GNOME Music robi z biblioteką muzyczną. | |
58 | ||
59 | %package search-provider | |
60 | Summary: GNOME Games search provider for GNOME Shell | |
61 | Summary(pl.UTF-8): Usługa wyszukiwania GNOME Games dla powłoki GNOME | |
62 | Group: X11/Applications/Games | |
63 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
64 | Requires: gnome-shell >= 3 | |
65 | ||
66 | %description search-provider | |
67 | GNOME Games search provider for GNOME Shell. | |
68 | ||
69 | %description search-provider -l pl.UTF-8 | |
70 | Usługa wyszukiwania GNOME Games dla powłoki GNOME. | |
71 | ||
72 | %prep | |
73 | %setup -q | |
74 | ||
75 | %build | |
76 | %meson build \ | |
77 | -Dmame-plugin=true | |
78 | ||
79 | %ninja_build -C build | |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %ninja_install -C build | |
85 | ||
86 | %find_lang %{name} | |
87 | ||
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post | |
92 | %glib_compile_schemas | |
93 | %update_icon_cache hicolor | |
94 | ||
95 | %postun | |
96 | %glib_compile_schemas | |
97 | %update_icon_cache hicolor | |
98 | ||
99 | %files -f %{name}.lang | |
100 | %defattr(644,root,root,755) | |
101 | %doc AUTHORS NEWS README.md | |
102 | %attr(755,root,root) %{_bindir}/gnome-games | |
103 | %dir %{_libdir}/gnome-games | |
104 | %dir %{_libdir}/gnome-games/plugins | |
105 | %attr(755,root,root) %{_libdir}/gnome-games/plugins/libgames-*-plugin.so | |
106 | %{_libdir}/gnome-games/plugins/*.plugin | |
107 | %{_datadir}/dbus-1/services/org.gnome.Games.service | |
108 | %{_datadir}/glib-2.0/schemas/org.gnome.Games.gschema.xml | |
109 | %{_datadir}/gnome-games | |
110 | %{_datadir}/metainfo/org.gnome.Games.appdata.xml | |
111 | %{_desktopdir}/org.gnome.Games.desktop | |
112 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Games.svg | |
113 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Games-symbolic.svg | |
114 | ||
115 | %files search-provider | |
116 | %defattr(644,root,root,755) | |
117 | %attr(755,roor,root) %{_libexecdir}/gnome-games-search-provider | |
118 | %{_datadir}/dbus-1/services/org.gnome.Games.SearchProvider.service | |
119 | %{_datadir}/gnome-shell/search-providers/org.gnome.Games.SearchProvider.ini |