File tree Expand file tree Collapse file tree
anda/tools/framework-system Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ project pkg {
2+ arches = [" x86_64" ]
3+ rpm {
4+ spec = " framework-system.spec"
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ Name: framework-system
2+ Version: 0.4.5
3+ Release: 1%?dist
4+ Summary: Rust libraries and tools to interact with the Framework Computer systems
5+ URL: https://github.com/FrameworkComputer/framework-system
6+ Source0: %{url }/archive/refs/tags/v%{version }.tar.gz
7+ License: BSD-3-Clause
8+ BuildRequires: anda-srpm-macros
9+ BuildRequires: cargo-rpm-macros
10+ BuildRequires: mold
11+ BuildRequires: rust-udev-devel
12+ BuildRequires: rust
13+ BuildRequires: systemd-devel
14+ BuildRequires: hidapi-devel
15+ Requires: rustup
16+ Provides: framework_tool
17+ ExclusiveArch: x86_64
18+
19+ Packager: Owen Zimmerman < owen@fyralabs.com>
20+
21+ %description
22+ %{summary }.
23+
24+ %pkg_completion -bz framework_tool
25+
26+ %prep
27+ %autosetup -n framework-system-%{version }
28+ %cargo_prep_online
29+
30+ %build
31+ %cargo_build
32+
33+ %install
34+ install -Dm755 target/rpm/framework_tool %{buildroot }%{_bindir }/framework_tool
35+ install -Dm 644 completions/bash/framework_tool %{buildroot }%{bash_completions_dir }/framework_tool.bash
36+ install -Dm 644 completions/zsh/_framework_tool %{buildroot }%{zsh_completions_dir }/_framework_tool
37+ %{cargo_license_online } > LICENSE.dependencies
38+
39+ %files
40+ %doc EXAMPLES.md EXAMPLES_ADVANCED.md README.md support-matrices.md
41+ %license LICENSE.md
42+ %license LICENSE.dependencies
43+ %{_bindir }/framework_tool
44+
45+ %changelog
46+ * Tue Dec 23 2025 Owen Zimmerman <owen@fyralabs.com>
47+ - Initial commit
Original file line number Diff line number Diff line change 1+ rpm.version(gh("FrameworkComputer/framework-system"));
You can’t perform that action at this time.
0 commit comments