File milvus-lite.spec of Package milvus-lite

#
# spec file for package milvus-lite
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           milvus-lite
Version:        2.4.10
Release:        0
Summary:        lightweight version of Milvus
License:        Apache-2.0
URL:            https://github.com/milvus-io/milvus-lite
Source0:        milvus-lite-%{version}.tar
Patch0:         use-pkg_search_module.patch
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  SQLiteCpp-devel
BuildRequires:  libantlr4-runtime-devel
BuildRequires:  protobuf-devel
BuildRequires:  grpc-devel
BuildRequires:  upb-devel
BuildRequires:  tbb-devel
BuildRequires:  nlohmann_json-devel
BuildRequires:  boost-devel
BuildRequires:  folly-devel
BuildRequires:  fmt-devel
BuildRequires:       libboost_context-devel
BuildRequires:       libboost_filesystem-devel
BuildRequires:       libboost_program_options-devel
BuildRequires:       libboost_regex-devel
BuildRequires:       libboost_system-devel
BuildRequires:       libboost_thread-devel
BuildRequires:  opentelemetry-cpp-devel
BuildRequires:  glog-devel
BuildRequires:  apache-arrow-devel
BuildRequires:  prometheus-cpp-devel
BuildRequires:  marisa-devel
BuildRequires:  yaml-cpp-devel
BuildRequires:  google-cloud-cpp-devel
BuildRequires:  abseil-cpp-devel
BuildRequires:  aws-sdk-cpp-devel
BuildRequires:  aws-sdk-cpp
BuildRequires:  aws-sdk-cpp-libs

%description
Milvus Lite is the lightweight version of Milvus, a high-performance vector
database that powers AI applications with vector similarity search. This repo
contains the core components of Milvus Lite.
With Milvus Lite, you can start building an AI application with vector
similarity search within minutes!

%prep
%autosetup 

%build
%cmake
%cmake_build


%install
%cmake_install

%check
%make_build check

%files
%license COPYING
%doc ChangeLog README

%changelog
openSUSE Build Service is sponsored by