1- Summary: The Xapian Probabilistic Information Retrieval Library
2- Name: xapian-core
3- Version: 1.4.20
4- Release: 2%{?dist }
5- License: GPLv2+
6- Vendor: Microsoft Corporation
7- Distribution: Azure Linux
8- URL: https://www.xapian.org/
9- Source0: https://www.oligarchy.co.uk/xapian/%{version }/%{name }-%{version }.tar.xz
10- BuildRequires: gcc
11- BuildRequires: gcc-c++
12- BuildRequires: libuuid-devel
13- BuildRequires: make
14- BuildRequires: zlib-devel
15- Requires: %{name }-libs%{?_isa } = %{version }-%{release }
16- %if 0%{?with_check }
17- BuildRequires: valgrind-devel
1+ # Currently fails on s390x and ARMv7
2+ %if ! 0%{?_module_build }
3+ %global with_tests 0
4+ %else
5+ %global with_tests 0
186%endif
197
8+ Name: xapian-core
9+ Version: 1.4.26
10+ Release: 2%{?dist }
11+ Summary: The Xapian Probabilistic Information Retrieval Library
12+ License: GPL-2.0 -or-later
13+ Vendor: Microsoft Corporation
14+ Distribution: Azure Linux
15+ URL: https://www.xapian.org/
16+ Source0: https://www.oligarchy.co.uk/xapian/%{version }/%{name }-%{version }.tar.xz
17+
18+ BuildRequires: gcc
19+ BuildRequires: gcc-c++
20+ BuildRequires: libuuid-devel
21+ BuildRequires: make
22+ BuildRequires: zlib-devel
23+ %if 0%{?with_tests }
24+ BuildRequires: valgrind-devel
25+ %endif
26+ Requires: %{name }-libs%{?_isa } = %{version }-%{release }
27+
28+
2029%description
2130Xapian is an Open Source Probabilistic Information Retrieval Library. It
2231offers a highly adaptable toolkit that allows developers to easily add advanced
2332indexing and search facilities to applications
2433
2534%package libs
26- Summary: Xapian search engine libraries
35+ Summary: Xapian search engine libraries
2736
2837%description libs
2938Xapian is an Open Source Probabilistic Information Retrieval framework. It
@@ -32,10 +41,10 @@ indexing and search facilities to applications. This package provides the
3241libraries for applications using Xapian functionality
3342
3443%package devel
35- Summary: Files needed for building packages which use Xapian
36- Requires: %{name }%{?_isa } = %{version }-%{release }
37- Requires: %{name }-libs%{?_isa } = %{version }-%{release }
38- Requires: libuuid-devel
44+ Summary: Files needed for building packages which use Xapian
45+ Requires: %{name }%{?_isa } = %{version }-%{release }
46+ Requires: %{name }-libs%{?_isa } = %{version }-%{release }
47+ Requires: libuuid-devel
3948
4049%description devel
4150Xapian is an Open Source Probabilistic Information Retrieval framework. It
@@ -49,19 +58,21 @@ files needed for building packages which use Xapian
4958%build
5059%configure
5160
52- %make_build
61+ %{ make_build }
5362
5463%install
55- %make_install
64+ %{ make_install }
5665
5766# Remove libtool archives
58- find %{ buildroot } -type f - name " *.la" -delete -print
67+ find $RPM_BUILD_ROOT - name ' *.la' -delete
5968
6069# Remove the dev docs, we pick them up below
6170rm -rf %{buildroot }%{_datadir }/doc/%{name }
6271
72+ %if 0%{?with_tests }
6373%check
6474make check %{?_smp_mflags }
75+ %endif
6576
6677%ldconfig_scriptlets libs
6778
@@ -94,10 +105,34 @@ make check %{?_smp_mflags}
94105%{_mandir }/man1/xapian-config.1*
95106
96107%changelog
97- * Tue Jan 03 2023 Sumedh Sharma <sumsharma @microsoft.com> - 1.4.20 -2
98- - Initial CBL-Mariner import from Fedora 37 (license: MIT)
108+ * Tue Jan 14 2025 Aninda Pradhan <v-anipradhan @microsoft.com> - 1.4.26 -2
109+ - Initial Azure Linux import from Fedora 41 (license: MIT)
99110- License verified
100111
112+ * Fri Aug 16 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 1.4.26-1
113+ - Update to 1.4.26
114+
115+ * Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.23-3
116+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
117+
118+ * Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.23-2
119+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
120+
121+ * Tue Jul 25 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.4.23-1
122+ - Update 1.4.23
123+
124+ * Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.22-2
125+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
126+
127+ * Thu May 18 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.4.22-1
128+ - Update to 1.4.22
129+
130+ * Tue Feb 21 2023 Than Ngo <than@redhat.com> - 1.4.20-3
131+ - migrated to SPDX license
132+
133+ * Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.20-2
134+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
135+
101136* Tue Aug 02 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 1.4.20-1
102137- Update to 1.4.20
103138
0 commit comments