forked from pool/xapian-core
141 lines
3.8 KiB
RPMSpec
141 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package xapian-core (Version 0.9.8)
|
|
#
|
|
# Copyright (c) 2006 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: 0.9.8
|
|
Release: 0
|
|
#
|
|
License: GPL
|
|
Group: Productivity/Databases/Servers
|
|
#
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: gcc-c++
|
|
Requires: %{name}-libs = %{version}
|
|
#
|
|
Url: http://www.xapian.org/
|
|
Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
|
|
#
|
|
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 libs
|
|
Group: Development/Libraries/C and C++
|
|
#
|
|
Summary: Xapian search engine libraries.
|
|
|
|
%description libs
|
|
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: %{name}-libs = %{version}
|
|
Requires: gcc-c++
|
|
#
|
|
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.
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
%configure
|
|
%{__make}
|
|
|
|
%install
|
|
# makeinstall doesn't work properly with libtool built libraries
|
|
#%{__make} DESTDIR=%{buildroot} install docdatadir=%{_docdir}/%{name}
|
|
%makeinstall docdatadir=%{_docdir}/%{name}
|
|
%{__rm} -rf examples/{.libs,.deps}
|
|
%{__cp} -vr \
|
|
AUTHORS COPYING ChangeLog ChangeLog.examples \
|
|
HACKING INSTALL NEWS PLATFORMS README examples \
|
|
%{buildroot}%{_docdir}/%{name}
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%{_bindir}/xapian-tcpsrv
|
|
%{_bindir}/xapian-progsrv
|
|
%{_bindir}/quartzcheck
|
|
%{_bindir}/quartzcompact
|
|
%{_bindir}/quartzdump
|
|
%{_bindir}/quest
|
|
%{_bindir}/delve
|
|
%{_bindir}/copydatabase
|
|
%{_bindir}/simpleindex
|
|
%{_bindir}/simplesearch
|
|
%{_bindir}/simpleexpand
|
|
%{_bindir}/xapian-compact
|
|
%{_mandir}/man1/copydatabase.1*
|
|
%{_mandir}/man1/delve.1*
|
|
%{_mandir}/man1/quartzcheck.1*
|
|
%{_mandir}/man1/quartzcompact.1*
|
|
%{_mandir}/man1/quartzdump.1*
|
|
%{_mandir}/man1/quest.1*
|
|
%{_mandir}/man1/xapian-compact.1*
|
|
%{_mandir}/man1/xapian-config.1*
|
|
%{_mandir}/man1/xapian-tcpsrv.1*
|
|
%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 libs
|
|
%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
|
|
%doc %{_docdir}/%{name}/*.html
|
|
%doc %{_docdir}/%{name}/apidoc*
|
|
%doc %{_docdir}/%{name}/examples/
|
|
|
|
%changelog -n xapian-core
|
|
* Sat Nov 04 2006 - mrueckert@suse.de
|
|
- do not package .deps and .libs in the examples dir
|
|
* Sat Nov 04 2006 - mrueckert@suse.de
|
|
- update to 0.9.8:
|
|
many small fixes
|