Blame SPECS/xapian-core.spec

c2dfb6
# Currently fails on s390x and ARMv7
c2dfb6
%if ! 0%{?_module_build}
c2dfb6
%global with_tests 0
c2dfb6
%else
c2dfb6
%global with_tests 0
c2dfb6
%endif
c2dfb6
c2dfb6
Name:          xapian-core
c2dfb6
Version:       1.4.18
c2dfb6
Release:       3%{?dist}
c2dfb6
Summary:       The Xapian Probabilistic Information Retrieval Library
c2dfb6
License:       GPLv2+
c2dfb6
URL:           https://www.xapian.org/
c2dfb6
Source0:       https://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz
c2dfb6
c2dfb6
BuildRequires: gcc
c2dfb6
BuildRequires: gcc-c++
c2dfb6
BuildRequires: libuuid-devel
c2dfb6
BuildRequires: make
c2dfb6
BuildRequires: zlib-devel
c2dfb6
%if 0%{?with_tests}
c2dfb6
BuildRequires: valgrind-devel
c2dfb6
%endif
c2dfb6
Requires:      %{name}-libs%{?_isa} = %{version}-%{release}
c2dfb6
c2dfb6
c2dfb6
%description
c2dfb6
Xapian is an Open Source Probabilistic Information Retrieval Library. It
c2dfb6
offers a highly adaptable toolkit that allows developers to easily add advanced
c2dfb6
indexing and search facilities to applications
c2dfb6
c2dfb6
%package libs
c2dfb6
Summary:       Xapian search engine libraries
c2dfb6
c2dfb6
%description libs
c2dfb6
Xapian is an Open Source Probabilistic Information Retrieval framework. It
c2dfb6
offers a highly adaptable toolkit that allows developers to easily add advanced
c2dfb6
indexing and search facilities to applications. This package provides the
c2dfb6
libraries for applications using Xapian functionality
c2dfb6
c2dfb6
%package devel
c2dfb6
Summary:       Files needed for building packages which use Xapian
c2dfb6
Requires:      %{name}%{?_isa} = %{version}-%{release}
c2dfb6
Requires:      %{name}-libs%{?_isa} = %{version}-%{release}
c2dfb6
Requires:      libuuid-devel
c2dfb6
c2dfb6
%description devel
c2dfb6
Xapian is an Open Source Probabilistic Information Retrieval framework. It
c2dfb6
offers a highly adaptable toolkit that allows developers to easily add advanced
c2dfb6
indexing and search facilities to applications. This package provides the
c2dfb6
files needed for building packages which use Xapian
c2dfb6
c2dfb6
%prep
c2dfb6
%autosetup -p1
c2dfb6
c2dfb6
%build
c2dfb6
%configure
c2dfb6
c2dfb6
%{make_build}
c2dfb6
c2dfb6
%install
c2dfb6
%{make_install}
c2dfb6
c2dfb6
# Remove libtool archives
c2dfb6
find $RPM_BUILD_ROOT -name '*.la' -delete
c2dfb6
c2dfb6
# Remove the dev docs, we pick them up below
c2dfb6
rm -rf %{buildroot}%{_datadir}/doc/%{name}
c2dfb6
c2dfb6
%if 0%{?with_tests}
c2dfb6
%check
c2dfb6
make check %{?_smp_mflags}
c2dfb6
%endif
c2dfb6
c2dfb6
%ldconfig_scriptlets libs
c2dfb6
c2dfb6
%files
c2dfb6
%doc AUTHORS NEWS README
c2dfb6
%{_bindir}/xapian*
c2dfb6
%{_bindir}/quest
c2dfb6
%{_bindir}/copydatabase
c2dfb6
%{_bindir}/simpleindex
c2dfb6
%{_bindir}/simplesearch
c2dfb6
%{_bindir}/simpleexpand
c2dfb6
%{_datadir}/xapian-core/
c2dfb6
%{_mandir}/man1/xapian*
c2dfb6
%{_mandir}/man1/quest.1*
c2dfb6
%{_mandir}/man1/copydatabase.1*
c2dfb6
c2dfb6
%files libs
c2dfb6
%license COPYING
c2dfb6
%{_libdir}/libxapian.so.*
c2dfb6
c2dfb6
%files devel
c2dfb6
%doc HACKING PLATFORMS docs/*html docs/apidoc
c2dfb6
%{_bindir}/xapian-config
c2dfb6
%{_includedir}/xapian
c2dfb6
%{_includedir}/xapian.h
c2dfb6
%{_libdir}/libxapian.so
c2dfb6
%{_libdir}/cmake/xapian
c2dfb6
%{_libdir}/pkgconfig/xapian-core.pc
c2dfb6
%{_datadir}/aclocal/xapian.m4
c2dfb6
%{_mandir}/man1/xapian-config.1*
c2dfb6
c2dfb6
%changelog
c2dfb6
* Thu May 27 2021 Pavel Zhukov <pzhukov@redhat.com> - 1.4.18-3
c2dfb6
- NVR bump to make gating bot happy
c2dfb6
c2dfb6
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.18-2
c2dfb6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c2dfb6
c2dfb6
* Sun Mar 07 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.4.18-1
c2dfb6
- Update to 1.4.18
c2dfb6
- Spec file cleanups
c2dfb6
c2dfb6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.17-3
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c2dfb6
c2dfb6
* Sat Oct 17 2020 Jeff Law <law@redhat.com> - 1.4.17-2
c2dfb6
- Fix missing #include for gcc-11
c2dfb6
c2dfb6
* Mon Sep 21 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.4.17-1
c2dfb6
- Update to 1.4.17
c2dfb6
c2dfb6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.14-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c2dfb6
c2dfb6
* Mon Feb 10 2020 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.14-1
c2dfb6
- Update to 1.4.14
c2dfb6
c2dfb6
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13-3
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c2dfb6
c2dfb6
* Tue Oct 29 2019 Peter Robinson <pbrobinson@gmail.com> - 1.4.13-2
c2dfb6
- Upstream fix for pruning under a positional check (rhbz 1766219)
c2dfb6
c2dfb6
* Thu Oct 17 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.13-1
c2dfb6
- Update to 1.4.13
c2dfb6
c2dfb6
* Tue Aug 20 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.12-1
c2dfb6
- Update to 1.4.12
c2dfb6
c2dfb6
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.11-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c2dfb6
c2dfb6
* Tue Apr 16 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.11-1
c2dfb6
- Update to 1.4.11
c2dfb6
c2dfb6
* Mon Feb 11 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.10-1
c2dfb6
- Update to 1.4.10
c2dfb6
c2dfb6
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c2dfb6
c2dfb6
* Mon Nov 19 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.9-1
c2dfb6
- Update to 1.4.9
c2dfb6
c2dfb6
* Tue Aug 14 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.7-1
c2dfb6
- Update to 1.4.7
c2dfb6
c2dfb6
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c2dfb6
c2dfb6
* Tue Jul  3 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.6-1
c2dfb6
- Update to 1.4.6
c2dfb6
- CVE-2018-0499 fix (rhbz 1597583 1597585 1597586)
c2dfb6
c2dfb6
* Fri Mar  9 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.5-4
c2dfb6
- Add gcc BR, spec cleanups
c2dfb6
c2dfb6
* Wed Mar 07 2018 Adam Williamson <awilliam@redhat.com> - 1.4.5-3
c2dfb6
- Rebuild to fix GCC 8 mis-compilation
c2dfb6
  See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
c2dfb6
c2dfb6
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c2dfb6
c2dfb6
* Mon Jan 29 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.5-1
c2dfb6
- Update to 1.4.5
c2dfb6
c2dfb6
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c2dfb6
c2dfb6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c2dfb6
c2dfb6
* Tue May 16 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.4-1
c2dfb6
- Update to 1.4.4
c2dfb6
c2dfb6
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-4
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
c2dfb6
c2dfb6
* Fri Apr 21 2017 Karsten Hopp <karsten@redhat.com> - 1.4.3-3
c2dfb6
- use new _module_build macro to limit dependencies for Modularity
c2dfb6
c2dfb6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c2dfb6
c2dfb6
* Sat Feb  4 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.3-1
c2dfb6
- Update to 1.4.3
c2dfb6
c2dfb6
* Thu Nov 24 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.1-1
c2dfb6
- Update to 1.4.1
c2dfb6
c2dfb6
* Tue Jul  5 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.23-1
c2dfb6
- Update to 1.2.23
c2dfb6
c2dfb6
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.22-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c2dfb6
c2dfb6
* Wed Jan  6 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.22-1
c2dfb6
- Update to 1.2.22
c2dfb6
- Use %%license
c2dfb6
c2dfb6
* Fri Nov 27 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.21-3
c2dfb6
- Rebuild
c2dfb6
c2dfb6
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.21-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c2dfb6
c2dfb6
* Mon Jun 15 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.21-1
c2dfb6
- Update to 1.2.21
c2dfb6
c2dfb6
* Wed Apr 15 2015 Petr Pisar <ppisar@redhat.com> - 1.2.20-2
c2dfb6
- Rebuild owing to C++ ABI change in GCC-5 (bug #1195353)
c2dfb6
c2dfb6
* Sat Mar 21 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.20-1
c2dfb6
- Update to 1.2.20
c2dfb6
c2dfb6
* Wed Feb 25 2015 Than Ngo <than@redhat.com> 1.2.19-3
c2dfb6
- rebuilt against new gcc5
c2dfb6
c2dfb6
* Sat Feb 07 2015 Rex Dieter <rdieter@fedoraproject.org> 1.2.19-2
c2dfb6
- rebuild (gcc)
c2dfb6
c2dfb6
* Tue Nov 11 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.19-1
c2dfb6
- Update to 1.2.19
c2dfb6
c2dfb6
* Mon Sep  1 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.18-1
c2dfb6
- Update to 1.2.18
c2dfb6
c2dfb6
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.17-3
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c2dfb6
c2dfb6
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.17-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c2dfb6
c2dfb6
* Sat Feb 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.17-1
c2dfb6
- Update to 1.2.17
c2dfb6
c2dfb6
* Sun Jan 12 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.16-1
c2dfb6
- Update to 1.2.16
c2dfb6
c2dfb6
* Fri Aug 23 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.15-1
c2dfb6
- Update to 1.2.15
c2dfb6
c2dfb6
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.14-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c2dfb6
c2dfb6
* Sat Mar 23 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.14
c2dfb6
- Update to 1.2.14
c2dfb6
c2dfb6
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-3
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c2dfb6
c2dfb6
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c2dfb6
c2dfb6
* Wed Jul  4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.12-1
c2dfb6
- Update to 1.2.12
c2dfb6
c2dfb6
* Sun Apr 29 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.9-1
c2dfb6
- Update to 1.2.9
c2dfb6
c2dfb6
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-2
c2dfb6
- Rebuilt for c++ ABI breakage
c2dfb6
c2dfb6
* Sat Jan 21 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.8-1
c2dfb6
- Update to 1.2.8
c2dfb6
c2dfb6
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c2dfb6
c2dfb6
* Thu Aug 18 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.7-1
c2dfb6
- Update to 1.2.7
c2dfb6
c2dfb6
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-2
c2dfb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c2dfb6
c2dfb6
* Sun Jan 16 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.4-1
c2dfb6
- Update to 1.2.4
c2dfb6
c2dfb6
* Mon Aug 30 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.3-1
c2dfb6
- Update to 1.2.3
c2dfb6
c2dfb6
* Thu Aug  5 2010 Adel Gadllah <adel.gadllah@gmail.com> - 1.2.2-5
c2dfb6
- Reenable SSE on x86_64
c2dfb6
c2dfb6
* Thu Aug  5 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.2-4
c2dfb6
- Disable SSE instructions by default
c2dfb6
c2dfb6
* Wed Jul 14 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.2-3
c2dfb6
- And remove non spec cut-n-paste issue
c2dfb6
c2dfb6
* Wed Jul 14 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.2-2
c2dfb6
- Add cmake stuff
c2dfb6
c2dfb6
* Wed Jul 14 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.2-1
c2dfb6
- Update to 1.2.2
c2dfb6
c2dfb6
* Fri May  7 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.0-4
c2dfb6
- Move license to libs package, a few other spc cleanups
c2dfb6
c2dfb6
* Fri May  7 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.0-3
c2dfb6
- Add the libtool archive (temporarily) to fix build of bindings
c2dfb6
c2dfb6
* Sat May  1 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.0-2
c2dfb6
- Upload new source 
c2dfb6
c2dfb6
* Sat May  1 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.0-1
c2dfb6
- Update to 1.2.0