File gnome-games.spec of Package gnome-games
#
# spec file for package gnome-games
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gnome-games
Version: 3.26.1.1
Release: 0
Summary: Browse and play your games - all of them
License: GPL-3.0
Group: System/GUI/GNOME
Url: https://wiki.gnome.org/Apps/Games
Source: http://download.gnome.org/sources/gnome-games/3.26/%{name}-%{version}.tar.xz
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: vala
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.38.0
BuildRequires: pkgconfig(grilo-0.3)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libevdev)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(retro-gtk-0.12)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(tracker-sparql-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Games is a GNOME application to browse your video games library and to easily pick and play a game from it.
%lang_package
%prep
%setup -q
chmod -x COPYING
%build
%configure \
--disable-static
make %{?_smp_mflags}
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file org.gnome.Games -r Game Amusement
%find_lang %{name}
%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/%{name}
%{_datadir}/icons/HighContrast/
%{_datadir}/icons/hicolor/*/apps/org.gnome.Games*
%{_libdir}/%{name}/
%{_datadir}/appdata/org.gnome.Games.appdata.xml
%{_datadir}/applications/org.gnome.Games.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.Games.gschema.xml
# splitting out a devel makes no sense at this moment
%{_includedir}/libgnome-games.h
%{_datadir}/vala/vapi/gnome-games.vapi
%files lang -f %{name}.lang
%defattr(-,root,root)
%changelog