package created using the webbuild interface [release 0.63.0-1mamba;Tue Dec 27 2022]
This commit is contained in:
parent
d9598fb03a
commit
46b0efd810
@ -1,2 +1,4 @@
|
||||
# rust-bindgen
|
||||
|
||||
Automatically generates Rust FFI bindings to C (and some C++) libraries.
|
||||
|
||||
|
43
rust-bindgen.spec
Normal file
43
rust-bindgen.spec
Normal file
@ -0,0 +1,43 @@
|
||||
Name: rust-bindgen
|
||||
Version: 0.63.0
|
||||
Release: 1mamba
|
||||
Summary: Automatically generates Rust FFI bindings to C (and some C++) libraries
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/rust-lang/rust-bindgen
|
||||
Source: https://github.com/rust-lang/rust-bindgen.git/v%{version}/rust-bindgen-%{version}.tar.bz2
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
Automatically generates Rust FFI bindings to C (and some C++) libraries.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cargo fetch --locked --target "%{_target_cpu}-unknown-linux-gnu"
|
||||
|
||||
%build
|
||||
cargo build --release --frozen
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -D -m0755 target/release/bindgen %{buildroot}%{_bindir}/bindgen
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/bindgen
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Tue Dec 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.63.0-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user