Accepting request 962620 from GNOME:Next

Compat package for games

OBS-URL: https://build.opensuse.org/request/show/962620
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgnome-games-support1_3?expand=0&rev=1
This commit is contained in:
Bjørn Lie 2022-03-18 10:21:52 +00:00 committed by Git OBS Bridge
commit f58d043d2e
6 changed files with 132 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,2 @@
cb6c4859d16bffc941b1098f7f624c84e6a3339fce45629e45ba8b3f653d58f9 libgnome-games-support-1.8.2.news
28434604a7b038731ac0231731388ff104f565bb2330cc24e78cda04cfd3ef7d libgnome-games-support-1.8.2.tar.xz

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28434604a7b038731ac0231731388ff104f565bb2330cc24e78cda04cfd3ef7d
size 45328

View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Tue Feb 15 11:21:47 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Initial compat package libgnome-games-support1_3.

View File

@ -0,0 +1,98 @@
#
# spec file for package libgnome-games-support1_3
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define sover 3
%define _name libgnome-games-support
Name: libgnome-games-support1_3
Version: 1.8.2
Release: 0
Summary: Internal support library for GNOME games
License: LGPL-3.0-or-later
Group: Development/Libraries/GNOME
URL: https://git.gnome.org/browse/libgnome-games-support/
Source0: https://download.gnome.org/sources/libgnome-games-support/1.8/%{_name}-%{version}.tar.xz
Source1: https://download.gnome.org/sources/libgnome-games-support/1.8/%{_name}-%{version}.sha256sum
BuildRequires: intltool >= 0.50.2
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: vala >= 0.40
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0) >= 2.40
BuildRequires: pkgconfig(glib-2.0) >= 2.40
BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.2
%description
libgnome-games-support is a small library intended for internal use by
GNOME Games, but it may be used by others. The API will only break
with the major version number. The ABI is unstable.
%package -n libgnome-games-support-1-%{sover}
Summary: Internal support library for GNOME games
# In order for the -lang package to be installable
Group: System/Libraries
Provides: %{name} = %{version}
%description -n libgnome-games-support-1-%{sover}
libgnome-games-support is a small library intended for internal use by
GNOME Games, but it may be used by others. The API will only break
with the major version number. The ABI is unstable.
%package devel
Summary: Development files for the GNOME Internal games library
Group: Development/Libraries/C and C++
Requires: libgnome-games-support-1-%{sover} = %{version}
%description devel
libgnome-games-support is a small library intended for internal use by
GNOME Games, but it may be used by others. The API will only break
with the major version number. The ABI is unstable.
%lang_package
%prep
%autosetup -p1 -n %{_name}-%{version}
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{_name} %{name}.lang
%check
%meson_test
%post -n libgnome-games-support-1-%{sover} -p /sbin/ldconfig
%postun -n libgnome-games-support-1-%{sover} -p /sbin/ldconfig
%files -n libgnome-games-support-1-%{sover}
%license COPYING COPYING.LESSER
%{_libdir}/libgnome-games-support-1.so.%{sover}*
%files devel
%{_includedir}/gnome-games-support-1/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/vala/
%files lang -f %{name}.lang
%changelog