From 92a87f9fd0a7d4da7aff927185b78a9dfe4e9540 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:10:17 +0100 Subject: [PATCH] update to 1.2.12 [release 1.2.12-1mamba;Tue Sep 04 2012] --- README.md | 3 ++ libxapian.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 libxapian.spec diff --git a/README.md b/README.md index 2e6e3ea..70d1153 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libxapian +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. + diff --git a/libxapian.spec b/libxapian.spec new file mode 100644 index 0000000..0a91e8a --- /dev/null +++ b/libxapian.spec @@ -0,0 +1,93 @@ +Name: libxapian +Version: 1.2.12 +Release: 1mamba +Summary: An Open Source Search Engine Library released under the GPL +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://www.xapian.org +Source: http://www.oligarchy.co.uk/xapian/%{version}/xapian-core-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libuuid-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: perl +BuildRequires: graphviz +BuildRequires: tetex +BuildRequires: doxygen +BuildRequires: help2man +BuildRequires: valgrind +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +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. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?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 need for development. + +%prep +%setup -q -n xapian-core-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +# remove documentation +rm -fr %{buildroot}%{_datadir}/doc + + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_bindir}/* +%dir %{_includedir}/xapian +%{_includedir}/xapian/*.h +%{_includedir}/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_datadir}/aclocal/*.m4 +%dir %{_libdir}/cmake/xapian +%{_libdir}/cmake/xapian/xapian-config-version.cmake +%{_libdir}/cmake/xapian/xapian-config.cmake +%{_mandir}/man1/* +%doc ChangeLog NEWS README +%doc ChangeLog.examples docs/*.html docs/*.pdf docs/apidoc/html HACKING + +%changelog +* Tue Sep 04 2012 Silvan Calarco 1.2.12-1mamba +- update to 1.2.12 + +* Tue Nov 18 2008 Silvan Calarco 1.0.9-1mamba +- update to 1.0.9 + +* Wed Apr 25 2007 Stefano Cotta Ramusino 0.9.10-1mamba +- package created by autospec