Initial import (#1563680)
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
9e278fe9e8
commit
b5f256cee7
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/1.0.0-beta2.tar.gz
|
61
libocxl.spec
Normal file
61
libocxl.spec
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
Name: libocxl
|
||||||
|
Version: 1.0.0
|
||||||
|
Release: 0.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}-beta2.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 -n %{name}-%{version}-beta2
|
||||||
|
|
||||||
|
%build
|
||||||
|
LDFLAGS="%{__global_ldflags}" CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" 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
|
||||||
|
* Tue Apr 10 2018 michel normand <normand@linux.vnet.ibm.com> 1.0.0-0.1
|
||||||
|
- new package and spec file of libocxl from upstream
|
||||||
|
url: https://github.com/OpenCAPI/libocxl
|
Loading…
Reference in New Issue
Block a user