commit 2ec327a29f92f9ef1c370a98485c3383111331ad56909a624903d854b29d7031 Author: Jan Engelhardt Date: Fri Jan 13 23:48:35 2023 +0000 - Initial package (version 0.1.16.e01e06c) for build.opensuse.org OBS-URL: https://build.opensuse.org/package/show/server:mail/grommunio-index?expand=0&rev=1 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..cf00dd6 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://github.com/grommunio/grommunio-index + grommunio-index + master + @PARENT_TAG@.@TAG_OFFSET@.%h + + + *.tar + xz + + + diff --git a/debian.changelog b/debian.changelog new file mode 100644 index 0000000..fa3aaac --- /dev/null +++ b/debian.changelog @@ -0,0 +1,5 @@ +grommunio-index (0.1.16.e01e06c) 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..991045c --- /dev/null +++ b/debian.control @@ -0,0 +1,14 @@ +Source: grommunio-index +Section: python +Priority: optional +Maintainer: Grommunio +Build-Depends: debhelper-compat (= 12), cmake, g++ (>= 10), + libexmdbpp-dev (>= 1.8), libsqlite3-dev, pkg-config, systemd +Rules-Requires-Root: no +Standards-Version: 4.5.1 + +Package: grommunio-index +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Generator for grommunio-web search indexes + . diff --git a/debian.rules b/debian.rules new file mode 100644 index 0000000..a0d807a --- /dev/null +++ b/debian.rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ diff --git a/grommunio-index-0.1.16.e01e06c.tar.xz b/grommunio-index-0.1.16.e01e06c.tar.xz new file mode 100644 index 0000000..e06dbcf --- /dev/null +++ b/grommunio-index-0.1.16.e01e06c.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1066c52df14ea9cf9b96c937c9fac253363bc1ffa15cd73ae59214483576de4e +size 21144 diff --git a/grommunio-index.changes b/grommunio-index.changes new file mode 100644 index 0000000..ec894ae --- /dev/null +++ b/grommunio-index.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Jan 13 23:47:32 UTC 2023 - Jan Engelhardt + +- Initial package (version 0.1.16.e01e06c) for build.opensuse.org diff --git a/grommunio-index.dsc b/grommunio-index.dsc new file mode 100644 index 0000000..268fd93 --- /dev/null +++ b/grommunio-index.dsc @@ -0,0 +1,11 @@ +Format: 1.0 +Source: grommunio-index +Architecture: any +Version: 0.1.16.e01e06c +DEBTRANSFORM-RELEASE: 1 +Maintainer: Grommunio +Homepage: https://grommunio.com/ +Standards-Version: 4.5.0 +Build-Depends: debhelper-compat (= 12), cmake, g++ (>= 10), + libexmdbpp-dev (>= 1.8), libsqlite3-dev, pkg-config, systemd +Files: diff --git a/grommunio-index.spec b/grommunio-index.spec new file mode 100644 index 0000000..30722e8 --- /dev/null +++ b/grommunio-index.spec @@ -0,0 +1,75 @@ + +Name: grommunio-index +Version: 0.1.16.e01e06c +Release: 0 +Summary: Generator for grommunio-web search indexes +License: AGPL-3.0-or-later +Group: Productivity/Networking/Email/Servers +URL: https://grommunio.com/ +Source: %name-%version.tar.xz +BuildRequires: cmake +%if 0%{?suse_version} && 0%{?suse_version} < 1550 +BuildRequires: gcc11-c++ +%else +BuildRequires: gcc-c++ +%endif +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(systemd) +BuildRequires: libexmdbpp-devel >= 1.8.0 +BuildRequires: libexmdbpp0 >= 1.8.0 +Requires: libexmdbpp0 >= 1.8.0 +%define services grommunio-index.service grommunio-index.timer + +%description +A C++17 program for the generation of grommunio-web fulltext search indexes. + +%prep +%autosetup -p1 + +%build +%if 0%{?suse_version} && 0%{?suse_version} < 1550 +%cmake -DCMAKE_CXX_COMPILER=%_bindir/g++-11 +%else +%if 0%{?centos_version} == 800 +echo '#!/bin/sh -ex' >cxx +echo 'exec g++ "$@" -lstdc++fs' >>cxx +ls -al cxx +chmod a+x cxx +export CXX="$PWD/cxx" +%cmake +%else +%cmake +%endif +%endif +%cmake_build + +%install +%if 0%{?centos_version} == 800 +export CXX="$PWD/cxx" +%endif +%cmake_install +mkdir -p "%buildroot/%_datadir/%name" + +%pre +%service_add_pre %services + +%post +%service_add_post %services +if test -x /bin/systemctl; then + systemctl enable --now grommunio-index.timer || : +fi + +%preun +%service_del_preun %services + +%postun +%service_del_postun %services + +%files +%_bindir/grommunio-index* +%_sbindir/grommunio-index* +%_datadir/%name/ +%_unitdir/* +%license LICENSE.txt + +%changelog