SHA256
1
0
forked from pool/d-spy

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
This commit is contained in:
Dominique Leuenberger 2022-03-21 08:56:08 +00:00 committed by Git OBS Bridge
commit 5e83926e66
7 changed files with 147 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

20
_service Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/d-spy.git</param>
<param name="revision">refs/tags/1.2.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+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">xz</param>
</service>
<service name="set_version" mode="manual" />
</services>

3
d-spy-1.2.0.obscpio Normal file
View File

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

4
d-spy.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Mar 20 11:48:02 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Initial packaging for openSUSE.

4
d-spy.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: d-spy
version: 1.2.0
mtime: 1647646412
commit: 97f1bae72738c195b8592f6c6101a8853f1bcd7d

92
d-spy.spec Normal file
View File

@ -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