Sync from SUSE:SLFO:Main igsc revision 17bb636f43188e48673f0e311c07cc9b

This commit is contained in:
2025-04-17 00:16:29 +02:00
commit 4137df75b1
5 changed files with 131 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
-------------------------------------------------------------------
Mon Mar 17 09:33:08 UTC 2025 - Patrik Jakobsson <patrik.jakobsson@suse.com>
- Rename the tarball to %{name}-%{version}.tar.gz
-------------------------------------------------------------------
Fri Mar 14 10:06:22 UTC 2025 - Patrik Jakobsson <patrik.jakobsson@suse.com>
- 0001-Use-CMAKE_INSTALL_LIBDIR-when-installing-cmake-files.patch
* Make cmake files to be installed in correct libdir
-------------------------------------------------------------------
Fri Mar 14 08:52:18 UTC 2025 - Patrik Jakobsson <patrik.jakobsson@suse.com>
- Initial creation of the package at version v0.9.5
+64
View File
@@ -0,0 +1,64 @@
#
# spec file for package intel-metee
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: igsc
Version: 0.9.5
Release: 0
Summary: Intel Graphics System Controller Firmware Update Utility
License: Apache-2.0
URL: https://github.com/intel/igsc
Source: https://github.com/intel/igsc/archive/refs/tags/V%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: 0001-Use-CMAKE_INSTALL_LIBDIR-when-installing-cmake-files.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: intel-metee-devel
BuildRequires: systemd-devel
%description
Intel Graphics System Controller (igsc) Firmware Update Utility and
library.
%package devel
Summary: Headers and cmake files for the igsc library
%description devel
Headers and cmake files for the igsc library.
%prep
%autosetup -p1
%build
%cmake
%cmake_build
%install
%cmake_install
%ldconfig_scriptlets
%files
%{_bindir}/igsc
%{_libdir}/libigsc.so.0*
%files devel
%{_includedir}/igsc_lib.h
%{_libdir}/cmake/igsc/
%{_libdir}/libigsc.so
%changelog
+23
View File
@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
@@ -0,0 +1,26 @@
From 4492de33209fb947c35b8e062fa537212290caed Mon Sep 17 00:00:00 2001
From: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Date: Fri, 14 Mar 2025 11:03:16 +0100
Subject: [PATCH] Use CMAKE_INSTALL_LIBDIR when installing cmake files
Signed-off-by: Patrik Jakobsson <pjakobsson@suse.de>
---
lib/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 3672c35de9e9..45e49060c77a 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -86,7 +86,7 @@ configure_file(cmake/${PROJECT_NAME}Config.cmake
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}Config.cmake"
COPYONLY
)
-set(ConfigPackageLocation lib/cmake/${PROJECT_NAME})
+set(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
install(EXPORT ${PROJECT_NAME}Targets
FILE ${PROJECT_NAME}Targets.cmake
NAMESPACE ${PROJECT_NAME}::
--
2.48.1
BIN
View File
Binary file not shown.