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
76 lines
2.1 KiB
RPMSpec
76 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package gdbuspp
|
|
#
|
|
# Copyright (c) 2025 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 soVersion 3
|
|
|
|
Name: gdbuspp
|
|
Version: 3
|
|
Release: 0
|
|
Summary: Glib2 D-Bus wrapper for C++
|
|
License: AGPL-3.0-only
|
|
URL: https://codeberg.org/OpenVPN/gdbuspp
|
|
Source: https://codeberg.org/OpenVPN/gdbuspp/archive/v%{version}.tar.gz
|
|
Patch0: doc_path.patch
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: meson
|
|
BuildRequires: cmake
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
%description
|
|
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}
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
find %{buildroot} -name "*.a" -print -delete
|
|
|
|
%ldconfig_scriptlets -n libgdbuspp%{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}/*
|
|
|
|
%changelog
|