64 lines
1.9 KiB
RPMSpec
64 lines
1.9 KiB
RPMSpec
%define javahome %{_jvmdir}/jdk
|
|
Name: java-lucene8
|
|
Version: 8.11.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
|
|
|
|
%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
|
|
* Mon Sep 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 8.11.2-1mamba
|
|
- update to 8.11.2
|
|
- legacy package
|
|
|
|
* 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
|