- 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
This commit is contained in:
Jan Engelhardt 2023-01-13 23:48:35 +00:00 committed by Git OBS Bridge
commit 2ec327a29f
10 changed files with 153 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/grommunio-index</param>
<param name="filename">grommunio-index</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 @@
grommunio-index (0.1.16.e01e06c) unstable; urgency=low
* Initial package.
-- grommunio <support@grommunio.com> Mon, 25 Jan 2021 10:00:00 +0100

14
debian.control Normal file
View File

@ -0,0 +1,14 @@
Source: grommunio-index
Section: python
Priority: optional
Maintainer: Grommunio <null@grommunio.com>
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
.

3
debian.rules Normal file
View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1066c52df14ea9cf9b96c937c9fac253363bc1ffa15cd73ae59214483576de4e
size 21144

4
grommunio-index.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Jan 13 23:47:32 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Initial package (version 0.1.16.e01e06c) for build.opensuse.org

11
grommunio-index.dsc Normal file
View File

@ -0,0 +1,11 @@
Format: 1.0
Source: grommunio-index
Architecture: any
Version: 0.1.16.e01e06c
DEBTRANSFORM-RELEASE: 1
Maintainer: Grommunio <null@grommunio.com>
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:

75
grommunio-index.spec Normal file
View File

@ -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