Bjørn Lie 2024-09-25 13:45:11 +00:00 committed by Git OBS Bridge
commit 27726d835a
7 changed files with 160 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

19
_service Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/World/Phosh/gmobile.git</param>
<param name="revision">v0.2.1</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

3
gmobile-0.2.1.obscpio Normal file
View File

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

4
gmobile.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Sep 11 06:42:23 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Initial package, version 0.2.1.

4
gmobile.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: gmobile
version: 0.2.1
mtime: 1719040826
commit: ca8db41bb39a3117461614ae4558a3e3019a19be

106
gmobile.spec Normal file
View File

@ -0,0 +1,106 @@
#
# spec file for package gmobile
#
# Copyright (c) 2024 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/
#
Name: gmobile
Version: 0.2.1
Release: 0
Summary: Some helpers for glib based environments on mobile devices
License: LGPL-2.1-or-later
URL: https://world.pages.gitlab.gnome.org/Phosh/gmobile/
Source: %{name}-%{version}.tar.zst
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0) >= 2.66
BuildRequires: pkgconfig(glib-2.0) >= 2.66
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(json-glib-1.0) >= 1.6.2
%description
gmobile carries some helpers for glib based environments on mobile devices.
Some of those parts might move to glib or libgnome-desktop eventually. It can be used as a shared library or git submodule.
There aren't any API stability guarantees at this point in time.
%package -n libgmobile0
Summary: Some helpers for glib based environments on mobile devices
Recommends: %{name} >= %{version}
%description -n libgmobile0
gmobile carries some helpers for glib based environments on mobile devices.
Some of those parts might move to glib or libgnome-desktop eventually. It can be used as a shared library or git submodule.
There aren't any API stability guarantees at this point in time.
%package -n typelib-1_0-Gm-0
Summary: Some helpers for glib based environments on mobile devices
%description -n typelib-1_0-Gm-0
gmobile carries some helpers for glib based environments on mobile devices.
Some of those parts might move to glib or libgnome-desktop eventually. It can be used as a shared library or git submodule.
There aren't any API stability guarantees at this point in time.
%package devel
Summary: Some helpers for glib based environments on mobile devices
Requires: libgmobile0 = %{version}
Requires: typelib-1_0-Gm-0 = %{version}
%description devel
gmobile carries some helpers for glib based environments on mobile devices.
Some of those parts might move to glib or libgnome-desktop eventually. It can be used as a shared library or git submodule.
There aren't any API stability guarantees at this point in time.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
# Remove static library
rm %{buildroot}%{_libdir}/libgmobile.a
%check
%meson_test
%ldconfig_scriptlets -n libgmobile0
%files
%{_bindir}/gm-display-panel-preview
%{_bindir}/gm-display-panel-run-phosh
%{_bindir}/gm-timeout
%dir %{_udevhwdbdir}
%{_udevhwdbdir}/61-gmobile-wakeup.hwdb
%{_udevrulesdir}/61-gmobile.rules
%files -n libgmobile0
%{_libdir}/libgmobile.so.0
%files -n typelib-1_0-Gm-0
%{_libdir}/girepository-1.0/Gm-0.typelib
%files devel
%{_includedir}/gmobile/
%{_datadir}/gir-1.0/Gm-0.gir
%{_libdir}/pkgconfig/gmobile.pc
%{_libdir}/libgmobile.so
%changelog