2006-11-04 11:35:09 +00:00
|
|
|
#
|
2011-04-11 08:06:37 +00:00
|
|
|
# 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.
|
|
|
|
#
|
2006-11-04 11:35:09 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-04-11 08:06:37 +00:00
|
|
|
# norootforbuild
|
|
|
|
|
2006-11-04 11:35:09 +00:00
|
|
|
Name: xapian-core
|
2011-05-03 17:57:05 +00:00
|
|
|
Version: 1.2.5
|
2006-11-04 11:35:09 +00:00
|
|
|
Release: 0
|
2011-04-11 08:06:37 +00:00
|
|
|
#
|
|
|
|
License: GPL
|
2011-01-24 15:54:38 +00:00
|
|
|
Group: Productivity/Databases/Servers
|
2011-04-11 08:06:37 +00:00
|
|
|
#
|
2011-01-24 15:54:38 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-04-11 08:06:37 +00:00
|
|
|
BuildRequires: gcc-c++ zlib-devel fdupes
|
|
|
|
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
|
2006-06-27 10:58:33 +00:00
|
|
|
%description
|
|
|
|
Xapian is an Open Source Probabilistic Information Retrieval Library. It
|
|
|
|
offers a highly adaptable toolkit that allows developers to easily add advanced
|
2011-04-11 08:06:37 +00:00
|
|
|
indexing and search facilities to applications
|
2006-06-27 10:58:33 +00:00
|
|
|
|
2011-04-11 08:06:37 +00:00
|
|
|
%package -n libxapian15
|
2006-11-04 11:35:09 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-04-11 08:06:37 +00:00
|
|
|
Provides: xapian-core-libs
|
|
|
|
#
|
|
|
|
Summary: Xapian search engine libraries
|
|
|
|
%description -n libxapian15
|
2006-06-27 10:58:33 +00:00
|
|
|
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
|
2011-04-11 08:06:37 +00:00
|
|
|
libraries for applications using Xapian functionality
|
2006-06-27 10:58:33 +00:00
|
|
|
|
2011-04-11 08:06:37 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
#
|
|
|
|
Requires: libxapian15 = %{version}
|
|
|
|
Requires: gcc-c++ zlib-devel
|
|
|
|
#
|
2011-01-24 15:54:38 +00:00
|
|
|
Summary: Files needed for building packages which use Xapian
|
2011-04-11 08:06:37 +00:00
|
|
|
%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
|
2006-11-04 11:35:09 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-04-11 08:06:37 +00:00
|
|
|
#
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
#
|
|
|
|
Summary: Documentation for Xapian-core libraries
|
|
|
|
%description doc
|
2006-06-27 10:58:33 +00:00
|
|
|
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
|
2011-04-11 08:06:37 +00:00
|
|
|
files needed for building packages which use Xapian
|
2006-06-27 10:58:33 +00:00
|
|
|
|
2011-04-11 08:06:37 +00:00
|
|
|
%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
|
2011-01-24 15:54:38 +00:00
|
|
|
|
2006-06-27 10:58:33 +00:00
|
|
|
%prep
|
2011-01-24 15:54:38 +00:00
|
|
|
%setup -q
|
2006-06-27 10:58:33 +00:00
|
|
|
|
|
|
|
%build
|
2011-04-11 08:06:37 +00:00
|
|
|
%configure --docdir=%{_docdir}/%{name}/
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2006-06-27 10:58:33 +00:00
|
|
|
|
|
|
|
%install
|
2011-04-11 08:06:37 +00:00
|
|
|
%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
|
2006-06-27 10:58:33 +00:00
|
|
|
|
2011-04-11 08:06:37 +00:00
|
|
|
%postun -n libxapian15 -p /sbin/ldconfig
|
2006-06-27 10:58:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
%clean
|
2011-04-11 08:06:37 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2006-06-27 10:58:33 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2011-04-11 08:06:37 +00:00
|
|
|
%{_bindir}/xapian-tcpsrv
|
|
|
|
%{_bindir}/xapian-progsrv
|
|
|
|
%{_bindir}/quartzcheck
|
|
|
|
%{_bindir}/quartzcompact
|
|
|
|
%{_bindir}/quartzdump
|
2011-01-24 15:54:38 +00:00
|
|
|
%{_bindir}/quest
|
2011-04-11 08:06:37 +00:00
|
|
|
%{_bindir}/delve
|
|
|
|
%{_bindir}/copydatabase
|
2006-06-27 10:58:33 +00:00
|
|
|
%{_bindir}/simpleindex
|
|
|
|
%{_bindir}/simplesearch
|
2011-04-11 08:06:37 +00:00
|
|
|
%{_bindir}/simpleexpand
|
2011-01-24 15:54:38 +00:00
|
|
|
%{_bindir}/xapian-compact
|
2011-04-11 08:06:37 +00:00
|
|
|
%{_bindir}/xapian-check
|
2007-11-19 21:10:08 +00:00
|
|
|
%{_bindir}/xapian-inspect
|
2011-04-11 08:06:37 +00:00
|
|
|
%{_mandir}/man1/xapian-check.1*
|
|
|
|
%{_mandir}/man1/xapian-inspect.1*
|
2006-06-27 10:58:33 +00:00
|
|
|
%{_mandir}/man1/copydatabase.1*
|
|
|
|
%{_mandir}/man1/delve.1*
|
2011-04-11 08:06:37 +00:00
|
|
|
%{_mandir}/man1/quartzcheck.1*
|
|
|
|
%{_mandir}/man1/quartzcompact.1*
|
|
|
|
%{_mandir}/man1/quartzdump.1*
|
2006-06-27 10:58:33 +00:00
|
|
|
%{_mandir}/man1/quest.1*
|
|
|
|
%{_mandir}/man1/xapian-compact.1*
|
|
|
|
%{_mandir}/man1/xapian-config.1*
|
2006-11-11 04:32:24 +00:00
|
|
|
%{_mandir}/man1/xapian-progsrv.1*
|
2006-06-27 10:58:33 +00:00
|
|
|
%{_mandir}/man1/xapian-tcpsrv.1*
|
2011-01-24 15:54:38 +00:00
|
|
|
|
2011-04-11 08:06:37 +00:00
|
|
|
%files -n libxapian15
|
2006-06-27 10:58:33 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libxapian.so.*
|
|
|
|
|
2011-04-11 08:06:37 +00:00
|
|
|
%files devel
|
2006-06-27 10:58:33 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/xapian-config
|
2011-04-11 08:06:37 +00:00
|
|
|
%{_includedir}/xapian
|
2006-06-27 10:58:33 +00:00
|
|
|
%{_includedir}/xapian.h
|
2011-01-24 15:54:38 +00:00
|
|
|
%{_libdir}/libxapian.so
|
2011-04-11 08:06:37 +00:00
|
|
|
%{_libdir}/libxapian.a
|
|
|
|
%{_libdir}/libxapian.la
|
2006-06-27 10:58:33 +00:00
|
|
|
%{_datadir}/aclocal/xapian.m4
|
2011-04-11 08:06:37 +00:00
|
|
|
|
|
|
|
%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/
|
2006-11-04 11:35:09 +00:00
|
|
|
|
2007-04-01 19:16:33 +00:00
|
|
|
%changelog
|
2011-04-11 08:06:37 +00:00
|
|
|
* Sat May 16 2009 - Raymond Wooninck <tittiatcoke@gmail.com> 1.0.12
|
|
|
|
- Update to 1.0.12
|
|
|
|
* Wed Mar 18 2009 - Raymond Wooninck <tittiatcoke@gmail.com> 1.0.11
|
|
|
|
- Update to 1.0.11
|