package created using the webbuild interface [release 0.6.7-1mamba;Thu Jan 03 2019]
This commit is contained in:
parent
25be2fa509
commit
8086e23f89
45
cbindgen.spec
Normal file
45
cbindgen.spec
Normal file
@ -0,0 +1,45 @@
|
||||
Name: cbindgen
|
||||
Version: 0.6.7
|
||||
Release: 1mamba
|
||||
Summary: A project for generating C bindings from Rust code
|
||||
Group: Applications/Development
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/eqrion/cbindgen
|
||||
## GITSOURCE https://github.com/eqrion/cbindgen.git v0.6.7
|
||||
Source: https://github.com/eqrion/cbindgen.git/v%{version}/cbindgen-%{version}.tar.bz2
|
||||
License: MPL 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: rust-bin
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
A project for generating C bindings from Rust code.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
cargo build --release
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -D -m0755 target/release/cbindgen %{buildroot}%{_bindir}/cbindgen
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/cbindgen
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Thu Jan 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.7-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user