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