From 40b1a3c0711d7316590ae5fd4c28c6d980dc1ced Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 09:52:58 -0400 Subject: [PATCH] import libocxl-1.1.0-1.el8 --- .gitignore | 1 + .libocxl.metadata | 1 + SPECS/libocxl.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 .gitignore create mode 100644 .libocxl.metadata create mode 100644 SPECS/libocxl.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..faa672c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/1.1.0.tar.gz diff --git a/.libocxl.metadata b/.libocxl.metadata new file mode 100644 index 0000000..5023212 --- /dev/null +++ b/.libocxl.metadata @@ -0,0 +1 @@ +88b7c45599022bcfb0f427ef0053c6031efa8431 SOURCES/1.1.0.tar.gz diff --git a/SPECS/libocxl.spec b/SPECS/libocxl.spec new file mode 100644 index 0000000..9167118 --- /dev/null +++ b/SPECS/libocxl.spec @@ -0,0 +1,68 @@ +Name: libocxl +Version: 1.1.0 +Release: 1%{?dist} +Summary: Allows to implement a user-space driver for an OpenCAPI accelerator + +License: ASL 2.0 +URL: https://github.com/OpenCAPI/libocxl +Source0: https://github.com/OpenCAPI/libocxl/archive/%{version}.tar.gz + +ExclusiveArch: ppc64le + +BuildRequires: gcc +BuildRequires: doxygen + +%description +Access library which allows to implement a user-space +driver for an OpenCAPI accelerator. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Recommends: %{name}-docs + +%package docs +Summary: Documentation files for %{name} +BuildArch: noarch + +%description devel +The *-devel package contains header file and man pages for +developing applications that use %{name}. + +%description docs +The *-docs package contains doxygen pages for +developing applications that use %{name}. + +%prep +%autosetup -p1 + +%build +LDFLAGS="%{build_ldflags}" CFLAGS="%{build_cflags}" make %{?_smp_mflags} V=1 + +%install +%make_install PREFIX=%{_prefix} + +%files +%license COPYING +%doc README.md +%{_libdir}/libocxl.so.* + +%files devel +%{_includedir}/* +%{_libdir}/libocxl.so +%{_mandir}/man3/* + +%files docs +%{_pkgdocdir} + +%changelog +* Mon Oct 08 2018 Dan Horák 1.1.0-1 +- updated to 1.1.0 +- Resolves: #1624645 + +* Thu Jun 07 2018 Dan Horák - 1.0.0-1 +- updated to 1.0.0 final + +* Tue Apr 10 2018 michel normand 1.0.0-0.1 +- new package and spec file of libocxl from upstream + url: https://github.com/OpenCAPI/libocxl