[packages/dovecot-fts-xapian] Init commit

mis mis at pld-linux.org
Thu Oct 3 15:17:35 CEST 2024


commit acd504b05a7748692d9a6dd45ff3972f692a5cfa
Author: mis <mistoo at gmail.com>
Date:   Thu Oct 3 14:34:14 2024 +0200

    Init commit

 dovecot-fts-xapian.spec | 50 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/dovecot-fts-xapian.spec b/dovecot-fts-xapian.spec
new file mode 100644
index 0000000..e410998
--- /dev/null
+++ b/dovecot-fts-xapian.spec
@@ -0,0 +1,50 @@
+Summary:	Dovecot FTS plugin based on Xapian
+Name:		dovecot-fts-xapian
+Version:	1.7.14
+Release:	0.1
+License:	LGPL
+Group:		Networking/Daemons
+Source0:	https://github.com/grosjo/fts-xapian/archive/%{name}-%{version}.tar.gz
+# https://raw.githubusercontent.com/stopwords-iso/stopwords-pl/master/stopwords-pl.txt
+URL:		https://github.com/grosjo/fts-xapian/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	dovecot-devel
+BuildRequires:	libtool
+BuildRequires:	sqlite3-devel
+BuildRequires:	xapian-core-devel
+
+%description
+A straightforward and simple way to configure FTS plugin for Dovecot,
+leveraging the efforts by the Xapian.org team.
+
+%prep
+%setup -q -n fts-xapian-%{version}
+
+%build
+#%{__libtoolize}
+#%{__aclocal} -I m4
+#%{__autoconf}
+#%{__automake}
+autoreconf -fi
+%configure \
+	--with-dovecot=%{_libdir}/dovecot/ \
+	--disable-static \
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by .pc file
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/dovecot/plugins/lib21_fts_xapian_plugin.la
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README.md
+%{_libdir}/dovecot/plugins/lib21_fts_xapian_plugin.so
+
+%clean
+rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dovecot-fts-xapian.git/commitdiff/acd504b05a7748692d9a6dd45ff3972f692a5cfa



More information about the pld-cvs-commit mailing list