java-lucene/java-lucene.spec

72 lines
2.2 KiB
RPMSpec

%define javahome %{_jvmdir}/jdk
Name: java-lucene
Version: 9.9.2
Release: 1mamba
Summary: High-performance, full-featured text search engine
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_javadir}/lucene
%{_javadir}/lucene/*.jar
%doc LICENSE.txt
%changelog
* Sun Feb 04 2024 Automatic Build System <autodist@openmamba.org> 9.9.2-1mamba
- automatic update by autodist
* Mon Sep 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 9.7.0-1mamba
- update to 9.7.0
* Tue Mar 14 2023 Automatic Build System <autodist@mambasoft.it> 9.5.0-1mamba
- automatic update by autodist
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.8.1-1mamba
- update to 8.8.1
* Thu May 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.5.1-1mamba
- update to 8.5.1
* Tue Jan 18 2011 gil <puntogil@libero.it> 2.4.1-3mamba
- rebuilt with new java-bdb48
- rebuilt with java-openjdk
* Thu Mar 18 2010 gil <puntogil@libero.it> 2.4.1-2mamba
- added OSGi NANIFEST
* Thu Mar 12 2009 gil <puntogil@libero.it> 2.4.1-1mamba
- package created by autospec