diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9fcce9c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +intel-gmmlib-*.tar.gz diff --git a/intel-gmmlib.spec b/intel-gmmlib.spec new file mode 100644 index 0000000..2d1c71b --- /dev/null +++ b/intel-gmmlib.spec @@ -0,0 +1,168 @@ +%undefine __cmake_in_source_build + +Name: intel-gmmlib +Version: 21.3.5 +Release: 1%{?dist} +Summary: Intel Graphics Memory Management Library + +License: MIT and BSD +URL: https://github.com/intel/gmmlib +Source0: %{url}/archive/%{name}-%{version}.tar.gz + +# This package relies on intel asm +ExclusiveArch: x86_64 i686 + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ + +%description +The Intel Graphics Memory Management Library provides device specific +and buffer management for the Intel Graphics Compute Runtime for OpenCL +and the Intel Media Driver for VAAPI. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 -n gmmlib-intel-gmmlib-%{version} +# Fix license perm +chmod -x LICENSE.md README.rst +# Fix source code perm +find Source -name "*.cpp" -exec chmod -x {} ';' +find Source -name "*.h" -exec chmod -x {} ';' + + +%build +%cmake \ + -DRUN_TEST_SUITE:BOOL=False + +%cmake_build + + +%install +%cmake_install + + +%ldconfig_scriptlets + + +%files +%license LICENSE.md +%doc README.rst +%{_libdir}/libigdgmm.so.11* + +%files devel +%{_includedir}/igdgmm +%{_libdir}/libigdgmm.so +# We don't use the static library +%exclude %{_libdir}/libgmm_umd.a +%{_libdir}/pkgconfig/igdgmm.pc + + +%changelog +* Fri Dec 17 2021 Nicolas Chauvet - 21.3.5-1 +- Update to 21.3.5 + +* Fri Dec 10 2021 Nicolas Chauvet - 21.3.4-1 +- Update to 21.3.4 + +* Thu Nov 04 2021 Nicolas Chauvet - 21.3.2-1 +- Update to 21.3.2 + +* Sun Oct 03 2021 Nicolas Chauvet - 21.3.1-1 +- Update to 21.3.1 + +* Thu Jul 22 2021 Fedora Release Engineering - 21.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 29 2021 Nicolas Chauvet - 21.2.1-1 +- Update to 21.2.1 + +* Tue May 04 2021 Nicolas Chauvet - 21.1.3-1 +- Update to 21.1.3 + +* Mon Apr 26 2021 Nicolas Chauvet - 21.1.2-1 +- Update to 21.1.2 + +* Thu Apr 01 2021 Nicolas Chauvet - 21.1.1-1 +- Update to 21.1.1 + +* Tue Jan 26 2021 Fedora Release Engineering - 20.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Dec 30 2020 Nicolas Chauvet - 20.4.1-1 +- Update to 20.4.1 + +* Fri Oct 30 2020 Nicolas Chauvet - 20.3.3-1 +- Update to 20.3.3 + +* Fri Sep 25 2020 Nicolas Chauvet - 20.3.2-1 +- Update to 20.3.2 + +* Mon Sep 14 2020 Nicolas Chauvet - 20.3.1-1 +- Update to 20.3.1 + +* Sun Sep 13 2020 Nicolas Chauvet - 20.2.5-2 +- rebuilt + +* Tue Sep 01 2020 Nicolas Chauvet - 20.2.5-1 +- Update to 20.2.5 + +* Thu Aug 20 2020 Vasiliy N. Glazov - Update to 20.2.4-1 +- Update to 20.2.4 + +* Sat Aug 01 2020 Fedora Release Engineering - 20.2.3-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 20.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Nicolas Chauvet - 20.2.3-1 +- Update to 20.2.3 + +* Wed Jun 24 2020 Nicolas Chauvet - 20.2.2-1 +- Update to 20.2.2 + +* Thu Mar 26 2020 Nicolas Chauvet - 20.1.1-1 +- Update to 20.1.1 + +* Wed Jan 29 2020 Fedora Release Engineering - 19.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jan 09 2020 Nicolas Chauvet - 19.4.1-1 +- Update to 19.4.1 + +* Thu Dec 19 2019 Nicolas Chauvet - 19.3.4-1 +- Update to 19.3.4 + +* Thu Sep 19 2019 Nicolas Chauvet - 19.3.2-1 +- Update to 19.3.2 + +* Thu Jul 25 2019 Fedora Release Engineering - 19.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jul 05 2019 Nicolas Chauvet - 19.2.3-1 +- Update to 19.2.3 + +* Fri May 10 2019 Nicolas Chauvet - 19.1.2-1 +- Update to 19.1.2 + +* Sat Apr 06 2019 Nicolas Chauvet - 19.1.1-1 +- Update to 19.1.1 + +* Thu Feb 14 2019 Nicolas Chauvet - 18.4.1-1 +- Update to 18.4.1 + +* Fri Feb 01 2019 Fedora Release Engineering - 18.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Oct 08 2018 Nicolas Chauvet - 18.3.0-1 +- Initial spec file diff --git a/sources b/sources new file mode 100644 index 0000000..0ca3bce --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (intel-gmmlib-21.3.5.tar.gz) = 59922ced38983333a29c075cef5d28f02331c0e5a28ac556229e474e9a904a19d952d40daedfcca2365ab35212e0c14bf6db0087283ec5d0b932651c450178c4