代码拉取完成,页面将自动刷新
Name: xapian-core
Version: 1.4.9
Release: 3
Summary: An Open Source Probabilistic Information Retrieval Library
License: GPLv2+
URL: http://www.xapian.org/
Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz
BuildRequires: gcc-c++ libuuid-devel zlib-devel
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
Provides: %{name}-libs = %{version}-%{release}
Obsoletes: %{name}-libs < %{version}-%{release}
%description
Xapian is an Open Source Search Engine Library, released under the GPL v2+.
It is a highly adaptable toolkit which allows developers to easily add advanced
indexing and search facilities to their own applications. It has built-in
support for several families of weighting models and also supports a rich set
of boolean query operators.
%package help
Summary: Help documentation for the %{name}
%description help
Help documentation for the %{name}.
%package devel
Summary: Files needed for building packages which use Xapian
Requires: %{name} = %{version}-%{release}
Requires: libuuid-devel
%description devel
Xapian is an Open Source Search Engine Library, released under the GPL v2+.
It is a highly adaptable toolkit which allows developers to easily add advanced
indexing and search facilities to their own applications. It has built-in
support for several families of weighting models and also supports a rich set
of boolean query operators.This package provides the files needed for building
packages which use Xapian.
%prep
%autosetup -p1
%build
%configure --disable-static \
%ifnarch x86_64
--disable-sse
%endif
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 V=1
%install
%make_install
%delete_la
rm -rf %{buildroot}%{_datadir}/doc/%{name}
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS COPYING
%{_bindir}/*
%{_datadir}/xapian-core/
%{_libdir}/libxapian.so.*
%files devel
%doc HACKING PLATFORMS docs/*html docs/apidoc
%{_libdir}/libxapian.so
%{_libdir}/cmake/xapian
%{_libdir}/pkgconfig/xapian-core.pc
%{_datadir}/aclocal/xapian.m4
%{_includedir}/xapian*
%files help
%doc NEWS README
%{_mandir}/man1/*
%changelog
* Wed Aug 26 2020 whoisxxx <zhangxuzhou4@huawei.com> - 1.4.9-3
- Judge arch before use valgrind
* Thu Dec 12 2019 likexin <likexin4@huawei.com> - 1.4.9-2
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。