Name: lucene++ Summary: A high-performance, full-featured text search engine written in C++ Version: 3.0.7 Release: 1 License: ASL 2.0 or LGPLv3+ Url: https://github.com/luceneplusplus/LucenePlusPlus Source: https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_%{version}.tar.gz#/%{name}-%{version}.tar.gz ## upstream patches Patch1: 0001-Fix-FSDirectory-sync-to-sync-writes-to-disk.patch Patch2: 0002-minor-fix-to-allow-full-lines-to-be-input-to-demo-qu.patch Patch5: 0005-Use-maxSize-of-BooleanQuery-as-base-for-the-queue-si.patch Patch6: 0006-Fix-packageconfig-path.patch Patch7: 0007-boost-1.58-variant.patch BuildRequires: boost-devel BuildRequires: cmake >= 2.8.6 BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: subversion %description An up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine. %package devel Summary: Development files for lucene++ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for lucene++, a high-performance, full-featured text search engine written in C++ %prep %autosetup -p1 -n LucenePlusPlus-rel_%{version} %build mkdir %{_target_platform} pushd %{_target_platform} %cmake .. \ -DCMAKE_BUILD_TYPE:String="release" %make_build lucene++ lucene++-contrib popd %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %ldconfig_scriptlets %files %doc AUTHORS README* REQUESTS %license COPYING APACHE.license GPL.license LGPL.license %{_libdir}/liblucene++.so.0* %{_libdir}/liblucene++.so.%{version} %{_libdir}/liblucene++-contrib.so.0* %{_libdir}/liblucene++-contrib.so.%{version} %files devel %{_includedir}/lucene++/ %{_libdir}/liblucene++.so %{_libdir}/liblucene++-contrib.so %{_libdir}/pkgconfig/liblucene++.pc %{_libdir}/pkgconfig/liblucene++-contrib.pc %changelog * Mon Jul 25 2022 loong_C - 3.0.7-1 - init package