diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-20 14:08:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-20 14:08:22 +0000 |
commit | 2f4517ce7a5826a6d5280d4affeee6a3ce5c3a28 (patch) | |
tree | 9e4e41c4be2619061be5325ee6d429fb0d1584b2 | |
parent | 2b10465eb2ffacbb597b9b63c5e8f4b7cf388e9c (diff) |
automatic import of opensearch
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | opensearch.spec | 36 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 38 insertions, 0 deletions
@@ -0,0 +1 @@ +/2.16.0.tar.gz diff --git a/opensearch.spec b/opensearch.spec new file mode 100644 index 0000000..8ba88ec --- /dev/null +++ b/opensearch.spec @@ -0,0 +1,36 @@ +Summary: Open source distributed and RESTful search engine +Name: opensearch +Version: 2.16.0 +Release: 1 +License: Apache-2.0 +URL: https://opensearch.org/docs/opensearch/index/ + +Source0: https://github.com/opensearch-project/OpenSearch/archive/refs/tags/%{version}.tar.gz + +BuildRequires: (java-devel without java-1.8.0-devel) + +%description +Open source distributed and RESTful search engine. + +%prep +%autosetup -p1 -n OpenSearch-%{version} + +%build +export GRADLE_OPTS="-Dbuild.snapshot=false -Dorg.gradle.jvmargs=-Xmx8192M" +echo "======================== Building OpenSearch ==========================" + +# OpenSearch +./gradlew :distribution:buildSystemdModule +./gradlew :distribution:archives:no-jdk-linux-tar:build + +%install +install -d %{buildroot}%{_datadir}/opensearch +install -d %{buildroot}/var/lib/opensearch +install -d %{buildroot}/var/log/opensearch +install -d %{buildroot}%{_bindir} + +%files + +%changelog +* Tue Aug 20 2024 Funda Wang <fundawang@yeah.net> - 2.16.0-1 +- Package init @@ -0,0 +1 @@ +04c2b3a86fdcf47f3f3abeaac08de197 2.16.0.tar.gz |