2024-01-06 06:32:14 +01:00
|
|
|
Name: luceneplusplus
|
2024-01-06 06:32:15 +01:00
|
|
|
Version: 3.0.8
|
2024-01-06 06:32:16 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 06:32:14 +01:00
|
|
|
Summary: An up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/luceneplusplus/LucenePlusPlus
|
|
|
|
Source: https://github.com/luceneplusplus/LucenePlusPlus.git/rel_%{version}/LucenePlusPlus-%{version}.tar.bz2
|
|
|
|
Patch0: luceneplusplus-3.0.6-gcc-4.9.patch
|
2024-01-06 06:32:14 +01:00
|
|
|
Patch1: luceneplusplus-3.0.7-libboost-1.58.patch
|
2024-01-06 06:32:14 +01:00
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libboost-devel
|
2024-01-06 06:32:15 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
2024-01-06 06:32:14 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 06:32:15 +01:00
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: liblzma-devel
|
2024-01-06 06:32:14 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 06:32:15 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: libzstd-devel
|
2024-01-06 06:32:14 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
An up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.
|
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
%package -n liblucene++
|
2024-01-06 06:32:14 +01:00
|
|
|
Group: System/Libraries
|
2024-01-06 06:32:14 +01:00
|
|
|
Summary: An up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine
|
|
|
|
Provides: libluceneplusplus
|
2024-01-06 06:32:15 +01:00
|
|
|
Obsoletes: libluceneplusplus < 3.0.8
|
2024-01-06 06:32:14 +01:00
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
%description -n liblucene++
|
|
|
|
An up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.
|
2024-01-06 06:32:14 +01:00
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
%package -n liblucene++-devel
|
2024-01-06 06:32:14 +01:00
|
|
|
Group: Development/Libraries
|
2024-01-06 06:32:14 +01:00
|
|
|
Summary: Development files for liblucene++
|
|
|
|
Requires: liblucene++ = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: libluceneplusplus-devel
|
2024-01-06 06:32:15 +01:00
|
|
|
Obsoletes: libluceneplusplus-devel < 3.0.8
|
2024-01-06 06:32:14 +01:00
|
|
|
Requires: pkg-config
|
2024-01-06 06:32:14 +01:00
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
%description -n liblucene++-devel
|
2024-01-06 06:32:14 +01:00
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n LucenePlusPlus-%{version}
|
2024-01-06 06:32:15 +01:00
|
|
|
#%patch1 -p1
|
2024-01-06 06:32:14 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
2024-01-06 06:32:15 +01:00
|
|
|
-DLIB_DESTINATION=%{_lib} \
|
|
|
|
-DENABLE_TEST=OFF
|
2024-01-06 06:32:14 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-06 06:32:16 +01:00
|
|
|
# Fix pkgconfig and cmake install path
|
|
|
|
mv %{buildroot}%{_includedir}/pkgconfig %{buildroot}%{_libdir}/
|
|
|
|
mv %{buildroot}%{_includedir}/cmake %{buildroot}%{_libdir}/
|
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
%post -n liblucene++ -p /sbin/ldconfig
|
|
|
|
%postun -n liblucene++ -p /sbin/ldconfig
|
2024-01-06 06:32:14 +01:00
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
%files -n liblucene++
|
2024-01-06 06:32:14 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 06:32:15 +01:00
|
|
|
#%{_libdir}/liblucene++-contrib.so.*
|
2024-01-06 06:32:14 +01:00
|
|
|
%{_libdir}/liblucene++.so.*
|
2024-01-06 06:32:14 +01:00
|
|
|
%doc COPYING
|
2024-01-06 06:32:14 +01:00
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
%files -n liblucene++-devel
|
2024-01-06 06:32:14 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/lucene++
|
|
|
|
%{_includedir}/lucene++/*.h
|
|
|
|
%{_libdir}/liblucene++-contrib.so
|
|
|
|
%{_libdir}/liblucene++.so
|
2024-01-06 06:32:16 +01:00
|
|
|
%{_libdir}/pkgconfig/liblucene++-contrib.pc
|
|
|
|
%{_libdir}/pkgconfig/liblucene++.pc
|
|
|
|
%{_libdir}/cmake/liblucene++*.cmake
|
2024-01-06 06:32:15 +01:00
|
|
|
%doc README.PACKAGE
|
2024-01-06 06:32:14 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 06:32:16 +01:00
|
|
|
* Mon Jul 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.8-2mamba
|
|
|
|
- fix pkgconfig and cmake files installation path
|
|
|
|
|
2024-01-06 06:32:15 +01:00
|
|
|
* Sat May 15 2021 Automatic Build System <autodist@mambasoft.it> 3.0.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
* Tue Jun 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.7-2mamba
|
|
|
|
- rebuilt with current libboost
|
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
* Wed Mar 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.7-1mamba
|
|
|
|
- update to 3.0.7
|
|
|
|
|
2024-01-06 06:32:14 +01:00
|
|
|
* Sat Nov 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.6-1mamba
|
|
|
|
- package created using the webbuild interface
|