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