From 1757c5d141d8b6fd39534812cb3aa2652c26442f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:55:35 +0100 Subject: [PATCH] package created using the webbuild interface [release 22.3.5-1mamba;Sun Jun 04 2023] --- README.md | 2 ++ intel-gmmlib.spec | 73 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 intel-gmmlib.spec diff --git a/README.md b/README.md index dd20932..59da372 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # intel-gmmlib +The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) Graphics Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI. + diff --git a/intel-gmmlib.spec b/intel-gmmlib.spec new file mode 100644 index 0000000..01b5bdf --- /dev/null +++ b/intel-gmmlib.spec @@ -0,0 +1,73 @@ +Name: intel-gmmlib +Version: 22.3.5 +Release: 1mamba +Summary: Library for the Intel(R) Graphics Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/intel/gmmlib +Source: https://github.com/intel/gmmlib.git/intel-gmmlib-%{version}/gmmlib-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: libigdgmm = %{?epoch:%epoch:}%{version}-%{release} + +%description +The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) Graphics Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI. + +%package -n libigdgmm +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n libigdgmm +This package contains shared libraries for %{name}. + +%package -n libigdgmm-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: libigdgmm = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n libigdgmm-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q -n gmmlib-%{version} + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n libigdgmm -p /sbin/ldconfig +%postun -n libigdgmm -p /sbin/ldconfig + +%files -n libigdgmm +%defattr(-,root,root) +%{_libdir}/libigdgmm.so.* +%doc LICENSE.md + +%files -n libigdgmm-devel +%defattr(-,root,root) +%dir %{_includedir}/igdgmm/ +%{_includedir}/igdgmm/* +%{_libdir}/libigdgmm.so +%{_libdir}/pkgconfig/igdgmm.pc +%doc README.rst + +%changelog +* Sun Jun 04 2023 Silvan Calarco 22.3.5-1mamba +- package created using the webbuild interface