mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 905764c5db)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "binsider.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
Name: binsider
|
||||
Version: 0.2.1
|
||||
Release: 1%?dist
|
||||
Summary: Analyze ELF binaries like a boss 😼🕵️♂️
|
||||
License: Apache-2.0 AND MIT
|
||||
URL: https://github.com/orhun/binsider
|
||||
Source0: %url/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: cargo-rpm-macros
|
||||
BuildRequires: gcc
|
||||
BuildRequires: cargo
|
||||
BuildRequires: mold
|
||||
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
%description
|
||||
Binsider can perform static and dynamic analysis, inspect strings, examine
|
||||
linked libraries, and perform hexdumps, within a terminal user interface.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
install -Dm 755 target/rpm/binsider %{buildroot}%{_bindir}/binsider
|
||||
%cargo_license_summary_online
|
||||
%{cargo_license_online -a} > LICENSE.dependencies
|
||||
|
||||
%files
|
||||
%doc README.md CONTRIBUTING.md CHANGELOG.md CODE_OF_CONDUCT.md RELEASE.md SECURITY.md
|
||||
%license LICENSE-APACHE LICENSE-MIT
|
||||
%license LICENSE.dependencies
|
||||
%{_bindir}/binsider
|
||||
|
||||
%changelog
|
||||
* Thu Nov 13 2025 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Initial commit
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("orhun/binsider"));
|
||||
Reference in New Issue
Block a user