123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- Summary: The Xapian Probabilistic Information Retrieval Library
- Name: xapian-core
- Version: 1.2.16
- Release: 1%{_dist_release}
- License: GPL
- Group: Applications/Databases
- Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz
- URL: http://xapian.org/
- BuildRequires: gcc-c++ zlib-devel libuuid-devel
- Requires: %{name}-libs = %{version}
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %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
- Summary: Xapian search engine libraries.
- Group: System Environment/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
- Summary: Files needed for building packages which use Xapian.
- Requires: %{name}-libs = %{version}
- %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 -q -n %{name}-%{version}
- %build
- # As of 1.1.0, Xapian uses libtool 2.2.x which allows us to override libtool's
- # sometimes conservative take on which directories are in the default dynamic
- # linker search path, so we no longer incorrectly try to set rpath for
- # /usr/lib64. Hence there's no longer a need to run "autoreconf --force" here
- # and it's better not to as it avoids having to cope with incompatibilities
- # with older versions of the autotools which older distros have.
- #autoreconf --force
- %configure
- make
- %install
- [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
- mkdir -p %{buildroot}
- # makeinstall doesn't work properly with libtool built libraries
- make DESTDIR=%{buildroot} install
- # Move the docs to the right place
- mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}
- # Copy HACKING now, as "%doc HACKING" would overwrite everything
- cp HACKING %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}
- # Copy the rest while we are in this directory
- mkdir -p %{buildroot}%{_datadir}/doc/%{name}-%{version}
- cp AUTHORS ChangeLog ChangeLog.examples COPYING NEWS PLATFORMS README %{buildroot}%{_datadir}/doc/%{name}-%{version}
- %post libs -p /sbin/ldconfig
- %postun libs -p /sbin/ldconfig
- %clean
- [ "%{buildroot}" != "/" ] && 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-check
- %{_bindir}/xapian-chert-update
- %{_bindir}/xapian-compact
- %{_bindir}/xapian-inspect
- %{_bindir}/xapian-replicate
- %{_bindir}/xapian-replicate-server
- %{_bindir}/xapian-metadata
- %doc %{_datadir}/doc/%{name}-%{version}
- # man pages may be gzipped, hence the trailing wildcard.
- %{_mandir}/man1/xapian-tcpsrv.1*
- %{_mandir}/man1/xapian-progsrv.1*
- %{_mandir}/man1/quest.1*
- %{_mandir}/man1/delve.1*
- %{_mandir}/man1/copydatabase.1*
- %{_mandir}/man1/xapian-check.1*
- %{_mandir}/man1/xapian-chert-update.1*
- %{_mandir}/man1/xapian-compact.1*
- %{_mandir}/man1/xapian-inspect.1*
- %{_mandir}/man1/xapian-replicate.1*
- %{_mandir}/man1/xapian-replicate-server.1*
- %{_mandir}/man1/xapian-metadata.1*
- %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
- %{_libdir}/cmake/xapian
- %{_datadir}/aclocal/xapian*.m4
- %doc %{_datadir}/doc/%{name}-devel-%{version}
- # man pages may be gzipped, hence the trailing wildcard.
- %{_mandir}/man1/xapian-config.1*
- %changelog
- * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.16-1
- - new upstream release
- * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-1
- - initial build
|