2024-01-06 00:07:39 +01:00
|
|
|
%define javahome %{_jvmdir}/jdk
|
|
|
|
Name: java-lucene
|
2024-01-06 00:07:41 +01:00
|
|
|
Version: 8.8.1
|
2024-01-06 00:07:39 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 00:07:39 +01:00
|
|
|
Summary: High-performance, full-featured text search engine
|
|
|
|
Group: Applications/Networking
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 00:07:41 +01:00
|
|
|
URL: https://lucene.apache.org/
|
2024-01-06 00:07:39 +01:00
|
|
|
Source0: https://downloads.apache.org/lucene/java/%{version}/lucene-%{version}.tgz
|
2024-01-06 00:07:39 +01:00
|
|
|
License: Apache Software License 2.0
|
2024-01-06 00:07:39 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 00:07:41 +01:00
|
|
|
BuildRequires: javapackages
|
|
|
|
Provides: java-lucene-contrib
|
|
|
|
Obsoletes: java-lucene-contrib < 8.8.1
|
|
|
|
Provides: java-lucene-demo
|
|
|
|
Obsoletes: java-lucene-demo < 8.8.1
|
2024-01-06 00:07:39 +01:00
|
|
|
|
|
|
|
%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}"
|
|
|
|
|
2024-01-06 00:07:41 +01:00
|
|
|
mkdir -p %{buildroot}%{_javadir}/lucene
|
2024-01-06 00:07:39 +01:00
|
|
|
|
2024-01-06 00:07:41 +01:00
|
|
|
find . -type f -name '*.jar' -exec cp {} %{buildroot}%{_datadir}/java/lucene \;
|
2024-01-06 00:07:39 +01:00
|
|
|
|
2024-01-06 00:07:41 +01:00
|
|
|
ln -sf lucene-core-%{version}.jar %{buildroot}%{_javadir}/lucene/lucene.jar
|
|
|
|
ln -sf lucene-core-%{version}.jar %{buildroot}%{_javadir}/lucene/lucene-%{version}.jar
|
2024-01-06 00:07:39 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 00:07:41 +01:00
|
|
|
%dir %{_javadir}/lucene
|
|
|
|
%{_javadir}/lucene/*.jar
|
2024-01-06 00:07:39 +01:00
|
|
|
%doc LICENSE.txt
|
2024-01-06 00:07:39 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:07:41 +01:00
|
|
|
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.8.1-1mamba
|
|
|
|
- update to 8.8.1
|
|
|
|
|
2024-01-06 00:07:39 +01:00
|
|
|
* Thu May 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.5.1-1mamba
|
|
|
|
- update to 8.5.1
|
|
|
|
|
2024-01-06 00:07:39 +01:00
|
|
|
* 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
|