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>
|
||||
|
||||
- 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++
|
||||
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}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user