On Sun, Apr 25, 2021 at 7:58 AM Joan Moreau via devel
<[email protected]> wrote:
> Same status :(
Try the attached version. It fixes several minor problems in the spec
file. The problem you were encountering was the lack of the "-n
fts-xapian-%{version}" argument to %autosetup. The default directory
name is "%{name}-%{version}", but %{name} is dovecot-fts-xapian, not
fts-xapian.
--
Jerry James
http://www.jamezone.org/
Name: dovecot-fts-xapian
Version: 1.4.9a
Release: 1%{?dist}
Summary: Dovecot FTS plugin based on Xapian
License: LGPLv2
URL: https://github.com/grosjo/fts-xapian
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
BuildRequires: xapian-core-devel, libicu-devel, dovecot-devel, automake, autoconf, libtool
BuildRequires: gcc, gcc-c++
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 capabilities, unneeded for most users.
%prep
%autosetup -n fts-xapian-%{version}
autoreconf -vi
%configure --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.{a,la}
%files
%{_libdir}/dovecot/lib21_fts_xapian_plugin.so
%changelog
* Tue Apr 6 2021 Joan Moreau <[email protected]> - 1.4.9a-1
- Initial RPM
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure