%define oname LucenePlusPlus %define major 0 %define libname %mklibname %{name} %{major} %define devname %mklibname %{name} -d Name: lucene++ Summary: C++ port of the popular Java Lucene library Version: 3.0.7 Release: %mkrel 22 License: LGPLv3+ and ASL2.0 Group: Development/C++ Url: https://github.com/luceneplusplus/LucenePlusPlus Source0: https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_%{version}/%{oname}-%{version}.tar.gz #From upstream: Patch0: LucenePlusPlus-3.0.7-boost-1.58-fix.patch Patch1: LucenePlusPlus-3.0.7-pkgconfig-file-fix.patch BuildRequires: cmake BuildRequires: boost-devel %description Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine. %package -n %{libname} Summary: C++ port of the popular Java Lucene library Group: System/Libraries %description -n %{libname} Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine. %package -n %{devname} Summary: Development files and headers for %{name} Group: Development/C++ Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} %description -n %{devname} This package contains the development files and headers for %{name}. %prep %setup -qn %{oname}-rel_%{version} %autopatch -p1 %build %cmake %cmake_build %install %cmake_install %files -n %{libname} %license *.license %doc README* AUTHORS %{_libdir}/lib%{name}*.so.%{major} %{_libdir}/lib%{name}*.so.%{version} %files -n %{devname} %license *.license %doc README* AUTHORS REQUESTS %{_includedir}/%{name}/ %{_libdir}/pkgconfig/lib%{name}*.pc %{_libdir}/lib%{name}*.so %changelog * Sat Dec 24 2022 wally <wally> 3.0.7-22.mga9 + Revision: 1926503 - rebuild for boost 1.81.0 * Sun Jul 03 2022 wally <wally> 3.0.7-21.mga9 + Revision: 1867283 - rebuild for boost 1.79.0 * Fri Mar 18 2022 umeabot <umeabot> 3.0.7-20.mga9 + Revision: 1798811 - Mageia 9 Mass Rebuild * Sun Dec 19 2021 wally <wally> 3.0.7-19.mga9 + Revision: 1762659 - rebuild for boost 1.78.0 * Thu Sep 09 2021 wally <wally> 3.0.7-18.mga9 + Revision: 1744705 - rebuild for boost 1.77.0 * Fri May 14 2021 wally <wally> 3.0.7-17.mga9 + Revision: 1722988 - rebuild for boost 1.76.0 * Thu Dec 31 2020 wally <wally> 3.0.7-16.mga8 + Revision: 1666785 - rebuild for boost 1.75.0 * Sun Dec 20 2020 wally <wally> 3.0.7-15.mga8 + Revision: 1662027 - rebuild for boost 1.74.0 * Sun May 03 2020 wally <wally> 3.0.7-14.mga8 + Revision: 1578081 - rebuild for boost 1.73.0 * Wed Feb 19 2020 umeabot <umeabot> 3.0.7-13.mga8 + Revision: 1545041 - Mageia 8 Mass Rebuild * Mon Jan 27 2020 daviddavid <daviddavid> 3.0.7-12.mga8 + Revision: 1483726 - use new cmake macros + wally <wally> - rebuild for boost 1.72.0 - replace deprecated %%makeinstall_std * Tue Oct 16 2018 wally <wally> 3.0.7-11.mga7 + Revision: 1321063 - rebuild for new boost 1.68.0 * Sun Sep 23 2018 umeabot <umeabot> 3.0.7-10.mga7 + Revision: 1299380 - Mageia 7 Mass Rebuild * Mon Dec 25 2017 wally <wally> 3.0.7-9.mga7 + Revision: 1184684 - rebuild for new boost * Tue Nov 21 2017 tv <tv> 3.0.7-8.mga7 + Revision: 1178088 - rebuild for boost 1.65 * Sat Sep 16 2017 tv <tv> 3.0.7-7.mga7 + Revision: 1154696 - rebuild with latest boost * Fri Dec 25 2015 daviddavid <daviddavid> 3.0.7-6.mga6 + Revision: 914622 - rebuild for new boost 1.60.0 * Fri Sep 25 2015 daviddavid <daviddavid> 3.0.7-5.mga6 + Revision: 883468 - rebuild for new boost-1.59.0 * Fri Aug 28 2015 cjw <cjw> 3.0.7-4.mga6 + Revision: 870355 - rebuild with gcc 5 * Fri Jul 31 2015 wally <wally> 3.0.7-3.mga6 + Revision: 859912 - add patch from upstream to fix paths in pkgconfig .pc files - use %%license for license files * Fri Jul 31 2015 wally <wally> 3.0.7-2.mga6 + Revision: 859867 - add patch from upstream to fix build with new boost 1.58 + daviddavid <daviddavid> - rebuild for new boost-1.58.0 * Sat Jun 20 2015 wally <wally> 3.0.7-1.mga6 + Revision: 836666 - new version 3.0.7 * Wed Oct 15 2014 umeabot <umeabot> 3.0.6-1.git20140729.3.mga5 + Revision: 749063 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 3.0.6-1.git20140729.2.mga5 + Revision: 682041 - Mageia 5 Mass Rebuild * Tue Jul 29 2014 wally <wally> 3.0.6-1.git20140729.1.mga5 + Revision: 657937 - import latest git snapshot of lucene++