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