From bce84354d39f4798159c6ae072f38ee407d61cff Mon Sep 17 00:00:00 2001 From: Joan Moreau Date: Sat, 28 Aug 2021 12:12:47 +0100 Subject: [PATCH] Initial import (v1.4.12) --- .gitignore | 1 + dovecot-fts-xapian.spec | 56 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+) create mode 100644 .gitignore create mode 100644 dovecot-fts-xapian.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..111e90a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dovecot-fts-xapian-1.4.12.tar.gz diff --git a/dovecot-fts-xapian.spec b/dovecot-fts-xapian.spec new file mode 100644 index 0000000..5440a0f --- /dev/null +++ b/dovecot-fts-xapian.spec @@ -0,0 +1,56 @@ +Name: dovecot-fts-xapian +Version: 1.4.12 +Release: 1%{?dist} +Summary: Dovecot FTS plugin based on Xapian + +License: LGPLv2 +URL: https://github.com/grosjo/fts-xapian +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: xapian-core-devel, libicu-devel, dovecot-devel +BuildRequires: gcc, gcc-c++ +BuildRequires: make, automake, autoconf, libtool +Requires: xapian-core, dovecot + +%description +This project intends to provide a straightforward, simple and +maintenance free, way to configure FTS plugin for Dovecot, +leveraging the efforts by the Xapian.org team. + +This effort came after Dovecot team decided to deprecate +"fts_squat" included in the dovecot core, and due to the +complexity of the Solr plugin capabilitles, un-needed for most +users. + + +%prep +%autosetup -n fts-xapian-%{version} +autoreconf -vi +%configure --enable-static=no --with-dovecot=%{_libdir}/dovecot + + +%build +%make_build + +%install +%make_install + +# We do not want the libtool archive or static library +rm %{buildroot}%{_libdir}/dovecot/lib21_fts_xapian_plugin.la + + +%files +%license COPYING +%doc AUTHORS README.md +%{_libdir}/dovecot/lib21_fts_xapian_plugin.so + + +%changelog +* Sat Aug 14 2021 Joan Moreau - 1.4.11-1 +- cf Github +* Sat Jul 04 2021 Joan Moreau - 1.4.11-1 +- cf Github +* Sat Jun 26 2021 Joan Moreau - 1.4.10-1 +- cf Github +* Tue Apr 6 2021 Joan Moreau - 1.4.9b-1 +- Initial RPM diff --git a/sources b/sources new file mode 100644 index 0000000..deaa6ac --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dovecot-fts-xapian-1.4.12.tar.gz) = 820563de646cc367fcc3d0cce2b2c0ef54541e7210f25a751d569e1e58b0f8320be9401a61b9df7487710a4ae0ddd701b95324570c7d46250251bc4469538e2c