forked from pool/libexmdbpp
Compare commits
5 Commits
Author | SHA256 | Date | |
---|---|---|---|
170120bdea | |||
|
7cc40b76e3 | ||
|
1641e32b40 | ||
4afeb99087 | |||
5514aaf4e4 |
3
_scmsync.obsinfo
Normal file
3
_scmsync.obsinfo
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
mtime: 1752570011
|
||||||
|
commit: 2259086c585aecc27b6de212937a1b5ce2a60b8f95c029f4287a373a27d3967d
|
||||||
|
url: https://src.opensuse.org/jengelh/libexmdbpp
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9a80fe39e923adeaf43c2c4adde8f38ef9cfbd9e12707944550b2c5c05ec0ad2
|
||||||
|
size 256
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 15 08:05:06 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Enable multipython build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 4 18:40:21 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
Mon Sep 4 18:40:21 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libexmdbpp
|
# spec file for package libexmdbpp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15allpythons}
|
||||||
|
%define skip_python2 1
|
||||||
%define lname libexmdbpp0
|
%define lname libexmdbpp0
|
||||||
Name: libexmdbpp
|
Name: libexmdbpp
|
||||||
Version: 1.11.0.58baa16
|
Version: 1.11.0.58baa16
|
||||||
@@ -27,9 +29,20 @@ URL: https://grommunio.com/
|
|||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python3
|
%if 0%{?rhel} || 0%{?fedora_version}
|
||||||
BuildRequires: python3-pybind11-devel
|
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
|
BuildRequires: pybind11-devel
|
||||||
|
BuildRequires: python3
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500
|
||||||
|
%{?sle15allpythons}
|
||||||
|
BuildRequires: python3-rpm-macros
|
||||||
|
BuildRequires: %{python_module base}
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pybind11-devel}
|
||||||
|
%define python_subpackage_only 1
|
||||||
|
%python_subpackages
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The library provides a C++ API and implementation for constructing
|
The library provides a C++ API and implementation for constructing
|
||||||
@@ -43,17 +56,30 @@ Group: System/Libraries
|
|||||||
The library provides a C++ API and implementation for constructing
|
The library provides a C++ API and implementation for constructing
|
||||||
exmdb protocol requests and responses and conversing with a server.
|
exmdb protocol requests and responses and conversing with a server.
|
||||||
|
|
||||||
%package devel
|
%package -n libexmdbpp-devel
|
||||||
Summary: Development files for libexmdbpp
|
Summary: Development files for libexmdbpp
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: %lname = %version-%release
|
Requires: %lname = %version-%release
|
||||||
|
|
||||||
%description devel
|
%description -n libexmdbpp-devel
|
||||||
The library provides a C++ API and implementation for constructing
|
The library provides a C++ API and implementation for constructing
|
||||||
exmdb protocol requests and responses and conversing with a server.
|
exmdb protocol requests and responses and conversing with a server.
|
||||||
|
|
||||||
This subpackage contains the header files for the library.
|
This subpackage contains the header files for the library.
|
||||||
|
|
||||||
|
# section for SUSE
|
||||||
|
%package -n python-pyexmdb
|
||||||
|
Summary: Python bindings for libexmdbpp
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Requires: %lname = %version-%release
|
||||||
|
|
||||||
|
%description -n python-pyexmdb
|
||||||
|
The library provides a C++ API and implementation for constructing
|
||||||
|
exmdb protocol requests and responses and conversing with a server.
|
||||||
|
|
||||||
|
This subpackage contains bindings for Python.
|
||||||
|
|
||||||
|
# section for Fedora
|
||||||
%package -n python3-pyexmdb
|
%package -n python3-pyexmdb
|
||||||
Summary: Python bindings for libexmdbpp
|
Summary: Python bindings for libexmdbpp
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
@@ -69,27 +95,50 @@ This subpackage contains bindings for Python.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500
|
||||||
|
base="$PWD"
|
||||||
|
%{python_expand #
|
||||||
|
%define __builddir b%$python_bin_suffix
|
||||||
|
%cmake -DPython3_EXECUTABLE=%{_bindir}/python%$python_bin_suffix
|
||||||
|
%cmake_build
|
||||||
|
cd "$base"
|
||||||
|
}
|
||||||
|
%else
|
||||||
%cmake
|
%cmake
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500
|
||||||
|
base="$PWD"
|
||||||
|
%{python_expand #
|
||||||
|
%define __builddir b%$python_bin_suffix
|
||||||
|
%cmake_install
|
||||||
|
cd "$base"
|
||||||
|
}
|
||||||
|
%else
|
||||||
%cmake_install
|
%cmake_install
|
||||||
# Stop check-rpaths from complaining about standard runpaths (fedora).
|
# Stop check-rpaths from complaining about standard runpaths (fedora).
|
||||||
export QA_RPATHS=0x0001
|
export QA_RPATHS=0x0001
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %lname
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%_libdir/libexmdbpp.so.0
|
%_libdir/libexmdbpp.so.0
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%files devel
|
%files -n libexmdbpp-devel
|
||||||
%_includedir/exmdbpp/
|
%_includedir/exmdbpp/
|
||||||
%_libdir/libexmdbpp.so
|
%_libdir/libexmdbpp.so
|
||||||
%_datadir/exmdbpp/
|
%_datadir/exmdbpp/
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500
|
||||||
|
%files %{python_files pyexmdb}
|
||||||
|
%python_sitearch/*
|
||||||
|
%else
|
||||||
%files -n python3-pyexmdb
|
%files -n python3-pyexmdb
|
||||||
%python3_sitearch/pyexm*
|
%python3_sitearch/*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user