diff --git a/ocf.spec b/ocf.spec new file mode 100644 index 0000000..e727861 --- /dev/null +++ b/ocf.spec @@ -0,0 +1,39 @@ +Name: ocf +Version: 21.6.3.1 +Release: 1 +Summary: high performance block storage caching meta-library written in C +License: BSD-3-Clause +URL: https://github.com/Open-CAS/ocf + +Source0: https://github.com/Open-CAS/ocf/archive/refs/tags/v21.6.3.1.tar.gz + +%description +Open CAS Framework (OCF) is high performance block storage caching +meta-library written in C. It's entirely platform and system +independent, accessing system API through user provided environment +wrappers layer. OCF tightly integrates with the rest of software stack, +providing flawless, high performance, low latency caching utility. + +%package devel +Summary: source code package +BuildArch: noarch + +%description devel +This package contains source code of OCF and can be futher intergrated +to project to accelerate low performance block storage with high +performance block storage. + +%prep +%autosetup -n %{name}-%{version} -p1 + +%install +install -d $RPM_BUILD_ROOT/usr/src/%{name}-%{version} +cp -a * $RPM_BUILD_ROOT/usr/src/%{name}-%{version} + +%files devel +%dir /usr/src +/usr/src/%{name}-%{version}/ + +%changelog +* Thu Dec 29 2022 shikemeng - 21.6.3.1-1 +- Initialize OCF to 21.6.3.1 diff --git a/v21.6.3.1.tar.gz b/v21.6.3.1.tar.gz new file mode 100644 index 0000000..0bceb97 Binary files /dev/null and b/v21.6.3.1.tar.gz differ