1 |
Name: xapian-core |
2 |
Version: 1.0.17 |
3 |
Release: 1%{?dist} |
4 |
Summary: The Xapian Probabilistic Information Retrieval Library |
5 |
|
6 |
Group: Applications/Databases |
7 |
License: GPLv2+ |
8 |
URL: http://www.xapian.org/ |
9 |
Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz |
10 |
Patch0: multilib-devel-conflict-fix.patch |
11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
12 |
|
13 |
BuildRequires: zlib-devel |
14 |
Requires: %{name}-libs = %{version} |
15 |
|
16 |
%description |
17 |
Xapian is an Open Source Probabilistic Information Retrieval Library. It |
18 |
offers a highly adaptable toolkit that allows developers to easily add advanced |
19 |
indexing and search facilities to applications |
20 |
|
21 |
%package libs |
22 |
Summary: Xapian search engine libraries |
23 |
Group: System Environment/Libraries |
24 |
|
25 |
%description libs |
26 |
Xapian is an Open Source Probabilistic Information Retrieval framework. It |
27 |
offers a highly adaptable toolkit that allows developers to easily add advanced |
28 |
indexing and search facilities to applications. This package provides the |
29 |
libraries for applications using Xapian functionality |
30 |
|
31 |
%package devel |
32 |
Group: Development/Libraries |
33 |
Summary: Files needed for building packages which use Xapian |
34 |
Requires: %{name} = %{version} |
35 |
Requires: %{name}-libs = %{version} |
36 |
|
37 |
%description devel |
38 |
Xapian is an Open Source Probabilistic Information Retrieval framework. It |
39 |
offers a highly adaptable toolkit that allows developers to easily add advanced |
40 |
indexing and search facilities to applications. This package provides the |
41 |
files needed for building packages which use Xapian |
42 |
|
43 |
%prep |
44 |
%setup -q |
45 |
%patch0 -p1 -b .multilibfix |
46 |
|
47 |
%build |
48 |
%configure --disable-static |
49 |
|
50 |
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath |
51 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
52 |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
53 |
|
54 |
make %{?_smp_mflags} V=1 |
55 |
|
56 |
%install |
57 |
rm -rf %{buildroot} |
58 |
make install DESTDIR=%{buildroot} INSTALL='install -p' |
59 |
|
60 |
# Remove libtool archives |
61 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
62 |
|
63 |
# Remove the dev docs, we pick them up below |
64 |
rm -rf %{buildroot}%{_datadir}/doc/%{name} |
65 |
|
66 |
%post libs -p /sbin/ldconfig |
67 |
|
68 |
%postun libs -p /sbin/ldconfig |
69 |
|
70 |
%clean |
71 |
rm -rf %{buildroot} |
72 |
|
73 |
%files |
74 |
%defattr(-, root, root) |
75 |
%doc AUTHORS ChangeLog COPYING NEWS README |
76 |
%{_bindir}/xapian-check |
77 |
%{_bindir}/xapian-inspect |
78 |
%{_bindir}/xapian-tcpsrv |
79 |
%{_bindir}/xapian-progsrv |
80 |
%{_bindir}/quartzcheck |
81 |
%{_bindir}/quartzcompact |
82 |
%{_bindir}/quartzdump |
83 |
%{_bindir}/quest |
84 |
%{_bindir}/delve |
85 |
%{_bindir}/copydatabase |
86 |
%{_bindir}/simpleindex |
87 |
%{_bindir}/simplesearch |
88 |
%{_bindir}/simpleexpand |
89 |
%{_bindir}/xapian-compact |
90 |
# man pages may be gzipped, hence the trailing wildcard. |
91 |
%{_mandir}/man1/xapian-check.1* |
92 |
%{_mandir}/man1/xapian-inspect.1* |
93 |
%{_mandir}/man1/xapian-tcpsrv.1* |
94 |
%{_mandir}/man1/xapian-progsrv.1* |
95 |
%{_mandir}/man1/quartzcheck.1* |
96 |
%{_mandir}/man1/quartzcompact.1* |
97 |
%{_mandir}/man1/quartzdump.1* |
98 |
%{_mandir}/man1/quest.1* |
99 |
%{_mandir}/man1/delve.1* |
100 |
%{_mandir}/man1/copydatabase.1* |
101 |
%{_mandir}/man1/xapian-compact.1* |
102 |
|
103 |
%files libs |
104 |
%defattr(-, root, root) |
105 |
%{_libdir}/libxapian.so.* |
106 |
|
107 |
%files devel |
108 |
%defattr(-, root, root) |
109 |
%doc HACKING PLATFORMS docs/*html docs/apidoc docs/*pdf |
110 |
%{_bindir}/xapian-config |
111 |
%{_includedir}/xapian |
112 |
%{_includedir}/xapian.h |
113 |
%{_libdir}/libxapian.so |
114 |
%{_datadir}/aclocal/xapian.m4 |
115 |
# man pages may be gzipped, hence the trailing wildcard. |
116 |
%{_mandir}/man1/xapian-config.1* |
117 |
|
118 |
%changelog |
119 |
* Wed Dec 2 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.17-1 |
120 |
- Update to 1.0.17 |
121 |
|
122 |
* Sun Sep 19 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.16-1 |
123 |
- Update to 1.0.16, some spec file cleanups |
124 |
|
125 |
* Thu Aug 27 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.15-1 |
126 |
- Update to 1.0.15 |
127 |
|
128 |
* Wed Jul 29 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.14-1 |
129 |
- Update to 1.0.14 |
130 |
|
131 |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-2 |
132 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
133 |
|
134 |
* Fri Jun 5 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.13-1 |
135 |
- Update to 1.0.13 |
136 |
|
137 |
* Sun Apr 12 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.12-1 |
138 |
- Update to 1.0.12 |
139 |
|
140 |
* Mon Apr 06 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.11-1 |
141 |
- Update to 1.0.11 |
142 |
|
143 |
* Wed Mar 04 2009 Caolán McNamara <caolanm@redhat.com> - 1.0.9-4 |
144 |
- include stdio.h for rename, fix bare #elif, EOF -> -1 for getopt |
145 |
|
146 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-3 |
147 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
148 |
|
149 |
* Fri Dec 05 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.9-2 |
150 |
- Fix build |
151 |
|
152 |
* Sat Nov 29 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.9-1 |
153 |
- Update to 1.0.9 |
154 |
|
155 |
* Sat Oct 11 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.8-1 |
156 |
- Update to 1.0.8 |
157 |
|
158 |
* Sun Jul 20 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.7-1 |
159 |
- Update to 1.0.7 |
160 |
|
161 |
* Sun Mar 30 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.6-1 |
162 |
- Update to 1.0.6 |
163 |
|
164 |
* Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.5-2 |
165 |
- Rebuild for gcc-4.3 |
166 |
|
167 |
* Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.5-1 |
168 |
- Update to 1.0.5 |
169 |
|
170 |
* Tue Oct 30 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.4-1 |
171 |
- Update to 1.0.4 |
172 |
|
173 |
* Fri Oct 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-7 |
174 |
- Fix up multilib patch |
175 |
|
176 |
* Thu Oct 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-6 |
177 |
- Fix multilib conflict in devel package (RH #343471) |
178 |
|
179 |
* Tue Aug 21 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-5 |
180 |
- Rebuild for BuildID and ppc32 bug |
181 |
|
182 |
* Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-4 |
183 |
- Add disttag |
184 |
|
185 |
* Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-3 |
186 |
- Bump to avoid tag conflict |
187 |
|
188 |
* Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-2 |
189 |
- Add missing files |
190 |
- Minor cleanups |
191 |
|
192 |
* Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-1 |
193 |
- Update to 1.0.2 |
194 |
- Fix License tag |
195 |
|
196 |
* Sat Jun 16 2007 Marco Pesenti Gritti <mpg@redhat.com> 1.0.1-1 |
197 |
- Update to 1.0.1 |
198 |
|
199 |
* Tue May 8 2007 Marco Pesenti Gritti <mpg@redhat.com> 0.9.10-2.2.svn8397 |
200 |
- Initial build |