dump_syms/dump_syms.spec

48 lines
1.2 KiB
RPMSpec

Name: dump_syms
Version: 0.0.7
Release: 1mamba
Summary: Rewrite of breakpad dump_syms tools in Rust
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/mozilla/dump_syms
Source: https://github.com/mozilla/dump_syms.git/v%{version}/dump_syms-%{version}.tar.bz2
License: Apache License 2.0, MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libgcc
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: rustc
%description
Rewrite of breakpad dump_syms tools in Rust.
%debug_package
%prep
%setup -q
%build
env CARGO_INCREMENTAL=0 cargo build --release --locked
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 target/release/dump_syms %{buildroot}%{_bindir}/dump_syms
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/dump_syms
%doc LICENSE-APACHE LICENSE-MIT
%changelog
* Tue Aug 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.7-1mamba
- package created using the webbuild interface