- Initial package (version 1.10.0.3a4d93b) for build.opensuse.org

OBS-URL: https://build.opensuse.org/package/show/server:mail/libexmdbpp?expand=0&rev=1
This commit is contained in:
Jan Engelhardt 2023-01-13 23:32:05 +00:00 committed by Git OBS Bridge
commit 4e38cf0d85
13 changed files with 180 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/grommunio/libexmdbpp</param>
<param name="filename">libexmdbpp</param>
<param name="revision">master</param>
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

5
debian.changelog Normal file
View File

@ -0,0 +1,5 @@
libexmdbpp (1.10.0.3a4d93b) unstable; urgency=low
* Initial package.
-- grommunio <support@grommunio.com> Mon, 25 Jan 2021 10:00:00 +0100

33
debian.control Normal file
View File

@ -0,0 +1,33 @@
Source: libexmdbpp
Section: python
Priority: optional
Maintainer: Grommunio <null@grommunio.com>
Build-Depends: debhelper-compat (= 12), dh-python, cmake,
python3-all-dev (>= 3.5.3~), pybind11-dev
Rules-Requires-Root: no
Standards-Version: 4.5.1
Package: libexmdbpp0
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: libexmdbpp0
The library provides a C++ API and implementation for constructing
exmdb protocol requests and responses and conversing with a server.
Package: libexmdbpp-dev
Architecture: any
Depends: ${misc:Depends}, libexmdbpp0 (= ${binary:Version})
Description: Development files for exmdb++
The library provides a C++ API and implementation for constructing exmdb
protocol requests and responses and conversing with a server.
.
This subpackage contains the header files for the library.
Package: python3-pyexmdb
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: python3-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.

View File

@ -0,0 +1,4 @@
usr/include/
usr/lib/*/libexmdbpp.so
usr/share/exmdbpp/

View File

@ -0,0 +1 @@
usr/lib/*/libexmdbpp.so.0

View File

@ -0,0 +1 @@
usr/lib*/python*

3
debian.rules Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/make -f
%:
dh $@ --with python3

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d676dff32f02c167ad7a8ffd2e05055a923043c41c1e72603825178f9c040fd
size 71976

4
libexmdbpp.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Jan 13 23:30:41 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Initial package (version 1.10.0.3a4d93b) for build.opensuse.org

11
libexmdbpp.dsc Normal file
View File

@ -0,0 +1,11 @@
Format: 1.0
Source: libexmdbpp
Architecture: any
Version: 1.10.0.3a4d93b
DEBTRANSFORM-RELEASE: 1
Maintainer: Grommunio <null@grommunio.com>
Homepage: https://grommunio.com
Standards-Version: 4.5.0
Build-Depends: debhelper-compat (= 12), dh-python, cmake,
python3-all-dev (>= 3.5.3~), pybind11-dev
Files:

77
libexmdbpp.spec Normal file
View File

@ -0,0 +1,77 @@
%define lname libexmdbpp0
Name: libexmdbpp
Version: 1.10.0.3a4d93b
Release: 0
Summary: A C++ implementation of the exmdb wire protocol
License: AGPL-3.0-or-later
Group: Productivity/Networking/Email/Servers
URL: https://grommunio.com/
Source: %name-%version.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: python3-pybind11-devel
BuildRequires: pkgconfig(python3)
BuildRequires: python3
%description
The library provides a C++ API and implementation for constructing
exmdb protocol requests and responses and conversing with a server.
%package -n %lname
Summary: A C++ implementation of the exmdb wire protocol
Group: System/Libraries
%description -n %lname
The library provides a C++ API and implementation for constructing
exmdb protocol requests and responses and conversing with a server.
%package devel
Summary: Development files for libexmdbpp
Group: System/Libraries
Requires: %lname = %version-%release
%description devel
The library provides a C++ API and implementation for constructing
exmdb protocol requests and responses and conversing with a server.
This subpackage contains the header files for the library.
%package -n python3-pyexmdb
Summary: Python bindings for libexmdbpp
Group: Development/Languages/Python
Requires: libexmdbpp0 = %version-%release
%description -n python3-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.
%prep
%autosetup -p1
%build
%cmake
%cmake_build
%install
%cmake_install
# Stop check-rpaths from complaining about standard runpaths (fedora).
export QA_RPATHS=0x0001
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%_libdir/libexmdbpp.so.0
%files devel
%_includedir/exmdbpp/
%_libdir/libexmdbpp.so
%_datadir/exmdbpp/
%files -n python3-pyexmdb
%python3_sitearch/pyexm*
%changelog