124 Star 0 Fork 8

src-openEuler/xapian-core

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xapian-core.spec 2.46 KB
一键复制 编辑 原始数据 按行查看 历史
whoisxxx 提交于 5年前 . Update changelog
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/xapian-core.git
git@gitee.com:src-openeuler/xapian-core.git
src-openeuler
xapian-core
xapian-core
openEuler-22.03-LTS

搜索帮助