From f4057de50862bf79b54ec21bc4f6d03c73e6e29ccce3a980c70a59e8ca855c15 Mon Sep 17 00:00:00 2001 From: Wolfgang Frisch Date: Wed, 2 Apr 2025 14:36:01 +0000 Subject: [PATCH] Accepting request 1266065 from home:jengelh:branches:devel:libraries:c_c++ throw out tarball with undocumented origin follow Shared Library Packaging Policy OBS-URL: https://build.opensuse.org/request/show/1266065 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gdbuspp?expand=0&rev=2 --- gdbuspp-3.tar.gz | 3 --- gdbuspp.changes | 2 +- gdbuspp.spec | 25 +++++++++++++++---------- v3.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 gdbuspp-3.tar.gz create mode 100644 v3.tar.gz diff --git a/gdbuspp-3.tar.gz b/gdbuspp-3.tar.gz deleted file mode 100644 index 6f7ee85..0000000 --- a/gdbuspp-3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0b6398ce0a5256d9a1ca321cae8f0126e0f2cc53f0ee02200103e2495398b09c -size 160611 diff --git a/gdbuspp.changes b/gdbuspp.changes index fb3d2e4..f080f45 100644 --- a/gdbuspp.changes +++ b/gdbuspp.changes @@ -1,4 +1,4 @@ ------------------------------------------------------------------- Thu Feb 13 15:33:04 UTC 2025 - Wolfgang Frisch -- Initial package. +- Initial package (version 3). diff --git a/gdbuspp.spec b/gdbuspp.spec index 1b51641..c475722 100644 --- a/gdbuspp.spec +++ b/gdbuspp.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Glib2 D-Bus wrapper for C++ License: AGPL-3.0-only URL: https://codeberg.org/OpenVPN/gdbuspp -Source0: %{name}-%{version}.tar.gz +Source: https://codeberg.org/OpenVPN/gdbuspp/archive/v%{version}.tar.gz Patch0: doc_path.patch BuildRequires: gcc-c++ BuildRequires: meson @@ -32,8 +32,15 @@ BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(glib-2.0) %description -This library provides a simpler C++ based interface to implement D-Bus into -applications in a more C++ approach, based on the C++17 standard. +This library provides a C++17 interface to implement D-Bus into +applications. + +%package -n libgdbuspp%{soVersion} +Summary: Glib2 D-Bus wrapper for C++ + +%description -n libgdbuspp%{soVersion} +This library provides a C++17 interface to implement D-Bus into +applications. %package devel Summary: Development files for %{name} @@ -44,7 +51,7 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep -%autosetup -p1 +%autosetup -p1 -n %{name} %build %meson @@ -52,18 +59,16 @@ developing applications that use %{name}. %install %meson_install -find %{buildroot} -name "*.a" -print find %{buildroot} -name "*.a" -print -delete -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets -n libgdbuspp%{soVersion} -%files -%{_libdir}/lib%{name}.so -%{_libdir}/lib%{name}.so.%{soVersion} +%files -n libgdbuspp%{soVersion} +%{_libdir}/lib%{name}.so.* %files devel %doc README.md dbus-primer.md example-proxy.cpp example-proxy2.cpp example-service.cpp +%{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_includedir}/* diff --git a/v3.tar.gz b/v3.tar.gz new file mode 100644 index 0000000..5a10a88 --- /dev/null +++ b/v3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84df64f3c89a171646afae027781a0f53ad758276f223f21d965cdb52451d88b +size 160694