]> git.pld-linux.org Git - packages/gnome-games.git/blame - gnome-games.spec
- allow x32
[packages/gnome-games.git] / gnome-games.spec
CommitLineData
a96b450e
JB
1Summary: Video games for GNOME
2Summary(pl.UTF-8): Gry wideo dla GNOME
1fe95821 3Name: gnome-games
e95942bd 4Version: 3.38.0
a96b450e 5Release: 1
8b8bf796 6Epoch: 1
a96b450e 7License: GPL v3+
22fa9ef6 8Group: X11/Applications/Games
e95942bd
JB
9Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-games/3.38/%{name}-%{version}.tar.xz
10# Source0-md5: 976f10d975798dec30b88cdc8aef3cbb
a96b450e 11URL: https://wiki.gnome.org/Apps/Games
4bf2fee0 12BuildRequires: gettext-tools
a96b450e
JB
13BuildRequires: glib2-devel >= 1:2.38
14BuildRequires: grilo-devel >= 0.3
15BuildRequires: gtk+3-devel >= 3.0
16BuildRequires: libarchive-devel
e95942bd 17BuildRequires: libhandy1-devel >= 0.90.0
a96b450e 18BuildRequires: libmanette-devel >= 0.2.0
0c66b1d7 19BuildRequires: librsvg-devel >= 1:2.46
9de7d031 20BuildRequires: libsoup-devel >= 2.4
a96b450e
JB
21BuildRequires: libxml2-devel >= 2.0
22BuildRequires: meson >= 0.46.1
23BuildRequires: ninja >= 1.5
24BuildRequires: pkgconfig
e95942bd 25BuildRequires: retro-gtk-devel >= 1.0
a96b450e 26BuildRequires: rpmbuild(macros) >= 1.736
9de7d031 27BuildRequires: sqlite3-devel >= 3
0c2cb79f 28BuildRequires: tar >= 1:1.22
a96b450e 29BuildRequires: tracker-devel >= 2.0
f3308006 30BuildRequires: vala >= 2:0.15.1
a96b450e 31BuildRequires: vala-grilo >= 0.3
e95942bd 32BuildRequires: vala-libhandy1 >= 0.90.0
a96b450e 33BuildRequires: vala-libmanette >= 0.2.0
0c66b1d7 34BuildRequires: vala-librsvg >= 1:2.46
e95942bd 35BuildRequires: vala-retro-gtk >= 1.0
a96b450e 36BuildRequires: vala-tracker >= 2.0
0c2cb79f 37BuildRequires: xz
faf554c0 38Requires(post,postun): gtk-update-icon-cache
a96b450e
JB
39Requires(post,postun): glib2 >= 1:2.38
40Requires: glib2-devel >= 1:2.38
d98e0888 41Requires: hicolor-icon-theme
e95942bd 42Requires: libhandy1 >= 0.90.0
0c66b1d7 43Requires: librsvg >= 1:2.46
e95942bd 44Requires: retro-gtk >= 1.0
0c66b1d7 45# requires "rusted" librsvg
ee533ec6 46ExclusiveArch: %{x8664} %{ix86} x32
617bfb5a 47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
7f3383bc 48
49%description
a96b450e
JB
50Games is a GNOME 3 application to browse your video games library and
51to easily pick and play a game from it. It aims to do for games what
52Music already does for your music library.
7f3383bc 53
829f10ae 54%description -l pl.UTF-8
a96b450e
JB
55GNOME Games to aplikacja GNOME 3 do przeglądania biblioteki gier wideo
56i łatwego wybierania gier i grania w nie. Celem jest, aby robić z
57grami to, co GNOME Music robi z biblioteką muzyczną.
67946874 58
e95942bd
JB
59%package search-provider
60Summary: GNOME Games search provider for GNOME Shell
61Summary(pl.UTF-8): Usługa wyszukiwania GNOME Games dla powłoki GNOME
62Group: X11/Applications/Games
63Requires: %{name} = %{version}-%{release}
64Requires: gnome-shell >= 3
65
66%description search-provider
67GNOME Games search provider for GNOME Shell.
68
69%description search-provider -l pl.UTF-8
70Usługa wyszukiwania GNOME Games dla powłoki GNOME.
71
7f3383bc 72%prep
73%setup -q
2bb74d1a 74
7f3383bc 75%build
a96b450e
JB
76%meson build \
77 -Dmame-plugin=true
67946874 78
a96b450e 79%ninja_build -C build
7f3383bc 80
81%install
82rm -rf $RPM_BUILD_ROOT
83
a96b450e 84%ninja_install -C build
f9d19920 85
f3308006 86%find_lang %{name}
1fe95821 87
0add80e9
JB
88%clean
89rm -rf $RPM_BUILD_ROOT
90
d98e0888
MB
91%post
92%glib_compile_schemas
f3308006 93%update_icon_cache hicolor
d98e0888
MB
94
95%postun
96%glib_compile_schemas
f3308006 97%update_icon_cache hicolor
d98e0888 98
3cf32ce7 99%files -f %{name}.lang
6bc1ab0e 100%defattr(644,root,root,755)
a96b450e
JB
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
e95942bd
JB
106%{_libdir}/gnome-games/plugins/*.plugin
107%{_datadir}/dbus-1/services/org.gnome.Games.service
a96b450e
JB
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
e95942bd
JB
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
This page took 0.232172 seconds and 4 git commands to generate.