From 4e38cf0d855429604a0880c3170234a15df03278d8e4b51f67a8ccd13b34a018 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 13 Jan 2023 23:32:05 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + _service | 14 ++++++ debian.changelog | 5 +++ debian.control | 33 ++++++++++++++ debian.libexmdbpp-dev.install | 4 ++ debian.libexmdbpp0.install | 1 + debian.python3-pyexmdb.install | 1 + debian.rules | 3 ++ libexmdbpp-1.10.0.3a4d93b.tar.xz | 3 ++ libexmdbpp.changes | 4 ++ libexmdbpp.dsc | 11 +++++ libexmdbpp.spec | 77 ++++++++++++++++++++++++++++++++ 13 files changed, 180 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 debian.changelog create mode 100644 debian.control create mode 100644 debian.libexmdbpp-dev.install create mode 100644 debian.libexmdbpp0.install create mode 100644 debian.python3-pyexmdb.install create mode 100644 debian.rules create mode 100644 libexmdbpp-1.10.0.3a4d93b.tar.xz create mode 100644 libexmdbpp.changes create mode 100644 libexmdbpp.dsc create mode 100644 libexmdbpp.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..e3f24e9 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://github.com/grommunio/libexmdbpp + libexmdbpp + master + @PARENT_TAG@.@TAG_OFFSET@.%h + + + *.tar + xz + + + diff --git a/debian.changelog b/debian.changelog new file mode 100644 index 0000000..1661d65 --- /dev/null +++ b/debian.changelog @@ -0,0 +1,5 @@ +libexmdbpp (1.10.0.3a4d93b) unstable; urgency=low + + * Initial package. + + -- grommunio Mon, 25 Jan 2021 10:00:00 +0100 diff --git a/debian.control b/debian.control new file mode 100644 index 0000000..c20c2c3 --- /dev/null +++ b/debian.control @@ -0,0 +1,33 @@ +Source: libexmdbpp +Section: python +Priority: optional +Maintainer: Grommunio +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. diff --git a/debian.libexmdbpp-dev.install b/debian.libexmdbpp-dev.install new file mode 100644 index 0000000..61094ac --- /dev/null +++ b/debian.libexmdbpp-dev.install @@ -0,0 +1,4 @@ +usr/include/ +usr/lib/*/libexmdbpp.so +usr/share/exmdbpp/ + diff --git a/debian.libexmdbpp0.install b/debian.libexmdbpp0.install new file mode 100644 index 0000000..fdd502d --- /dev/null +++ b/debian.libexmdbpp0.install @@ -0,0 +1 @@ +usr/lib/*/libexmdbpp.so.0 diff --git a/debian.python3-pyexmdb.install b/debian.python3-pyexmdb.install new file mode 100644 index 0000000..9924219 --- /dev/null +++ b/debian.python3-pyexmdb.install @@ -0,0 +1 @@ +usr/lib*/python* diff --git a/debian.rules b/debian.rules new file mode 100644 index 0000000..b9f62ae --- /dev/null +++ b/debian.rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ --with python3 diff --git a/libexmdbpp-1.10.0.3a4d93b.tar.xz b/libexmdbpp-1.10.0.3a4d93b.tar.xz new file mode 100644 index 0000000..a48a64e --- /dev/null +++ b/libexmdbpp-1.10.0.3a4d93b.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d676dff32f02c167ad7a8ffd2e05055a923043c41c1e72603825178f9c040fd +size 71976 diff --git a/libexmdbpp.changes b/libexmdbpp.changes new file mode 100644 index 0000000..53fd447 --- /dev/null +++ b/libexmdbpp.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Jan 13 23:30:41 UTC 2023 - Jan Engelhardt + +- Initial package (version 1.10.0.3a4d93b) for build.opensuse.org diff --git a/libexmdbpp.dsc b/libexmdbpp.dsc new file mode 100644 index 0000000..075207d --- /dev/null +++ b/libexmdbpp.dsc @@ -0,0 +1,11 @@ +Format: 1.0 +Source: libexmdbpp +Architecture: any +Version: 1.10.0.3a4d93b +DEBTRANSFORM-RELEASE: 1 +Maintainer: Grommunio +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: diff --git a/libexmdbpp.spec b/libexmdbpp.spec new file mode 100644 index 0000000..3e75905 --- /dev/null +++ b/libexmdbpp.spec @@ -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