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
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0b6398ce0a5256d9a1ca321cae8f0126e0f2cc53f0ee02200103e2495398b09c
|
|
||||||
size 160611
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 13 15:33:04 UTC 2025 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
Thu Feb 13 15:33:04 UTC 2025 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||||
|
|
||||||
- Initial package.
|
- Initial package (version 3).
|
||||||
|
|||||||
25
gdbuspp.spec
25
gdbuspp.spec
@@ -23,7 +23,7 @@ Release: 0
|
|||||||
Summary: Glib2 D-Bus wrapper for C++
|
Summary: Glib2 D-Bus wrapper for C++
|
||||||
License: AGPL-3.0-only
|
License: AGPL-3.0-only
|
||||||
URL: https://codeberg.org/OpenVPN/gdbuspp
|
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
|
Patch0: doc_path.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
@@ -32,8 +32,15 @@ BuildRequires: pkgconfig(dbus-1)
|
|||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library provides a simpler C++ based interface to implement D-Bus into
|
This library provides a C++17 interface to implement D-Bus into
|
||||||
applications in a more C++ approach, based on the C++17 standard.
|
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
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
@@ -44,7 +51,7 @@ The %{name}-devel package contains libraries and header files for
|
|||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -n %{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%meson
|
||||||
@@ -52,18 +59,16 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
find %{buildroot} -name "*.a" -print
|
|
||||||
find %{buildroot} -name "*.a" -print -delete
|
find %{buildroot} -name "*.a" -print -delete
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libgdbuspp%{soVersion}
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files -n libgdbuspp%{soVersion}
|
||||||
%{_libdir}/lib%{name}.so
|
%{_libdir}/lib%{name}.so.*
|
||||||
%{_libdir}/lib%{name}.so.%{soVersion}
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc README.md dbus-primer.md example-proxy.cpp example-proxy2.cpp example-service.cpp
|
%doc README.md dbus-primer.md example-proxy.cpp example-proxy2.cpp example-service.cpp
|
||||||
|
%{_libdir}/lib%{name}.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user