Name: xapian14-core Version: 1.4.26 Release: 1%{?dist} Summary: The Xapian Probabilistic Information Retrieval Library License: GPLv2+ URL: http://www.xapian.org/ Source0: http://www.oligarchy.co.uk/xapian/%{version}/xapian-core-%{version}.tar.xz BuildRequires: gcc gcc-c++ libuuid-devel zlib-devel %if ! 0%{?_module_build} %ifarch %{valgrind_arches} BuildRequires: valgrind-devel %endif %endif Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description Xapian is an Open Source Probabilistic Information Retrieval Library. It offers a highly adaptable toolkit that allows developers to easily add advanced indexing and search facilities to applications %package libs Summary: Xapian search engine libraries %description libs Xapian is an Open Source Probabilistic Information Retrieval framework. It offers a highly adaptable toolkit that allows developers to easily add advanced indexing and search facilities to applications. This package provides the libraries for applications using Xapian functionality %package devel Summary: Files needed for building packages which use Xapian Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: libuuid-devel %description devel Xapian is an Open Source Probabilistic Information Retrieval framework. It offers a highly adaptable toolkit that allows developers to easily add advanced indexing and search facilities to applications. This package provides the files needed for building packages which use Xapian %prep %autosetup -p1 -n xapian-core-%{version} %build # Disable SSE on x86, but leave it intact for x86_64 %ifarch x86_64 %configure --disable-static %else %configure --disable-static --disable-sse %endif # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %{make_build} %install %{make_install} # Remove libtool archives find $RPM_BUILD_ROOT -name '*.la' -delete # Remove the dev docs, we pick them up below rm -rf %{buildroot}%{_datadir}/doc/xapian-core %ldconfig_scriptlets libs %files %doc AUTHORS NEWS README %{_bindir}/xapian* %{_bindir}/quest %{_bindir}/copydatabase %{_bindir}/simpleindex %{_bindir}/simplesearch %{_bindir}/simpleexpand %{_datadir}/xapian-core/ # man pages may be gzipped, hence the trailing wildcard. %{_mandir}/man1/xapian* %{_mandir}/man1/quest.1* %{_mandir}/man1/copydatabase.1* %files libs %license COPYING %{_libdir}/libxapian.so.* %files devel %doc HACKING PLATFORMS docs/*html docs/apidoc %{_bindir}/xapian-config %{_includedir}/xapian %{_includedir}/xapian.h %{_libdir}/libxapian.so %{_libdir}/cmake/xapian %{_libdir}/pkgconfig/xapian-core.pc %{_datadir}/aclocal/xapian.m4 # man pages may be gzipped, hence the trailing wildcard. %{_mandir}/man1/xapian-config.1* %changelog * Fri Aug 16 2024 Konstantin Ryabitsev 1.4.26-1 - Update to 1.4.26 * Tue Nov 14 2023 Konstantin Ryabitsev 1.4.24-1 - Update to 1.4.24 * Tue May 30 2023 Konstantin Ryabitsev 1.4.22-1 - Update to 1.4.22 * Wed Sep 28 2022 Konstantin Ryabitsev 1.4.21-1 - Update to 1.4.21 * Tue Apr 20 2021 Konstantin Ryabitsev 1.4.18-1 - Rename as xapian14-core - Update to 1.4.18 * Sun Feb 16 2020 Denis Arnaud 1.4.14-1 - Update to 1.4.14 * Sat Oct 26 2019 Denis Arnaud 1.4.13-1 - Update to 1.4.13 * Sat Oct 26 2019 Denis Arnaud 1.4.10-1 - First build on EPEL 8 with 1.4.10