parent
76840d7a7c
commit
3379a52d8f
@ -1 +0,0 @@
|
|||||||
/alsa-sys-0.3.1.crate
|
|
@ -1,2 +0,0 @@
|
|||||||
* Fri Jun 25 2021 Rémi Lauzier <remilauzier@protonmail.com> - 0.3.1-1
|
|
||||||
- Initial package
|
|
@ -0,0 +1 @@
|
|||||||
|
no longer needed
|
@ -1,75 +0,0 @@
|
|||||||
# Generated by rust2rpm 20
|
|
||||||
# Deactivate tests because of missing function
|
|
||||||
# https://github.com/diwic/alsa-sys/issues/8
|
|
||||||
%bcond_with check
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
%global crate alsa-sys
|
|
||||||
|
|
||||||
Name: rust-%{crate}
|
|
||||||
Version: 0.3.1
|
|
||||||
Release: %autorelease
|
|
||||||
Summary: FFI bindings for the ALSA project (Advanced Linux Sound Architecture)
|
|
||||||
|
|
||||||
# Upstream license specification: MIT
|
|
||||||
License: MIT
|
|
||||||
URL: https://crates.io/crates/alsa-sys
|
|
||||||
Source: %{crates_source}
|
|
||||||
|
|
||||||
ExclusiveArch: %{rust_arches}
|
|
||||||
|
|
||||||
BuildRequires: rust-packaging
|
|
||||||
|
|
||||||
%global _description %{expand:
|
|
||||||
FFI bindings for the ALSA project (Advanced Linux Sound Architecture).}
|
|
||||||
|
|
||||||
%description %{_description}
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
Requires: alsa-lib-devel
|
|
||||||
|
|
||||||
%description devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
|
||||||
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
||||||
|
|
||||||
%package -n %{name}+default-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+default-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "default" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+default-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
||||||
%cargo_prep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%cargo_generate_buildrequires
|
|
||||||
echo "alsa-lib-devel"
|
|
||||||
|
|
||||||
%build
|
|
||||||
%cargo_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%cargo_install
|
|
||||||
|
|
||||||
%if %{with check}
|
|
||||||
%check
|
|
||||||
%cargo_test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
Loading…
Reference in new issue