# # spec file for package xapian-core (Version 1.0.12) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: xapian-core Version: 1.2.5 Release: 0 # License: GPL Group: Productivity/Databases/Servers # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ zlib-devel fdupes BuildRequires: libuuid-devel Requires: %{name}-libs = %{version} # Url: http://www.xapian.org/ Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc # Summary: The Xapian Probabilistic Information Retrieval Library %description Xapian is an Open Source Probabilistic Information Retrieval Library. It offers a highly adaptable toolkit that allows developers to easily add advanced indexing and search facilities to applications %package -n libxapian15 Group: Development/Libraries/C and C++ Provides: xapian-core-libs # Summary: Xapian search engine libraries %description -n libxapian15 Xapian is an Open Source Probabilistic Information Retrieval framework. It offers a highly adaptable toolkit that allows developers to easily add advanced indexing and search facilities to applications. This package provides the libraries for applications using Xapian functionality %package devel Group: Development/Libraries/C and C++ # Requires: libxapian15 = %{version} Requires: gcc-c++ zlib-devel # Summary: Files needed for building packages which use Xapian %description devel Xapian is an Open Source Probabilistic Information Retrieval framework. It offers a highly adaptable toolkit that allows developers to easily add advanced indexing and search facilities to applications. This package provides the files needed for building packages which use Xapian %package doc Group: Development/Libraries/C and C++ # Requires: %{name} = %{version} # Summary: Documentation for Xapian-core libraries %description doc Xapian is an Open Source Probabilistic Information Retrieval framework. It offers a highly adaptable toolkit that allows developers to easily add advanced indexing and search facilities to applications. This package provides the files needed for building packages which use Xapian %package examples Group: Development/Libraries/C and C++ # Requires: %{name} = %{version} # Summary: Examples for Xapian-core libraries %description examples Xapian is an Open Source Probabilistic Information Retrieval framework. It offers a highly adaptable toolkit that allows developers to easily add advanced indexing and search facilities to applications. This package provides the files needed for building packages which use Xapian %prep %setup -q %build %configure --docdir=%{_docdir}/%{name}/ %{__make} %{?jobs:-j%jobs} %install %makeinstall docdatadir=%{_docdir}/%{name} %{__rm} -rf examples/{.libs,.deps,.dirstamp,*.o,quest,delve,simplesearch,simpleexpand,simpleindex,copydatabase} %{__cp} -vr \ AUTHORS COPYING ChangeLog ChangeLog.examples \ HACKING INSTALL NEWS PLATFORMS README examples \ %{buildroot}%{_docdir}/%{name}/ find . -name \*.spec|xargs rm fdupes %{buildroot}%{_defaultdocdir}/%{name} %post -n libxapian15 -p /sbin/ldconfig %postun -n libxapian15 -p /sbin/ldconfig %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root) %{_bindir}/xapian-tcpsrv %{_bindir}/xapian-progsrv %{_bindir}/quest %{_bindir}/delve %{_bindir}/copydatabase %{_bindir}/simpleindex %{_bindir}/simplesearch %{_bindir}/simpleexpand %{_bindir}/xapian-compact %{_bindir}/xapian-check %{_bindir}/xapian-inspect %{_mandir}/man1/xapian-check.1* %{_mandir}/man1/xapian-inspect.1* %{_mandir}/man1/copydatabase.1* %{_mandir}/man1/delve.1* %{_mandir}/man1/quest.1* %{_mandir}/man1/xapian-compact.1* %{_mandir}/man1/xapian-config.1* %{_mandir}/man1/xapian-progsrv.1* %{_mandir}/man1/xapian-tcpsrv.1* %files -n libxapian15 %defattr(-, root, root) %{_libdir}/libxapian.so.* %files devel %defattr(-, root, root) %{_bindir}/xapian-config %{_includedir}/xapian %{_includedir}/xapian.h %{_libdir}/libxapian.so %{_libdir}/libxapian.a %{_libdir}/libxapian.la %{_datadir}/aclocal/xapian.m4 %files doc %defattr(-, root, root) %doc %{_docdir}/%{name}/*.html %doc %{_docdir}/%{name}/apidoc* %dir %{_docdir}/%{name}/ %doc %{_docdir}/%{name}/AUTHORS %doc %{_docdir}/%{name}/COPYING %doc %{_docdir}/%{name}/ChangeLog %doc %{_docdir}/%{name}/ChangeLog.examples %doc %{_docdir}/%{name}/HACKING %doc %{_docdir}/%{name}/INSTALL %doc %{_docdir}/%{name}/NEWS %doc %{_docdir}/%{name}/PLATFORMS %doc %{_docdir}/%{name}/README %files examples %defattr(-, root, root) %doc %{_docdir}/%{name}/examples/ %changelog * Sat May 16 2009 - Raymond Wooninck 1.0.12 - Update to 1.0.12 * Wed Mar 18 2009 - Raymond Wooninck 1.0.11 - Update to 1.0.11