commit 27726d835a538749557a823578d9537d05d3a223614e8490c64ebdb84bceafea Author: Bjørn Lie Date: Wed Sep 25 13:45:11 2024 +0000 New package OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gmobile?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..e52fec5 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://gitlab.gnome.org/World/Phosh/gmobile.git + v0.2.1 + @PARENT_TAG@+@TAG_OFFSET@ + v?(.*)\+0 + \1 + + + + + *.tar + zst + + + + diff --git a/gmobile-0.2.1.obscpio b/gmobile-0.2.1.obscpio new file mode 100644 index 0000000..413541f --- /dev/null +++ b/gmobile-0.2.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8d03eafc39076a7dc346fd1335dcf1124467f6857d26b2e15d9d8498d5a689f +size 233483 diff --git a/gmobile.changes b/gmobile.changes new file mode 100644 index 0000000..d7da6f7 --- /dev/null +++ b/gmobile.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Sep 11 06:42:23 UTC 2024 - Dominique Leuenberger + +- Initial package, version 0.2.1. diff --git a/gmobile.obsinfo b/gmobile.obsinfo new file mode 100644 index 0000000..b39eb3d --- /dev/null +++ b/gmobile.obsinfo @@ -0,0 +1,4 @@ +name: gmobile +version: 0.2.1 +mtime: 1719040826 +commit: ca8db41bb39a3117461614ae4558a3e3019a19be diff --git a/gmobile.spec b/gmobile.spec new file mode 100644 index 0000000..1b730fc --- /dev/null +++ b/gmobile.spec @@ -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