diff --git a/libxapian.spec b/libxapian.spec index 730d9b0..3ba4acb 100644 --- a/libxapian.spec +++ b/libxapian.spec @@ -1,5 +1,5 @@ Name: libxapian -Version: 1.2.22 +Version: 1.4.16 Release: 1mamba Summary: An Open Source Search Engine Library released under the GPL Group: System/Libraries @@ -11,6 +11,7 @@ Source: http://www.oligarchy.co.uk/xapian/%{version}/xapian-core-%{versio License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libgcc BuildRequires: libstdc++6-devel BuildRequires: libuuid-devel @@ -32,19 +33,29 @@ It supports the Probabilistic Information Retrieval model and also supports a ri Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} %description devel Xapian is a highly adaptable toolkit which allows developers to easily add advanced indexing and search facilities to their own applications. It supports the Probabilistic Information Retrieval model and also supports a rich set of boolean query operators, +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%package tools +Group: System/Tools +Summary: Tools provided by %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +Xapian is a highly adaptable toolkit which allows developers to easily add advanced indexing and search facilities to their own applications. It supports +the Probabilistic Information Retrieval model and also supports a rich set of boolean query operators, +This package contains tools provided by %{name}. + +%debug_package %prep %setup -q -n xapian-core-%{version} -#-D -T %build -#:<< _EOF %configure %make @@ -64,18 +75,24 @@ rm -fr %{buildroot}%{_datadir}/doc %files %defattr(-,root,root) -%{_libdir}/*.so.* +%{_libdir}/libxapian.so.* +%dir %{_datadir}/xapian-core +%dir %{_datadir}/xapian-core/stopwords +%{_datadir}/xapian-core/stopwords/*.list %doc AUTHORS COPYING %files devel %defattr(-,root,root) -%{_bindir}/* +%{_bindir}/copydatabase +%{_bindir}/quest +%{_bindir}/simpleexpand +%{_bindir}/simpleindex +%{_bindir}/simplesearch %dir %{_includedir}/xapian %{_includedir}/xapian/*.h %{_includedir}/*.h -%{_libdir}/*.a -%{_libdir}/*.la -%{_libdir}/*.so +%{_libdir}/libxapian.la +%{_libdir}/libxapian.so %{_datadir}/aclocal/*.m4 %dir %{_libdir}/cmake/xapian %{_libdir}/cmake/xapian/xapian-config-version.cmake @@ -83,9 +100,16 @@ rm -fr %{buildroot}%{_datadir}/doc %{_libdir}/pkgconfig/xapian-core.pc %{_mandir}/man1/* %doc ChangeLog NEWS README -%doc ChangeLog.examples docs/*.html docs/*.pdf docs/apidoc/html HACKING +%doc docs/*.html docs/apidoc/html HACKING + +%files tools +%defattr(-,root,root) +%{_bindir}/xapian-* %changelog +* Wed Aug 19 2020 Silvan Calarco 1.4.16-1mamba +- update to 1.4.16 + * Sat Feb 06 2016 Silvan Calarco 1.2.22-1mamba - update to 1.2.22