forked from vitalif/vitastor
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
Plaintext
Name: vitastor
|
|
Version: 0.5.13
|
|
Release: 1%{?dist}
|
|
Summary: Vitastor, a fast software-defined clustered block storage
|
|
|
|
License: Vitastor Network Public License 1.1
|
|
URL: https://vitastor.io/
|
|
Source0: vitastor-0.5.13.el8.tar.gz
|
|
|
|
BuildRequires: liburing-devel >= 0.6
|
|
BuildRequires: gperftools-devel
|
|
BuildRequires: gcc-toolset-9-gcc-c++
|
|
BuildRequires: nodejs >= 10
|
|
BuildRequires: jerasure-devel
|
|
BuildRequires: gf-complete-devel
|
|
BuildRequires: cmake
|
|
Requires: fio = 3.7-3.el8
|
|
Requires: qemu-kvm = 4.2.0-29.el8.6
|
|
Requires: nodejs >= 10
|
|
Requires: liburing >= 0.6
|
|
Requires: libJerasure2
|
|
Requires: lpsolve
|
|
|
|
%description
|
|
Vitastor is a small, simple and fast clustered block storage (storage for VM drives),
|
|
architecturally similar to Ceph which means strong consistency, primary-replication,
|
|
symmetric clustering and automatic data distribution over any number of drives of any
|
|
size with configurable redundancy (replication or erasure codes/XOR).
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
. /opt/rh/gcc-toolset-9/enable
|
|
%cmake . -DQEMU_PLUGINDIR=qemu-kvm
|
|
%make_build
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%make_install
|
|
cd mon
|
|
npm install
|
|
cd ..
|
|
mkdir -p %buildroot/usr/lib/vitastor
|
|
cp -r mon %buildroot/usr/lib/vitastor
|
|
|
|
|
|
%files
|
|
%doc
|
|
%_bindir/vitastor-dump-journal
|
|
%_bindir/vitastor-nbd
|
|
%_bindir/vitastor-osd
|
|
%_bindir/vitastor-rm
|
|
%_libdir/qemu-kvm/block-vitastor.so
|
|
%_libdir/libfio_vitastor.so
|
|
%_libdir/libfio_vitastor_blk.so
|
|
%_libdir/libfio_vitastor_sec.so
|
|
%_libdir/libvitastor_blk.so
|
|
%_libdir/libvitastor_client.so
|
|
/usr/lib/vitastor
|
|
|
|
|
|
%changelog
|