forked from asmigala/fedora-spec
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
4 changed files
with
96 additions
and
1 deletion.
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
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,43 @@ | ||
# Tag: Tool | ||
# Type: Devel, Plugin, CLAP | ||
# Category: Tool | ||
|
||
Summary: An automatic CLAP validation and testing tool | ||
Name: clap-validator | ||
Version: 0.3.2 | ||
Release: 1%{?dist} | ||
License: MIT | ||
URL: https://github.com/free-audio/clap-validator | ||
|
||
Vendor: Audinux | ||
Distribution: Audinux | ||
|
||
Source0: https://github.com/free-audio/clap-validator/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz | ||
|
||
BuildRequires: gcc gcc-c++ | ||
BuildRequires: cmake | ||
|
||
%description | ||
A validator and automatic test suite for CLAP plugins. | ||
Clap-validator can automatically test one or more plugins for | ||
common bugs and incorrect behavior. | ||
|
||
%prep | ||
%autosetup -n %{name}-%{version} | ||
|
||
%build | ||
|
||
%cmake | ||
%cmake_build | ||
|
||
%install | ||
%cmake_install | ||
|
||
%files | ||
%doc README.md | ||
%license LICENSE | ||
%{_bindir}/* | ||
|
||
%changelog | ||
* Mon Jan 22 2024 Yann Collette <ycollette dot nospam at free.fr> 0.3.2-1 | ||
- initial release |
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,45 @@ | ||
# Tag: Tool | ||
# Type: Devel, Plugin, CLAP | ||
# Category: Tool | ||
|
||
Summary: An automatic CLAP validation and testing tool | ||
Name: clap-validator | ||
Version: 0.3.2 | ||
Release: 1%{?dist} | ||
License: MIT | ||
URL: https://github.com/free-audio/clap-validator | ||
|
||
Vendor: Audinux | ||
Distribution: Audinux | ||
|
||
Source0: https://github.com/free-audio/clap-validator/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz | ||
|
||
BuildRequires: rust cargo | ||
|
||
%description | ||
A validator and automatic test suite for CLAP plugins. | ||
Clap-validator can automatically test one or more plugins for common bugs and incorrect behavior. | ||
|
||
%prep | ||
%autosetup -n %{name}-%{version} | ||
|
||
%build | ||
|
||
export RUSTFLAGS="-g -O" | ||
export RUST_BACKTRACE=1 | ||
|
||
cargo build --release | ||
|
||
%install | ||
|
||
install -m 755 -d %{buildroot}/%{_bindir}/ | ||
cp target/release/clap-validator %{buildroot}/%{_bindir}/ | ||
|
||
%files | ||
%doc README.md | ||
%license LICENSE | ||
%{_bindir}/* | ||
|
||
%changelog | ||
* Mon Jan 22 2024 Yann Collette <ycollette dot nospam at free.fr> 0.3.2-1 | ||
- initial release |
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