libxapian/libxapian.spec

133 lines
4.1 KiB
RPMSpec

Name: libxapian
Version: 1.4.21
Release: 1mamba
Summary: An Open Source Search Engine Library released under the GPL
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://xapian.org/
Source: http://www.oligarchy.co.uk/xapian/%{version}/xapian-core-%{version}.tar.xz
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
%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}
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.
%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}
%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}/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}/copydatabase
%{_bindir}/quest
%{_bindir}/simpleexpand
%{_bindir}/simpleindex
%{_bindir}/simplesearch
%dir %{_includedir}/xapian
%{_includedir}/xapian/*.h
%{_includedir}/*.h
%{_libdir}/libxapian.so
%{_datadir}/aclocal/*.m4
%dir %{_libdir}/cmake/xapian
%{_libdir}/cmake/xapian/xapian-config-version.cmake
%{_libdir}/cmake/xapian/xapian-config.cmake
%{_libdir}/pkgconfig/xapian-core.pc
%{_mandir}/man1/*
%doc ChangeLog NEWS README
%doc docs/*.html docs/apidoc/html HACKING
%files tools
%defattr(-,root,root)
%{_bindir}/xapian-*
%changelog
* Tue Sep 27 2022 Automatic Build System <autodist@mambasoft.it> 1.4.21-1mamba
- automatic version update by autodist
* Tue Jul 05 2022 Automatic Build System <autodist@mambasoft.it> 1.4.20-1mamba
- automatic version update by autodist
* Sat Jan 01 2022 Automatic Build System <autodist@mambasoft.it> 1.4.19-1mamba
- automatic version update by autodist
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 1.4.18-1mamba
- automatic version update by autodist
* Wed Aug 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.16-1mamba
- update to 1.4.16
* Sat Feb 06 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.22-1mamba
- update to 1.2.22
* Tue Sep 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.12-1mamba
- update to 1.2.12
* Tue Nov 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1mamba
- update to 1.0.9
* Wed Apr 25 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9.10-1mamba
- package created by autospec