-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
infinitebash
authored
Jan 3, 2024
1 parent
1a138c9
commit 4c8d054
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
project pkg { | ||
rpm { | ||
spec = "avstplg.spec" | ||
} | ||
labels { | ||
nightly = "1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
%global commit 999b25e3f0d7d7d7dbe4eb2496953d08779c2bff | ||
%global shortcommit %(c=%{commit}; echo ${c:0:7}) | ||
%global debug_package %{nil} | ||
%define __os_install_post %{nil} | ||
|
||
Name: avstplg | ||
Version: %shortcommit | ||
Release: 1%{?dist} | ||
|
||
License: Apache-2.0 | ||
Summary: Set of tools designed to help develop and debug software and firmware on Intel platforms with AudioDSP onboard. | ||
URL: https://github.com/thesofproject/avsdk | ||
Source0: https://github.com/thesofproject/avsdk/archive/%commit/avsdk-%commit.tar.gz | ||
|
||
Requires: dotnet-runtime-6.0 | ||
BuildRequires: dotnet-sdk-6.0 make | ||
|
||
%description | ||
Set of tools designed to help develop and debug software and firmware on Intel platforms with AudioDSP onboard. | ||
|
||
Related to alsa-utils which is also set of utilities but targets AdvancedLinuxSoundArchitecture (ALSA) audience in more general fashion. | ||
|
||
%prep | ||
%autosetup -n avsdk-%commit | ||
cd avstplg | ||
sed -i 's/Debug/Release/' Makefile | ||
|
||
%build | ||
cd avstplg | ||
%make_build | ||
|
||
%install | ||
install -Dm755 avstplg/build/bin/Release/net6.0/publish/avstplg %{buildroot}/%{_bindir}/avstplg | ||
install -Dm755 avstplg/build/bin/Release/net6.0/avstplg.dll %{buildroot}/%{_libdir}/avstplg.dll | ||
|
||
%files | ||
%doc README.md | ||
%license LICENSE | ||
%_bindir/avstplg | ||
%_libdir/avstplg.dll | ||
|
||
%changelog | ||
* Tue Jan 2 2024 infinitebash <[email protected]> | ||
- Initial package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rpm.version(gh("thesofproject/avsdk")); |