- Initial package
OBS-URL: https://build.opensuse.org/package/show/home:wfrisch:openvpn3/gdbuspp?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
11
doc_path.patch
Normal file
11
doc_path.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- gdbuspp-3/meson.build 2024-11-19 21:16:24.000000000 +0100
|
||||
+++ gdbuspp-3-patched/meson.build 2025-02-13 16:22:50.023533047 +0100
|
||||
@@ -156,7 +156,7 @@
|
||||
#
|
||||
install_data(
|
||||
'README.md',
|
||||
- install_dir: get_option('datadir') / 'doc/gdbuspp',
|
||||
+ install_dir: get_option('datadir') / 'doc/packages/gdbuspp-devel',
|
||||
install_mode: 'rw-r--r--',
|
||||
sources: [
|
||||
'docs/dbus-primer.md',
|
||||
3
gdbuspp-3.tar.gz
Normal file
3
gdbuspp-3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0b6398ce0a5256d9a1ca321cae8f0126e0f2cc53f0ee02200103e2495398b09c
|
||||
size 160611
|
||||
4
gdbuspp.changes
Normal file
4
gdbuspp.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 13 15:33:04 UTC 2025 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||
|
||||
- Initial package
|
||||
70
gdbuspp.spec
Normal file
70
gdbuspp.spec
Normal file
@@ -0,0 +1,70 @@
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: gdbuspp
|
||||
Version: 3
|
||||
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
|
||||
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 simpler C++ based interface to implement D-Bus into
|
||||
applications in a more C++ approach, based on the C++17 standard.
|
||||
|
||||
%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
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
find %{buildroot} -name "*.a" -print
|
||||
find %{buildroot} -name "*.a" -print -delete
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%doc README.md dbus-primer.md example-proxy.cpp example-proxy2.cpp example-service.cpp
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user