Initial import

epel10
Rémi Lauzier 4 years ago
parent 19fbc06d34
commit 1baca191de
No known key found for this signature in database
GPG Key ID: D4B9ECD143336C1D

1
.gitignore vendored

@ -0,0 +1 @@
/alsa-0.5.0.crate

@ -0,0 +1,77 @@
# Generated by rust2rpm 17
# Deactivate tests because they need a sound card
# https://github.com/diwic/alsa-rs/issues/71
%bcond_with check
%global debug_package %{nil}
%global crate alsa
Name: rust-%{crate}
Version: 0.5.0
Release: 1%{?dist}
Summary: Thin but safe wrappers for ALSA (Linux sound API)
# Upstream license specification: Apache-2.0/MIT
# https://github.com/diwic/alsa-rs/issues/70
License: ASL 2.0 or MIT
URL: https://crates.io/crates/alsa
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Thin but safe wrappers for ALSA (Linux sound API).}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%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 "default" feature of "%{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
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Fri Jun 25 16:24:20 EDT 2021 Rémi Lauzier <remilauzier@protonmail.com> - 0.5.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (alsa-0.5.0.crate) = 95a57749b1c21418fe86c61b69a4fea73b0f43d42312ae6bb66ec4fe5bc8a255fd6adcfad5037b8b49361d62a1ae9efba03201daa17f2e05f0589beb66bc0160
Loading…
Cancel
Save