From 888be421e8c1bfe897d435fe8043d6d57fdd49e1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:08:07 +0100 Subject: [PATCH] update to 8.11.2 legacy package [release 8.11.2-1mamba;Mon Sep 04 2023] --- README.md | 2 ++ java-lucene8.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 java-lucene8.spec diff --git a/README.md b/README.md index b0eb23b..6bf94b3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # java-lucene8 +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. + diff --git a/java-lucene8.spec b/java-lucene8.spec new file mode 100644 index 0000000..313b7c4 --- /dev/null +++ b/java-lucene8.spec @@ -0,0 +1,63 @@ +%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 +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 8.11.2-1mamba +- update to 8.11.2 +- legacy package + +* 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