From 5e83926e665948809c214c4fc1b6a77bd7fb6a87e4bd2c2b99ebfa23023b71a4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 21 Mar 2022 08:56:08 +0000 Subject: [PATCH] Accepting request 963251 from GNOME:Next New package OBS-URL: https://build.opensuse.org/request/show/963251 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/d-spy?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + _service | 20 ++++++++++ d-spy-1.2.0.obscpio | 3 ++ d-spy.changes | 4 ++ d-spy.obsinfo | 4 ++ d-spy.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 147 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 d-spy-1.2.0.obscpio create mode 100644 d-spy.changes create mode 100644 d-spy.obsinfo create mode 100644 d-spy.spec 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..804350d --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + + git + https://gitlab.gnome.org/GNOME/d-spy.git + refs/tags/1.2.0 + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + + + + + *.tar + xz + + + + diff --git a/d-spy-1.2.0.obscpio b/d-spy-1.2.0.obscpio new file mode 100644 index 0000000..a421deb --- /dev/null +++ b/d-spy-1.2.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03a4d57215d8ad729ca6e139878a120fefbc97f5216e7175160babf53bf4d465 +size 790028 diff --git a/d-spy.changes b/d-spy.changes new file mode 100644 index 0000000..0b76e08 --- /dev/null +++ b/d-spy.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Mar 20 11:48:02 UTC 2022 - Bjørn Lie + +- Initial packaging for openSUSE. diff --git a/d-spy.obsinfo b/d-spy.obsinfo new file mode 100644 index 0000000..eed49aa --- /dev/null +++ b/d-spy.obsinfo @@ -0,0 +1,4 @@ +name: d-spy +version: 1.2.0 +mtime: 1647646412 +commit: 97f1bae72738c195b8592f6c6101a8853f1bcd7d diff --git a/d-spy.spec b/d-spy.spec new file mode 100644 index 0000000..8768746 --- /dev/null +++ b/d-spy.spec @@ -0,0 +1,92 @@ +# +# spec file for package d-spy +# +# 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 libname libdspy-1 +%define sover 1 + +Name: d-spy +Version: 1.2.0 +Release: 0 +Summary: A D-Bus explorer for GNOME +License: GPL-3.0-or-later AND LGPL-3.0-or-later +URL: https://gitlab.gnome.org/GNOME/d-spy +Source: %{name}-%{version}.tar.xz + +# appstream-glib BR disabled until upstream fixes the metadata test +# BuildRequires: appstream-glib +BuildRequires: desktop-file-utils +BuildRequires: c_compiler +BuildRequires: libxml2-tools +BuildRequires: meson >= 0.56.0 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gio-2.0) >= 2.68 +BuildRequires: pkgconfig(gtk4) >= 4.6 +BuildRequires: pkgconfig(libadwaita-1) >= 1.0 + +%description +D-Spy is a simple tool to explore D-Bus connections. + +%package -n %{libname}-%{sover} +Summary: Shared library for %{name} + +%description -n %{libname}-%{sover} +Shared library for %{name}. + +%package devel +Summary: Development/header files for %{name} +Requires: %{name} = %{version} +Requires: %{libname}-%{sover} = %{version} + +%description devel +Development/header files for %{name}. + +%prep +%autosetup -p1 + +%build +%meson \ + %{nil} +%meson_build + +%install +%meson_install + +%check +%meson_test + +%ldconfig_scriptlets -n %{libname}-%{sover} + +%files +%license COPYING COPYING.lgpl3 +%doc NEWS +%{_bindir}/%{name} +%{_datadir}/appdata/org.gnome.dspy.appdata.xml +%{_datadir}/applications/org.gnome.dspy.desktop +%{_datadir}/glib-2.0/schemas/org.gnome.dspy.gschema.xml +%{_datadir}/icons/hicolor/scalable/apps/org.gnome.dspy.devel.svg +%{_datadir}/icons/hicolor/scalable/apps/org.gnome.dspy.svg +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.dspy-symbolic.svg + +%files -n %{libname}-%{sover} +%{_libdir}/%{libname}.so.* + +%files devel +%{_includedir}/dspy-%{sover} +%{_libdir}/%{libname}.so + +%changelog +