[6890] | 1 | Summary: The Xapian Probabilistic Information Retrieval Library |
---|
| 2 | Name: xapian-core |
---|
| 3 | Version: 1.2.12 |
---|
| 4 | Release: 1%{_dist_release} |
---|
| 5 | License: GPL |
---|
| 6 | Group: Applications/Databases |
---|
| 7 | Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz |
---|
| 8 | URL: http://xapian.org/ |
---|
| 9 | |
---|
| 10 | BuildRequires: gcc-c++ zlib-devel libuuid-devel |
---|
| 11 | |
---|
| 12 | Requires: %{name}-libs = %{version} |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | Xapian is an Open Source Probabilistic Information Retrieval Library. It |
---|
| 22 | offers a highly adaptable toolkit that allows developers to easily add advanced |
---|
| 23 | indexing and search facilities to applications. |
---|
| 24 | |
---|
| 25 | %package libs |
---|
| 26 | Summary: Xapian search engine libraries. |
---|
| 27 | Group: System Environment/Libraries |
---|
| 28 | |
---|
| 29 | %description libs |
---|
| 30 | Xapian is an Open Source Probabilistic Information Retrieval framework. It |
---|
| 31 | offers a highly adaptable toolkit that allows developers to easily add advanced |
---|
| 32 | indexing and search facilities to applications. This package provides the |
---|
| 33 | libraries for applications using Xapian functionality. |
---|
| 34 | |
---|
| 35 | %package devel |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Summary: Files needed for building packages which use Xapian. |
---|
| 38 | Requires: %{name}-libs = %{version} |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | Xapian is an Open Source Probabilistic Information Retrieval framework. It |
---|
| 42 | offers a highly adaptable toolkit that allows developers to easily add advanced |
---|
| 43 | indexing and search facilities to applications. This package provides the |
---|
| 44 | files needed for building packages which use Xapian. |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | %setup -q -n %{name}-%{version} |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | # As of 1.1.0, Xapian uses libtool 2.2.x which allows us to override libtool's |
---|
| 51 | # sometimes conservative take on which directories are in the default dynamic |
---|
| 52 | # linker search path, so we no longer incorrectly try to set rpath for |
---|
| 53 | # /usr/lib64. Hence there's no longer a need to run "autoreconf --force" here |
---|
| 54 | # and it's better not to as it avoids having to cope with incompatibilities |
---|
| 55 | # with older versions of the autotools which older distros have. |
---|
| 56 | #autoreconf --force |
---|
| 57 | %configure |
---|
| 58 | make |
---|
| 59 | |
---|
| 60 | %install |
---|
| 61 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
| 62 | mkdir -p %{buildroot} |
---|
| 63 | # makeinstall doesn't work properly with libtool built libraries |
---|
| 64 | make DESTDIR=%{buildroot} install |
---|
| 65 | # Move the docs to the right place |
---|
| 66 | mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_datadir}/doc/%{name}-devel-%{version} |
---|
| 67 | # Copy HACKING now, as "%doc HACKING" would overwrite everything |
---|
| 68 | cp HACKING %{buildroot}%{_datadir}/doc/%{name}-devel-%{version} |
---|
| 69 | # Copy the rest while we are in this directory |
---|
| 70 | mkdir -p %{buildroot}%{_datadir}/doc/%{name}-%{version} |
---|
| 71 | cp AUTHORS ChangeLog ChangeLog.examples COPYING NEWS PLATFORMS README %{buildroot}%{_datadir}/doc/%{name}-%{version} |
---|
| 72 | |
---|
| 73 | %post libs -p /sbin/ldconfig |
---|
| 74 | |
---|
| 75 | %postun libs -p /sbin/ldconfig |
---|
| 76 | |
---|
| 77 | %clean |
---|
| 78 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
| 79 | |
---|
| 80 | %files |
---|
| 81 | %defattr(-, root, root) |
---|
| 82 | %{_bindir}/xapian-tcpsrv |
---|
| 83 | %{_bindir}/xapian-progsrv |
---|
| 84 | %{_bindir}/quest |
---|
| 85 | %{_bindir}/delve |
---|
| 86 | %{_bindir}/copydatabase |
---|
| 87 | %{_bindir}/simpleindex |
---|
| 88 | %{_bindir}/simplesearch |
---|
| 89 | %{_bindir}/simpleexpand |
---|
| 90 | %{_bindir}/xapian-check |
---|
| 91 | %{_bindir}/xapian-chert-update |
---|
| 92 | %{_bindir}/xapian-compact |
---|
| 93 | %{_bindir}/xapian-inspect |
---|
| 94 | %{_bindir}/xapian-replicate |
---|
| 95 | %{_bindir}/xapian-replicate-server |
---|
| 96 | %{_bindir}/xapian-metadata |
---|
| 97 | %doc %{_datadir}/doc/%{name}-%{version} |
---|
| 98 | # man pages may be gzipped, hence the trailing wildcard. |
---|
| 99 | %{_mandir}/man1/xapian-tcpsrv.1* |
---|
| 100 | %{_mandir}/man1/xapian-progsrv.1* |
---|
| 101 | %{_mandir}/man1/quest.1* |
---|
| 102 | %{_mandir}/man1/delve.1* |
---|
| 103 | %{_mandir}/man1/copydatabase.1* |
---|
| 104 | %{_mandir}/man1/xapian-check.1* |
---|
| 105 | %{_mandir}/man1/xapian-chert-update.1* |
---|
| 106 | %{_mandir}/man1/xapian-compact.1* |
---|
| 107 | %{_mandir}/man1/xapian-inspect.1* |
---|
| 108 | %{_mandir}/man1/xapian-replicate.1* |
---|
| 109 | %{_mandir}/man1/xapian-replicate-server.1* |
---|
| 110 | %{_mandir}/man1/xapian-metadata.1* |
---|
| 111 | |
---|
| 112 | %files libs |
---|
| 113 | %defattr(-, root, root) |
---|
| 114 | %{_libdir}/libxapian*.so.* |
---|
| 115 | |
---|
| 116 | %files devel |
---|
| 117 | %defattr(-, root, root) |
---|
| 118 | %{_bindir}/xapian-config |
---|
| 119 | %{_includedir}/xapian |
---|
| 120 | %{_includedir}/xapian.h |
---|
| 121 | %{_libdir}/libxapian*.so |
---|
| 122 | %{_libdir}/libxapian*.a |
---|
| 123 | %{_libdir}/libxapian*.la |
---|
| 124 | %{_libdir}/cmake/xapian |
---|
| 125 | %{_datadir}/aclocal/xapian*.m4 |
---|
| 126 | %doc %{_datadir}/doc/%{name}-devel-%{version} |
---|
| 127 | # man pages may be gzipped, hence the trailing wildcard. |
---|
| 128 | %{_mandir}/man1/xapian-config.1* |
---|
| 129 | |
---|
| 130 | %changelog |
---|
| 131 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-1 |
---|
| 132 | - initial build |
---|