%define javahome %{_jvmdir}/jdk Name: java-lucene Version: 8.8.1 Release: 1mamba Summary: High-performance, full-featured text search engine Group: Applications/Networking Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://lucene.apache.org/ Source0: https://downloads.apache.org/lucene/java/%{version}/lucene-%{version}.tgz License: Apache Software License 2.0 ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: javapackages Provides: java-lucene-contrib Obsoletes: java-lucene-contrib < 8.8.1 Provides: java-lucene-demo Obsoletes: java-lucene-demo < 8.8.1 %description Jakarta Lucene is a high-performance, full-featured text search engine written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform. %prep %setup -q -n lucene-%{version} %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}%{_javadir}/lucene find . -type f -name '*.jar' -exec cp {} %{buildroot}%{_datadir}/java/lucene \; ln -sf lucene-core-%{version}.jar %{buildroot}%{_javadir}/lucene/lucene.jar ln -sf lucene-core-%{version}.jar %{buildroot}%{_javadir}/lucene/lucene-%{version}.jar %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir %{_javadir}/lucene %{_javadir}/lucene/*.jar %doc LICENSE.txt %changelog * Sun Apr 11 2021 Silvan Calarco 8.8.1-1mamba - update to 8.8.1 * Thu May 07 2020 Silvan Calarco 8.5.1-1mamba - update to 8.5.1 * Tue Jan 18 2011 gil 2.4.1-3mamba - rebuilt with new java-bdb48 - rebuilt with java-openjdk * Thu Mar 18 2010 gil 2.4.1-2mamba - added OSGi NANIFEST * Thu Mar 12 2009 gil 2.4.1-1mamba - package created by autospec